<?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%e6%a1%86%e6%9e%b6%e5%ad%a6%e4%b9%a0/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>sql语句里的limit使用方法</title>
		<link>http://www.hongyanliren.com/2016m04/36167.html</link>
		<comments>http://www.hongyanliren.com/2016m04/36167.html#comments</comments>
		<pubDate>Tue, 05 Apr 2016 10:25:38 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架学习]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=36167</guid>
		<description><![CDATA[<a href="http://blog.csdn.net/tuenbotuenbo/article/details/7974909">sql语句里的limit使用方法</a>

SELECT * FROM table LIMIT [offset,] rows &#124; rows OFFSET offset
在我们使用查询语句的时候，经常要返回前几条或者中间某几行数据，这个时候怎么办呢？不用担心，mysql已经为我们提供了上面这样一个功能。[......]<p class='read-more'><a href='http://www.hongyanliren.com/2016m04/36167.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2016m04/36167.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gethibernatetemplate的find方法大全</title>
		<link>http://www.hongyanliren.com/2015m06/34014.html</link>
		<comments>http://www.hongyanliren.com/2015m06/34014.html#comments</comments>
		<pubDate>Thu, 11 Jun 2015 03:23:56 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架学习]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=34014</guid>
		<description><![CDATA[<h1><a href="http://blog.csdn.net/zklxuankai/article/details/8483086">gethibernatetemplate的find方法大全</a>。</h1>
一、find(String queryString);

示例：this.getHibernateTemplate().find("from bean.User");

返回所有User对象

&#160;

二、fin[......]<p class='read-more'><a href='http://www.hongyanliren.com/2015m06/34014.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2015m06/34014.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hibernate gethibernatetemplate的find方法使用方法</title>
		<link>http://www.hongyanliren.com/2015m06/34006.html</link>
		<comments>http://www.hongyanliren.com/2015m06/34006.html#comments</comments>
		<pubDate>Thu, 11 Jun 2015 03:23:16 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架学习]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=34006</guid>
		<description><![CDATA[hibernate gethibernatetemplate的find方法使用方法。

为什么使用gethibernatetemplate的find方法 ？

一般我们 访问数据库  有两种选择 ：

&#160;

getSession().createQuery("from Ar[......]<p class='read-more'><a href='http://www.hongyanliren.com/2015m06/34006.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2015m06/34006.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hibernate4整合spring3事务问题</title>
		<link>http://www.hongyanliren.com/2015m06/33980.html</link>
		<comments>http://www.hongyanliren.com/2015m06/33980.html#comments</comments>
		<pubDate>Mon, 08 Jun 2015 02:33:46 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架学习]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=33980</guid>
		<description><![CDATA[<span style="text-decoration: underline;"><span style="color: #0066cc;">hibernate4整合spring3事务问题 对s2sh进行了基本的整合搭建以后，就是对事务的控制管理，将hibernate的事务交由spring管理。根据网上资料，applicationContext.xml中基本的配置如下（注意先后顺序的问题）：</span></span>

&#160;

&#160;
<div>[......]</div><p class='read-more'><a href='http://www.hongyanliren.com/2015m06/33980.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2015m06/33980.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>spring+strtus+hibernate+struts2中的设计模式</title>
		<link>http://www.hongyanliren.com/2015m05/33677.html</link>
		<comments>http://www.hongyanliren.com/2015m05/33677.html#comments</comments>
		<pubDate>Mon, 25 May 2015 15:09:54 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架学习]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=33677</guid>
		<description><![CDATA[<span style="text-decoration: underline;"><span style="color: #0066cc;">spring+strtus+hibernate+struts2中的设计模式</span></span>

Spring 的AOP 体现了动态代理模式 IOC 是工厂模式 OpenSessionInViewFilter是一种反模式；facade模式，比如spring对jdbc的封装

&#160;

struts的里[......]<p class='read-more'><a href='http://www.hongyanliren.com/2015m05/33677.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2015m05/33677.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HQL语句大全hibernate</title>
		<link>http://www.hongyanliren.com/2015m05/33462.html</link>
		<comments>http://www.hongyanliren.com/2015m05/33462.html#comments</comments>
		<pubDate>Sun, 03 May 2015 16:48:10 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架学习]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=33462</guid>
		<description><![CDATA[HQL语句大全hibernate。

Hibernate配备了一种非常强大的查询语言，这种语言看上去很像SQL。但是不要被语法结构 上的相似所迷惑，HQL是非常有意识的被设计为完全面向对象的查询，它可以理解如继承、多态 和关联之类的概念。

第 15 章 HQL: Hibernate查询语言[......]<p class='read-more'><a href='http://www.hongyanliren.com/2015m05/33462.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2015m05/33462.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>unexpected token异常</title>
		<link>http://www.hongyanliren.com/2015m05/33424.html</link>
		<comments>http://www.hongyanliren.com/2015m05/33424.html#comments</comments>
		<pubDate>Sat, 02 May 2015 12:26:42 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架学习]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=33424</guid>
		<description><![CDATA[<a href="http://zengfa.iteye.com/blog/1124968"><span style="color: #0066cc;">unexpected token异常</span></a>在开发中需要输入查询，遇到了下面的异常信息
<div>
<div>
<div>Java代码 <a title="复制代码" href="http://zengfa.iteye.com/blog/1124968#"><img alt="复制代码" src="http://www.hongyanliren.com/wp-content/uploads/2015/05/icon_copy.gif" /></a> <a title="收藏这段代码" href="javascript:void()"><img alt="收藏代码" src="http://www.hongyanliren.com/wp-content/uploads/2015/05/icon_star.png" /><img alt="" src="http://www.hongyanliren.com/wp-content/uploads/2015/05/spinner.gif" /></a></div>
</div>
<ol>
	<li>org.hibernate.hql.ast.QuerySyntaxException: unexpected token: % near line <span style="color: #c00000;">1</span>, column <span style="color: #c00000;">550</span> [s[......]</li></ol></div><p class='read-more'><a href='http://www.hongyanliren.com/2015m05/33424.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2015m05/33424.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hibernate HQL like 语句的用法 模糊查询</title>
		<link>http://www.hongyanliren.com/2015m05/33422.html</link>
		<comments>http://www.hongyanliren.com/2015m05/33422.html#comments</comments>
		<pubDate>Sat, 02 May 2015 12:25:48 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架学习]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=33422</guid>
		<description><![CDATA[<span style="text-decoration: underline;"><span style="color: #0066cc;">Hibernate HQL like 语句的用法 。String str = "中文字符串"; String hql = "FROM Table AS t WHERE t.field like '%" + str + "%'"; Query query = getSession().createQu[......]</span></span><p class='read-more'><a href='http://www.hongyanliren.com/2015m05/33422.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2015m05/33422.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hql语句中like查询 对于 / &#8216; &#8221; % 的处理</title>
		<link>http://www.hongyanliren.com/2015m05/33420.html</link>
		<comments>http://www.hongyanliren.com/2015m05/33420.html#comments</comments>
		<pubDate>Sat, 02 May 2015 12:24:35 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架学习]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=33420</guid>
		<description><![CDATA[hql语句中like查询 对于 / ' " % 的处理 public List searchByParas(String authId, String resourceId, Integer state,  
02.            Integer value, String descrip[......]<p class='read-more'><a href='http://www.hongyanliren.com/2015m05/33420.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2015m05/33420.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hibernate hql语句中的delete语句删除数据</title>
		<link>http://www.hongyanliren.com/2015m04/33381.html</link>
		<comments>http://www.hongyanliren.com/2015m04/33381.html#comments</comments>
		<pubDate>Wed, 29 Apr 2015 13:16:20 +0000</pubDate>
		<dc:creator>Quan</dc:creator>
				<category><![CDATA[Hibernate框架学习]]></category>

		<guid isPermaLink="false">http://www.hongyanliren.com/?p=33381</guid>
		<description><![CDATA[hibernate hql语句中的delete语句删除数据。 代码如下：
public class PlanManagerDAOImpl implements PlanManagerDAO{

public boolean deletePlanItem(Long itemId) {
Sess[......]<p class='read-more'><a href='http://www.hongyanliren.com/2015m04/33381.html'>Read more</a></p>]]></description>
		<wfw:commentRss>http://www.hongyanliren.com/2015m04/33381.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
