1.什么是O-R Mapping(对象-关系映射)
常用O-R Mapping映射工具
Hibernate(全自动框架)
Ibatis(半自动框架/SQL)
Commons DbUti ls(只是对JDBC简单封装)
还有JPA等之类的,这个不是特别了解,到目前为止也就接触了Hibernate和DbUtils,Hiabernate给人的不用写SQl语句,直...
分类:
数据库 时间:
2014-09-06 18:43:54
阅读次数:
328
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:
其他好文 时间:
2014-09-06 18:40:43
阅读次数:
224
VS2013上使用EF Power Tools的Reverse Engineer Code First逆向生成。发现数据库中的decimal(18, 4)字段在生成的mapping类中没有精度和小数位数。这使得通过EF保存数据时,自动生成的SQL缺省使用了decimal(18, 2).还好EF Po...
分类:
数据库 时间:
2014-09-06 02:13:12
阅读次数:
355
1.想要调整某一列在表格中的顺序,可以使用mapping(索引是从0开始的) var store = new Ext.data.ArrayStore({ data:data, fields:[ {name:'id',mapping:1}, ...
分类:
Web程序 时间:
2014-09-05 16:00:41
阅读次数:
247
页面代码: 服务器代码:public class UpdateAction extends DispatchAction { public ActionForward uploader(ActionMapping mapping, ActionForm f...
分类:
Web程序 时间:
2014-09-05 12:35:21
阅读次数:
263
概述有这样一个需求需要管理企业内网的信息,包括图标和链接。考虑到图标也不是很大所以就将图片直接保存在数据库中了。但是用到Nhibernate,如何映射呢?Table 5.5. Large Object Mapping TypesNHibernate Type.NET TypeDatabase Typ...
分类:
数据库 时间:
2014-09-04 20:52:40
阅读次数:
214
一、修改tomcat-6.0.36\conf\server.xml 文件: 把文件里 ssi 相关的 servlet 、servlet-mapping 、filter 、filter-mapping注释去掉, 并在servlet节点内添加以下初始配置解决乱码问题: inpu...
分类:
Web程序 时间:
2014-09-04 16:52:49
阅读次数:
235
hibernate 是当前最流行的o/r mapping框架,它出身于sf.net,现在已经成为jboss的一部分了。 ibatis 是另外一种优秀的o/r mapping框架,目前属于apache的一个子项目了。 相对hibernate“o/r”而言,ibatis是一种“sql mapping”....
分类:
系统相关 时间:
2014-09-03 01:29:15
阅读次数:
271
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below.
Input:Digit st...
分类:
其他好文 时间:
2014-09-01 21:15:03
阅读次数:
223
LeetCode: Decode WaysA message containing letters from A-Z is being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26Given a...
分类:
其他好文 时间:
2014-09-01 00:11:12
阅读次数:
247