Author: shane.bryzak(a)jboss.com
Date: 2012-05-02 05:21:22 -0400 (Wed, 02 May 2012)
New Revision: 14648
Modified:
branches/community/Seam_2_3/examples-ee6/jpa/jpa-web/src/main/java/org/jboss/seam/example/jpa/BookingListAction.java
Log:
JBSEAM-4928
Modified:
branches/community/Seam_2_3/examples-ee6/jpa/jpa-web/src/main/java/org/jboss/seam/example/jpa/BookingListAction.java
===================================================================
---
branches/community/Seam_2_3/examples-ee6/jpa/jpa-web/src/main/java/org/jboss/seam/example/jpa/BookingListAction.java 2012-05-01
21:13:17 UTC (rev 14647)
+++
branches/community/Seam_2_3/examples-ee6/jpa/jpa-web/src/main/java/org/jboss/seam/example/jpa/BookingListAction.java 2012-05-02
09:21:22 UTC (rev 14648)
@@ -1,7 +1,7 @@
//$Id: BookingListAction.java 8748 2008-08-20 12:08:30Z pete.muir(a)jboss.org $
package org.jboss.seam.example.jpa;
-// import static javax.ejb.TransactionAttributeType.REQUIRES_NEW;
+//import static javax.ejb.TransactionAttributeType.REQUIRES_NEW;
import static org.jboss.seam.ScopeType.SESSION;
import java.io.Serializable;
@@ -23,7 +23,7 @@
@Scope(SESSION)
@Name("bookingList")
-// @TransactionAttribute(REQUIRES_NEW)
+//@TransactionAttribute(REQUIRES_NEW)
public class BookingListAction implements Serializable
{
@@ -43,7 +43,8 @@
@Factory
@Observer("bookingConfirmed")
- @Transactional
+// see JBSEAM-4928
+// @Transactional
public void getBookings()
{
bookings = em.createQuery("select b from Booking b where b.user.username =
:username order by b.checkinDate")
Show replies by date