geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1038920 - /geronimo/daytrader/branches/2.1/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/AccountDataBean.java
Date Thu, 25 Nov 2010 04:56:55 GMT
Author: xiaming
Date: Thu Nov 25 04:56:55 2010
New Revision: 1038920

URL: http://svn.apache.org/viewvc?rev=1038920&view=rev
Log:
DAYTRADER-83 change fetch.lazy to eager to fix pingservlet2session2cmrone2many failure

Modified:
    geronimo/daytrader/branches/2.1/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/AccountDataBean.java

Modified: geronimo/daytrader/branches/2.1/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/AccountDataBean.java
URL: http://svn.apache.org/viewvc/geronimo/daytrader/branches/2.1/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/AccountDataBean.java?rev=1038920&r1=1038919&r2=1038920&view=diff
==============================================================================
--- geronimo/daytrader/branches/2.1/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/AccountDataBean.java
(original)
+++ geronimo/daytrader/branches/2.1/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/AccountDataBean.java
Thu Nov 25 04:56:55 2010
@@ -75,7 +75,8 @@ public class AccountDataBean implements 
     @Column(name = "OPENBALANCE")
     private BigDecimal openBalance;         /* open balance */
     
-    @OneToMany(mappedBy = "account", fetch=FetchType.LAZY)
+    //@OneToMany(mappedBy = "account", fetch=FetchType.LAZY)
+    @OneToMany(mappedBy = "account", fetch=FetchType.EAGER)
     private Collection<OrderDataBean> orders;
     
     @OneToMany(mappedBy = "account", fetch=FetchType.LAZY)



Mime
View raw message