一、简介
框架就是一组可重用的构件,LZ自己写的姑且就叫微型小框架:lfdb。LZ也对其他的ORM框架没有什么了解,现在只会一个Hibernate,还是勉强会,什么懒加载,什么二级缓存这些太高级了,平时也没用到,但是用了就要明白个所以然,自己揣摩着模仿写个小框架,但是没有研究过Hibernate是....
分类:
数据库 时间:
2014-05-23 07:05:43
阅读次数:
460
本文原文链接:http://hi.baidu.com/ko22223/item/dd9f6900015adc036d904877
一、Hibernate是JDBC的轻量级的对象封装,它是一个独立的对象持久层框架,和AppServer,和EJB没有什么必然的联系。Hibernate可以用在任何JDBC...
分类:
系统相关 时间:
2014-05-21 22:08:27
阅读次数:
519
1、直接通过JDBC API持久化实体域对象: A、java.sql常用接口和类:
DriverManager:驱动程序管理器,负责创建数据库连接。 Connection:代表数据库连接。 Statement:负责执行SQL语句。
PreparedStatement:负责执...
分类:
系统相关 时间:
2014-05-21 18:37:54
阅读次数:
346
okay,了解了struts2后开始搭建hibernate环境eclipse4.3.2jdk
1.7.0_45hibernate 4.3.5mysql
5.1.67准备好上面的环境,安装hibernate(拷贝hibernate所需lib-->requered-->jar包和mysql的java驱动...
分类:
系统相关 时间:
2014-05-21 17:35:41
阅读次数:
385
【题目】
The count-and-say sequence is the sequence of integers beginning as follows:
1, 11, 21, 1211, 111221, ...
1 is read off as "one 1" or 11.
11 is read off as "two 1s" or 21.
21 is read off as "one 2, then one 1" or 1211.
Given an integer n, generate...
分类:
其他好文 时间:
2014-05-21 15:20:07
阅读次数:
213
用Hibernate映射关系数据库中数据表之间多对一的关系模型,完美体现ORM思想。...
分类:
系统相关 时间:
2014-05-21 15:05:49
阅读次数:
335
Description
A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = another sequence Z = is a subsequence of X if there exists a ...
分类:
其他好文 时间:
2014-05-21 10:58:39
阅读次数:
237
jdbc
jdbc:oracle:thin:@localhost:152...
分类:
系统相关 时间:
2014-05-21 10:57:22
阅读次数:
287
Description
In the Fibonacci integer sequence, F0 = 0, F1 = 1, and Fn = Fn ? 1 + Fn ? 2 for n ≥ 2. For example, the first ten terms of
the Fibonacci sequence are:
0, 1, 1, 2, 3, 5, 8, 13, 21, ...
分类:
其他好文 时间:
2014-05-21 09:39:15
阅读次数:
231
图书信息:孙卫琴 电子工业出版社第1章 Java应用分层架构及软件模型: 1.1
应用程序的分层体系结构 1.1.1 区分物理层和逻辑层 1.1.2 软件层的特征 1.1.3 软件分层的优点 1.1.4 软件分层的缺点 1.1.5
Java应用的持久化层 ...
分类:
编程语言 时间:
2014-05-21 04:50:39
阅读次数:
384