[seam-commits] Seam SVN: r13234 - examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/booking.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Jun 17 19:25:46 EDT 2010


Author: dan.j.allen
Date: 2010-06-17 19:25:45 -0400 (Thu, 17 Jun 2010)
New Revision: 13234

Modified:
   examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/booking/BookingAgent.java
Log:
log if hotel is still managed by pc


Modified: examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/booking/BookingAgent.java
===================================================================
--- examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/booking/BookingAgent.java	2010-06-17 23:16:55 UTC (rev 13233)
+++ examples/trunk/booking-simplified/src/main/java/org/jboss/seam/examples/booking/booking/BookingAgent.java	2010-06-17 23:25:45 UTC (rev 13234)
@@ -109,6 +109,7 @@
    public void validate()
    {
       // if we got here, all validations passed
+      log.info("Does the persistence context still contain the hotel instance? " + em.contains(booking.getHotel()));
       bookingValid = true;
    }
 



More information about the seam-commits mailing list