会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Alamps 沁园春
养活一团春意思;撑起两根穷骨头。
博客园
首页
新随笔
联系
管理
订阅
随笔- 483 文章- 2 评论- 265 阅读-
126万
随笔分类 -
ssh
1
2
下一页
ssh
36hibernate_fetch_7_set_batch_size
摘要:hibernate抓取策略,batch-szie在集合上的应用public void testFetch1() { Session session = null; try { session = HibernateUtils.getSession(); session.beginTransactio
阅读全文
posted @
2012-08-13 08:38
Alamps
阅读(152)
评论(0)
推荐(0)
编辑
35hibernate_fetch_6_batch_size
摘要:hibernate抓取策略,,batch-szie在<class>上的应用batch-size属性,可以批量加载实体类,参见:Classes.hbm.xml<class name="Classes" table="t_classes" batch-size="3"> public void test
阅读全文
posted @
2012-08-13 08:38
Alamps
阅读(96)
评论(0)
推荐(0)
编辑
34hibernate_fetch_5_set_subselect
摘要:hibernate抓取策略(集合代理的批量抓取)设置fetch="subselect",如:<set name="students" inverse="true" cascade="all" fetch="subselect">fetch="subselect",另外发送一条select语句抓取在前
阅读全文
posted @
2012-08-13 08:37
Alamps
阅读(105)
评论(0)
推荐(0)
编辑
32hibernate_fetch_3_set_select
该文被密码保护。
posted @
2012-08-13 08:36
Alamps
阅读(3)
评论(0)
推荐(0)
编辑
33hibernate_fetch_4_set_join
摘要:hibernate抓取策略(集合代理的批量抓取)设置fetch="join",如:<set name="students" inverse="true" cascade="all" fetch="join">fetch="join",hibernate会通过select语句使用外连接来加载其关联实体
阅读全文
posted @
2012-08-13 08:36
Alamps
阅读(95)
评论(0)
推荐(0)
编辑
31hibernate_fetch_2_join
摘要:hibernate抓取策略(单端代理的批量抓取)设置fetch="join",如:<many-to-one name="classes" column="classesid" fetch="join"/>fetch="join",hibernate会通过select语句使用外连接来加载其关联实体或集
阅读全文
posted @
2012-08-13 08:35
Alamps
阅读(109)
评论(0)
推荐(0)
编辑
30hibernate_fetch_1_select
摘要:hibernate抓取策略(单端代理的批量抓取)保持默认(也就是说什么也不配),同fetch="select",如:<many-to-one name="classes" column="classesid" fetch="select"/>fetch="select",另外发送一条select语句
阅读全文
posted @
2012-08-13 08:34
Alamps
阅读(87)
评论(0)
推荐(0)
编辑
29hibernate_query_cache
摘要:hibernate查询缓存查询缓存是针对普通属性结果集的缓存对实体对象的结果集只缓存id查询缓存的生命周期(不确定),当前关联的表发生修改,那么查询缓存生命周期结束查询缓存的配置和使用: * 在hibernate.cfg.xml文件中启用查询缓存,如: <property name="hiberna
阅读全文
posted @
2012-08-11 18:03
Alamps
阅读(180)
评论(0)
推荐(0)
编辑
28hibernate_cache_level_2
摘要:hibernate二级缓存二级缓存也称进程级的缓存或SessionFactory级的缓存,二级缓存可以被所有的session共享二级缓存的生命周期和SessionFactory的生命周期一致,SessionFactory可以管理二级缓存二级缓存的配置和使用: * 将echcache.xml文件拷贝到
阅读全文
posted @
2012-08-10 20:56
Alamps
阅读(179)
评论(0)
推荐(0)
编辑
27hibernate_cache_level_1
摘要:hibernate一级缓存 一级缓存很短和session的生命周期一致,一级缓存也叫session级的缓存或事务级缓存那些方法支持一级缓存: * get() * load() * iterate(查询实体对象) 如何管理一级缓存: * session.clear(),session.evict()
阅读全文
posted @
2012-08-10 20:53
Alamps
阅读(121)
评论(0)
推荐(0)
编辑
26hibernate_hql
摘要:hibernate查询语言hql在hql中关键字不区分大小写,但是属性和类名区分大小写1、简单属性查询【重要】 * 单一属性查询,返回结果集属性列表,元素类型和实体类中相应的属性类型一致 * 多个属性查询,返回的集合元素是对象数组,数组元素的类型和对应的属性在实体类中的类型一致 数组的长度取决与se
阅读全文
posted @
2012-08-10 14:42
Alamps
阅读(138)
评论(0)
推荐(0)
编辑
25hibernate_training_tree
摘要:package com.bjsxt.hibernate;import org.hibernate.cfg.Configuration;import org.hibernate.tool.hbm2ddl.SchemaExport;public class ExportToDB { /** * @par
阅读全文
posted @
2012-08-09 10:58
Alamps
阅读(115)
评论(0)
推荐(0)
编辑
23hibernate_pessimistic_locking
摘要:悲观锁悲观锁的实现,通常依赖于数据库机制,在整个过程中将数据锁定,其它任何用户都不能读取或修改ExportDB:create table t_inventory (itemNo integer not null auto_increment, itemName varchar(255), quant
阅读全文
posted @
2012-08-08 11:21
Alamps
阅读(94)
评论(0)
推荐(0)
编辑
24hibernate_optimistic_locking
该文被密码保护。
posted @
2012-08-08 11:16
Alamps
阅读(1)
评论(0)
推荐(0)
编辑
22hibernate_collection_mapping
该文被密码保护。
posted @
2012-08-07 16:23
Alamps
阅读(1)
评论(0)
推荐(0)
编辑
21hibernate_composite_mapping
该文被密码保护。
posted @
2012-08-07 15:24
Alamps
阅读(2)
评论(0)
推荐(0)
编辑
20hibernate_component_mapping
该文被密码保护。
posted @
2012-08-07 15:20
Alamps
阅读(1)
评论(0)
推荐(0)
编辑
19hibernate_extends_3
该文被密码保护。
posted @
2012-08-06 18:19
Alamps
阅读(1)
评论(0)
推荐(0)
编辑
18hibernate_extends_2
该文被密码保护。
posted @
2012-08-06 18:18
Alamps
阅读(1)
评论(0)
推荐(0)
编辑
17hibernate_extends_1
该文被密码保护。
posted @
2012-08-06 12:00
Alamps
阅读(1)
评论(0)
推荐(0)
编辑
1
2
下一页
<
2025年3月
>
日
一
二
三
四
五
六
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
更多链接
最新随笔
1.install docker
2.docker install zk & kafka
3.docker day001
4.spring-cloud-zuul-ratelimit 配置
5.dddd
6.echart
7.QuickSortDemo
8.test
9.ultiple Endpoints may not be deployed to the same path
10.com.mysql.cj.core.exceptions.InvalidConnectionAttributeException: The server time zone value '��� mysql-installer-community-8.0.15.0
我的标签
hibernate
(36)
Linux
(16)
Alamps学习设计模式
(15)
android
(11)
java
(8)
c/c++
(8)
UML
(7)
ios
(6)
mysql
(5)
hbase
(5)
更多
积分与排名
积分 - 272524
排名 - 3847
随笔分类
databases(12)
hadoop(2)
Hbase(7)
other其他(3)
PowerDesigner Uml design Pattern(3)
practise项目实训(3)
Scala(1)
spark(1)
ssh(36)
web服务器(3)
操作系统(1)
计算机相关其它资料(3)
随笔档案
2022年11月(1)
2022年6月(1)
2020年7月(1)
2020年5月(1)
2020年1月(1)
2019年12月(1)
2019年10月(1)
2019年8月(1)
2019年3月(2)
2018年8月(1)
2018年6月(4)
2018年4月(1)
2018年3月(3)
2018年2月(10)
2018年1月(8)
2017年12月(11)
2017年11月(11)
2017年10月(7)
2017年9月(1)
2017年8月(2)
2017年6月(1)
2017年5月(7)
2017年4月(3)
2017年3月(4)
2017年2月(6)
2017年1月(5)
2016年12月(3)
2016年11月(5)
2016年10月(7)
2016年9月(14)
2016年8月(8)
2016年7月(2)
2016年6月(1)
2016年5月(12)
2016年4月(8)
2016年3月(15)
2016年2月(3)
2016年1月(4)
2015年8月(2)
2015年3月(3)
2014年11月(2)
2014年1月(1)
2013年2月(1)
2013年1月(1)
2012年12月(4)
2012年11月(13)
2012年10月(25)
2012年9月(6)
2012年8月(41)
2012年7月(15)
2012年6月(16)
2012年5月(32)
2012年4月(13)
2012年3月(20)
2012年2月(2)
2011年11月(5)
2011年2月(1)
2010年6月(1)
2010年5月(6)
2010年4月(1)
2010年3月(28)
2010年1月(2)
2009年12月(8)
2009年11月(3)
2009年10月(1)
2009年7月(2)
2009年6月(3)
2009年5月(11)
2009年4月(34)
更多
文章档案
2015年8月(1)
2009年4月(1)
J2ee
ref spring 3
Apache
Spring
Apache Tomcat
Hibernate
Struts
Link
http://www.jikedaohang.com/
blogs
Youku
sunxin
IT 考试
方芳 CSDN
CSDN
研究文集 » 开发工具
风&云
It社区
langsin
快递查询
nice bolg
天行健
Jackey_Chen
peterzb
夢里還剩一點溫柔
参考
几个好网站
http://www.jikedaohang.com/
收听在线英语电台网址_旺旺英语教学网
在线英语广播听力(VOA,BBC,ABC,CBC,CNN,CRI)-我爱英语网
上海外教网
软考查询
创业之路
中华英才网
个性化google
IT 人物
bbs.chinaitlab
搜索引擎
百度百科
Google
Google学术搜索
MSDN ZH-CN
阅读排行榜
1. Eclipse安装svn插件的几种方式(366688)
2. 清除mysql表中数据(110164)
3. JAVA中去掉空格(91520)
4. 如何将.class文件转换成.java文件——JAVA反编译工具总结[转](39407)
5. iptables查看、添加、删除规则(34497)
评论排行榜
1. link xixihahahehe(31)
2. github android(20)
3. CORBA的简单介绍及HelloWorld(zhuan)(8)
4. 马士兵hibernate(原始笔记)(7)
5. snmp getTable demo :iftable ipAddresstable(6)
推荐排行榜
1. Eclipse安装svn插件的几种方式(11)
2. iptables查看、添加、删除规则(6)
3. 清除mysql表中数据(5)
4. 在userMapper.xml文件中模糊查询的常用的3种方法(3)
5. ORA-01034:ORACLE not available ORA-27101:shared memory realm does not exit(3)
最新评论
1. Re:ORA-01034:ORACLE not available ORA-27101:shared memory realm does not exit
好吧,有时候没有缘故的登录不上去,最好问下你们dba是否更改了配置
--With_Lilith
2. Re:ORA-01034:ORACLE not available ORA-27101:shared memory realm does not exit
SQL> conn / as sysdba ERROR: ORA-12560: TNS: 协议适配器错误 这种要怎么办,我是新建一个窗口之后就不能登录了,plsql平常都不会关的。服务也是正常开着...
--With_Lilith
3. Re:hive 调优手段
怎么感觉内容不全啊
--bauerctu
4. Re:mac office
您好, 我需要MSO15.11.2Patch 下載連結, 網站上的下載不了了, 謝謝
--好好先生12345
5. Re:Eclipse安装svn插件的几种方式
搬运一下,报下面的错的:An error occurred while collecting items to be installedsession context was:(profile=epp...
--血手||人屠
点击右上角即可分享