最新文章列表

Mule ESB 开发实例WebService Consumer 与DataMapper的使用

Mule ESB 开发实现WebService Consumer 与DataMapper的使用 1、简介 以下是一个简单的通过http传递参数,调用远程WebService 组件并将查询结果转换为JSON到http页 ...
teabo 评论(2) 有2168人浏览 2015-03-06 14:10

数据源架构模式之数据映射器

前面分别介绍了数据源架构模式之表数据入口、数据源架构模式之行和数据入口数据源架构模式之活动记录,相较于这三种数据源架构模式,数据映射 ...
home198979 评论(0) 有3597人浏览 2014-08-11 09:47

DataMapper : 解决创建关联类时,id为nil

require 'rubygems' require 'data_mapper' DataMapper.setup :default, "mysql://root:123456@localhost/cc" class Url include DataMapper::Resource property :id, Serial property ...
michael_roshen 评论(0) 有580人浏览 2013-04-16 19:28

DataMapper : one-to-many

require 'rubygems' require 'dm-core' require 'dm-migrations' #'mysql://user:password@hostname/database' DataMapper.setup :default, "mysql://root:123456@localhost/cc" class User ...
michael_roshen 评论(0) 有555人浏览 2013-04-15 17:10

Getting started with DataMapper

Getting started with DataMapper     官网:http://datamapper.org/getting-started.html   gem install dm-core   gem install dm-mysql-adapter   gem install data_mapper   require 'rubygems' requi ...
michael_roshen 评论(0) 有745人浏览 2013-04-15 15:55

Ibatis源码解读--Commons

一.简介     IbatisNet一下简称Ibatis包括DataAccess和DataMapper两部分。整个Solution包括三个主项目:     IBatisNet.Common     IBatisNet.DataAccess     IBatisNet.DataMapper     和一个辅助项目:IBatisNet.Common.Logging.Log4Net。     Common ...
wang4674890 评论(0) 有1208人浏览 2011-11-04 09:21

iBatis查询API

转载:http://sarin.iteye.com/blog/726029   iBatis并不是真正意义上的ORM,官方文档中称其为dataMapper,是数据映射器,也就是一种映射查询工具。iBatis不是万能的,在某些它不能处理的问题时,不能放弃使用JDBC API,那才是根本中的根本。     在iBatis中,建议使用JavaBean,因为我们是面向对象的设计,那么在系统设计时肯 ...
温柔的羊 评论(0) 有1822人浏览 2011-05-29 12:34

iBATIS cacheModel 缓存

http://ibatis.apache.org/docs/dotnet/datamapper/ch03s08.html 利用 iBatis 缓存: http://zxjava.iteye.com/blog/246836 ibatis 缓存机制初探: http://yjhexy.iteye.com/blog/445235 ibatis缓存: http://huayongsheng.itey ...
Wuaner 评论(0) 有1296人浏览 2011-04-07 14:29

ibatis批量插入数据-iterate标签详解及应用

我们都知道mysql支持:   insert into tb_name(col1, col2, col3) values (col1_v, col2_v, col3_v), (col1_v, col2_v, col3_v), ...  这样批量插入多条数据, 使用场景是, 当初始化某用户的数据库信息时. 比如现在, 我们有一个产品激活才能使用,并且激活才 ...
patternhe 评论(0) 有40049人浏览 2011-03-13 18:45

生成和定制Rails生成器和模板 Creating and Customizing Rails Generators & Templates

本文英文原文来自: http://edgeguides.rubyonrails.org/generators.html 花了两个小时左右将这篇文章译为中文,因为有一些词不是很明确,作为刚刚学习Ruby on Rails的人,只好求大家帮忙在回复里面修改了。 Creating and Customizing Rails Generators & Templates 生成和定制Rails生成器和 ...
tjzzy 评论(0) 有2220人浏览 2011-02-28 23:11

ci datamapper 多数据库连接

 首先在database.php添加一组数据配置。。。   然后在模型中直接调用就行。。 如下图:
biaowen 评论(0) 有1181人浏览 2011-02-17 15:02

Hibernate与IBatis的优缺点及可行性分析

1.IBatis    优点     简单:     易于学习,易于使用,通过文档和源代码,可以比较完全的掌握它的设计思路和实现。     实用:     提供了数据映射功能,提供了对底层数据访问的封装(例如ado.net),提供了dao框架,可以使我们更容易的开发和配置我们的dal层。     灵活:     通过sql基本上可以实现我们不使用数据访问框架可以实现的所有功能,或许更多。 ...
cuijiemin 评论(1) 有1285人浏览 2011-01-27 13:15

ibatis 动态sql(Dynamic SQL)

  springside2allOne中ibatis只用几个孤零的ibatis的dao封装,没看到什么demo。   官网http://wiki.springside.org.cn/display/springside/iBatis的说明也很简略。在Springside中使用ibatis,参考这里,http://leondu.iteye.com/blog/54694。   IBatisGeneric ...
yizhilong28 评论(0) 有1661人浏览 2010-12-21 16:00

.NET开源项目介绍及资源推荐:数据持久层 (微软MVP写作)

出处:http://www.cnblogs.com/Terrylee/archive/2006/12/02/opensource_framework_and_resource_recommendation_orm.html 在.NET平台下,关于数据持久层框架非常多,本文主要对如下几种做简要的介绍并推荐一些学习的资源: 1.NHibernate 2.NBear 3.Castle A ...
izuoyan 评论(0) 有968人浏览 2008-05-31 08:15

网站速度优化模块HttpCompressionModule

为了优化网站的访问速度,准备采用HttpCompressionModule 6对传输数据进行压缩,下载了HttpCompressionModule 6 , 并按照示例程序中的web.config配置了网站的web.config。 <?xml version="1.0" encoding="utf-8" ?><configuration& ...
ihuashao 评论(0) 有767人浏览 2007-08-23 12:43

iBatisNet入门示例源码详解

下载ibatis软件包(http://ibatis.apache.org/dotnetdownloads.html)。 2. 创建测试数据库,并在数据库中创建一个Person 表,其中包含三个字段: NameTypeSize PER_IDLongInteger4 not null PER_FIRST_NAMEnvarchar40 not null PER_LAST_NAMEnvarcha ...
izuoyan 评论(0) 有1316人浏览 2007-08-17 15:41

ibatis入门介绍

IbatisNet(以下简称Ibatis)包括DataAccess和DataMapper两部分。整个Solution包括三个主项目: IBatisNet.CommonIBatisNet.DataAccessIBatisNet.DataMapper 和一个辅助项目:IBatisNet.Common.Logging.Log4Net。 Common项目是DataAccess和DataMapper的公 ...
izuoyan 评论(0) 有850人浏览 2007-08-17 15:20

IBatis详细使用例子

IBatis详细使用例子 1、认识配置文件 SqlMap.config: <!--DWLayoutTable--> ...
wapysun 评论(0) 有973人浏览 2007-01-22 19:41

已经测试过的数据库驱动for .NET DataMapper (IBatisNet),为什么不支持.net2.0?

今天在网上看了一下IBatisNet for .net,和java中的ibatis同出Apache,基本原理与配置类似。自己晚上写了一个Sample,用的是DataMapper 1.3,开发工具是 vs2005, 运行环境是.net2.0。 运行,倒!报错: [SqlException (0x80131904): 用户 'sa' 登录失败。] System.Data.Provider ...
ruilin215 评论(0) 有1238人浏览 2006-05-04 23:02

已经测试过的数据库驱动for .NET DataMapper (IBatisNet),为什么不支持.net2.0?

今天在网上看了一下IBatisNet for .net,和java中的ibatis同出Apache,基本原理与配置类似。自己晚上写了一个Sample,用的是DataMapper 1.3,开发工具是 vs2005, 运行环境是.net2.0。 运行,倒!报错: [SqlException (0x80131904): 用户 'sa' 登录失败。] System.Data.Provider ...
winzenghua 评论(0) 有1148人浏览 2006-05-04 23:02

最近博客热门TAG

Apache(33931) Lucene(5053) Hadoop(5049) nginx(3449) vim(3262) GCC(2954) memcached(2625) jfreechart(1688) Django(1602) Zend(1413) ActiveMQ(1398) Grails(1374) ActiveRecord(1349) OpenSource(1236) Emacs(870) Glassfish(858) lighttpd(810) rubygems(716) GAE(631) Blend(516)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics