[seam-commits] Seam SVN: r8435 - trunk/ui/src/main/java/org/jboss/seam/ui.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Sun Jul 6 20:44:37 EDT 2008


Author: dan.j.allen
Date: 2008-07-06 20:44:37 -0400 (Sun, 06 Jul 2008)
New Revision: 8435

Modified:
   trunk/ui/src/main/java/org/jboss/seam/ui/HibernateEntityLoader.java
Log:
JBSEAM-3037 - left one behind


Modified: trunk/ui/src/main/java/org/jboss/seam/ui/HibernateEntityLoader.java
===================================================================
--- trunk/ui/src/main/java/org/jboss/seam/ui/HibernateEntityLoader.java	2008-07-05 11:42:13 UTC (rev 8434)
+++ trunk/ui/src/main/java/org/jboss/seam/ui/HibernateEntityLoader.java	2008-07-07 00:44:37 UTC (rev 8435)
@@ -31,7 +31,7 @@
    @Override
    protected String getPersistenceContextName()
    {
-      return "session";
+      return "hibernateSession";
    }
 
    @Override
@@ -39,7 +39,7 @@
    {
       if (getPersistenceContext() == null)
       {
-         throw new IllegalStateException("Unable to access a Seam Managed Hibernate Session. You must either have a Seam Managed Hibernate Session called session or configure one in components.xml");
+         throw new IllegalStateException("Unable to access a Seam Managed Hibernate Session. You must either have a Seam Managed Hibernate Session called hibernateSession or configure one in components.xml");
       }
       
    }




More information about the seam-commits mailing list