<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>红颜丽人Hibernate框架 &#187; 红颜丽人</title>
	<atom:link href="http://www.hongyanliren.com/category/java%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91/hibernate-java%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hongyanliren.com</link>
	<description>追求技术就像追求#$！不抛弃，不放弃！</description>
	<lastBuildDate>Thu, 16 Mar 2023 07:48:39 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.2</generator>
		<item>
		<title>Spring(3)-管理Bean之间的关系（depends-on）</title>
		<link>http://www.hongyanliren.com/2017m02/37326.html</link>
		<comments>http://www.hongyanliren.com/2017m02/37326.html#comments</comments>
		<pubDate>Fri, 17 Feb 2017 07:12:18 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=37326</guid>
		<description><![CDATA[depend-on用来表示一个Bean的实例化依靠另一个Bean先实例化。如果在一个bean A上定义了depend-on B那么就表示：A 实例化前先实例化 B。
这种情况下，A可能根本不需要持有一个B对象。
比如说，你的DAO Bean实例化之前你必须要先实例化Database Bean，D[......]<p class='read-more'><a href='http://www.hongyanliren.com/2017m02/37326.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2017m02/37326.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hibernate执行sql获取泛型对象</title>
		<link>http://www.hongyanliren.com/2016m04/36165.html</link>
		<comments>http://www.hongyanliren.com/2016m04/36165.html#comments</comments>
		<pubDate>Tue, 05 Apr 2016 09:45:20 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=36165</guid>
		<description><![CDATA[hibernate执行sql获取泛型对象

看下面的SQL查询示例：

private void test()

{

//获取Hibernate Session对象

Session session = HibernateUtil.currentSession();

//[......]<p class='read-more'><a href='http://www.hongyanliren.com/2016m04/36165.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2016m04/36165.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用HIBERNATE的SQL查询并将结果集自动转换成POJO</title>
		<link>http://www.hongyanliren.com/2016m04/36159.html</link>
		<comments>http://www.hongyanliren.com/2016m04/36159.html#comments</comments>
		<pubDate>Tue, 05 Apr 2016 09:44:30 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=36159</guid>
		<description><![CDATA[<h3><a href="http://lgdlgd.iteye.com/blog/473147">使用HIBERNATE的SQL查询并将结果集自动转换成POJO在某些场合下，我们可能想使用HIBERNATE的框架提供的SQL查询接口，但是，由于实体没有做映射，HIBERNATE不能把结果集转换成你想要的List&#60;POJO&#62;，本文讨论如何在这种情况下让HIBERNATE直接返回你想的结[......]</a></h3><p class='read-more'><a href='http://www.hongyanliren.com/2016m04/36159.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2016m04/36159.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hibernate批量删除出现sql异常Connection is read-only. Queries leading &#8230; are not allowed</title>
		<link>http://www.hongyanliren.com/2015m06/34564.html</link>
		<comments>http://www.hongyanliren.com/2015m06/34564.html#comments</comments>
		<pubDate>Mon, 22 Jun 2015 02:21:01 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=34564</guid>
		<description><![CDATA[<h1><a href="http://blog.csdn.net/liuzheng2684/article/details/7241786"><span style="color: #0066cc;"> Hibernate批量删除出现sql异常Connection is read-only. Queries leading ... are not allowed。mysql数据库应用。</span></a>检查代码,没有问题!
忽然想到spring配置文件上,是只读的!</h1>
<div>
<div>
<div>Xml代码  <a title="收藏这段代码" href="http://gundumw100.iteye.com/blog/554925"><img alt="收藏代码" src="http://www.hongyanliren.com/wp-content/uploads/2015/06/icon_star16.png" /></a></div>
</div>
<ol start="1">
	<li>&#60;[......]</li></ol></div><p class='read-more'><a href='http://www.hongyanliren.com/2015m06/34564.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2015m06/34564.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hql update 语句</title>
		<link>http://www.hongyanliren.com/2015m04/33101.html</link>
		<comments>http://www.hongyanliren.com/2015m04/33101.html#comments</comments>
		<pubDate>Mon, 06 Apr 2015 16:28:59 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=33101</guid>
		<description><![CDATA[String hql = "update Web w set w.littlewarm=? w.noticepic=? w.help=? where w.id =?";
Query q = session.createQuery(hql);
q.setString(0,littlewarmVal[......]<p class='read-more'><a href='http://www.hongyanliren.com/2015m04/33101.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2015m04/33101.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connection is read-only. Queries leading to data modification are not allowe意思是只读</title>
		<link>http://www.hongyanliren.com/2015m04/33057.html</link>
		<comments>http://www.hongyanliren.com/2015m04/33057.html#comments</comments>
		<pubDate>Fri, 03 Apr 2015 14:36:53 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=33057</guid>
		<description><![CDATA[Connection is read-only. Queries leading to data modification are not allowe
中文意思：连接是只读的。查询导致修改数据不准
我的理解是：你要查询，可能是根据姓名来判断数据库表中是否存在这个人
[sql] view pl[......]<p class='read-more'><a href='http://www.hongyanliren.com/2015m04/33057.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2015m04/33057.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hibernate annotation生成uuid主键</title>
		<link>http://www.hongyanliren.com/2014m12/23431.html</link>
		<comments>http://www.hongyanliren.com/2014m12/23431.html#comments</comments>
		<pubDate>Tue, 09 Dec 2014 16:31:37 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=23431</guid>
		<description><![CDATA[<h3>hibernate annotation生成uuid主键. jpa标准方式下，不可以生成uuid类型的主键,但是hibernate提供了一些方式生成uuid主键，具体方式，
1，通过注解方式生成一个generator
@GenericGenerator(name="idGenerator", s[......]</h3><p class='read-more'><a href='http://www.hongyanliren.com/2014m12/23431.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2014m12/23431.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hibernate EHCache缓存 二</title>
		<link>http://www.hongyanliren.com/2014m11/19970.html</link>
		<comments>http://www.hongyanliren.com/2014m11/19970.html#comments</comments>
		<pubDate>Wed, 19 Nov 2014 02:45:02 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=19970</guid>
		<description><![CDATA[<h2><strong>六、在页面中使用EHCache缓存</strong></h2>
<strong>       简单的来说，如果一个应用中80% 的时间内都在访问20% 的数据，那么，这时候就应该使用缓存了。</strong>

<strong>       在80/20 原则生效的地方，我们都应该考虑是否可以使用缓存。但即使是这样，缓存也有不同的用法，举个例子，一个网站的首页估计是被访[......]</strong><p class='read-more'><a href='http://www.hongyanliren.com/2014m11/19970.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2014m11/19970.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hibernate学习笔记&#8211;(org.hibernate.HibernateException: ../hibernate.cfg.xml not found错误的解决)</title>
		<link>http://www.hongyanliren.com/2014m11/18759.html</link>
		<comments>http://www.hongyanliren.com/2014m11/18759.html#comments</comments>
		<pubDate>Thu, 13 Nov 2014 03:50:15 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=18759</guid>
		<description><![CDATA[<h3>hibernate学习笔记--(org.hibernate.HibernateException: ../hibernate.cfg.xml not found错误的解决)</h3>
如果你在myeclipse开发中，使用了hibernate,那么使用myeclipse生产hibernate.cfg.xml[......]<p class='read-more'><a href='http://www.hongyanliren.com/2014m11/18759.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2014m11/18759.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
