Author: dan.j.allen
Date: 2008-05-23 16:30:05 -0400 (Fri, 23 May 2008)
New Revision: 8276
Modified:
trunk/src/main/org/jboss/seam/framework/HibernateEntityController.java
trunk/src/main/org/jboss/seam/framework/HibernateEntityHome.java
trunk/src/main/org/jboss/seam/framework/HibernateEntityQuery.java
Log:
JBSEAM-3037
Modified: trunk/src/main/org/jboss/seam/framework/HibernateEntityController.java
===================================================================
--- trunk/src/main/org/jboss/seam/framework/HibernateEntityController.java 2008-05-23
20:02:56 UTC (rev 8275)
+++ trunk/src/main/org/jboss/seam/framework/HibernateEntityController.java 2008-05-23
20:30:05 UTC (rev 8276)
@@ -35,7 +35,7 @@
@Override
protected String getPersistenceContextName()
{
- return "session";
+ return "hibernateSession";
}
protected Criteria createCriteria(Class clazz)
Modified: trunk/src/main/org/jboss/seam/framework/HibernateEntityHome.java
===================================================================
--- trunk/src/main/org/jboss/seam/framework/HibernateEntityHome.java 2008-05-23 20:02:56
UTC (rev 8275)
+++ trunk/src/main/org/jboss/seam/framework/HibernateEntityHome.java 2008-05-23 20:30:05
UTC (rev 8276)
@@ -23,7 +23,7 @@
super.create();
if ( getSession()==null )
{
- throw new IllegalStateException("session is null");
+ throw new IllegalStateException("hibernateSession is null");
}
}
@@ -103,7 +103,7 @@
@Override
protected String getPersistenceContextName()
{
- return "session";
+ return "hibernateSession";
}
@Override
Modified: trunk/src/main/org/jboss/seam/framework/HibernateEntityQuery.java
===================================================================
--- trunk/src/main/org/jboss/seam/framework/HibernateEntityQuery.java 2008-05-23 20:02:56
UTC (rev 8275)
+++ trunk/src/main/org/jboss/seam/framework/HibernateEntityQuery.java 2008-05-23 20:30:05
UTC (rev 8276)
@@ -29,7 +29,7 @@
super.validate();
if ( getSession()==null )
{
- throw new IllegalStateException("session is null");
+ throw new IllegalStateException("hibernateSession is null");
}
}
@@ -128,7 +128,7 @@
@Override
protected String getPersistenceContextName()
{
- return "session";
+ return "hibernateSession";
}
protected org.hibernate.Query createQuery()
Show replies by date