[JBoss-user] [Persistence CMP/JBoss] - Re: 3.2.4 CMP Bug

2004-06-10 Thread myname
I apologize, I assumed the fixes were in my build already ... this was incorrect.

It now works with A too.

Volker

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838292#3838292

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838292


---
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: 3.2.4 CMP Bug

2004-06-09 Thread loubyansky
And when you update your 3.2.4 with the fixes above, do you still have the problem?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838088#3838088

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838088


---
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: 3.2.4 CMP Bug

2004-06-08 Thread myname
Hello,

having a problem with CMP in 3.2.4 (June 4th 2004 Version). Looks like the one 
mentioned above, so I enter the same thread.

Setup is a CMR with a campaignInstance entity bean that has agentInstance entity 
beans as children. The code works fine using commit-levels B or C, but not with commit 
level A: 

Jboss tries to access the field outputType from an agentInstance, whereas 
outputType is not used in the application at this point in time (and has not been 
used before). Other fields from the agentInstance shall be accessed. Then the error 
Could not load field value: outputType occurs.

anonymous wrote : 2004-06-08 18:08:01,340 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.CampaignInstance] Executing SQL: 
SELECT startDate FROM SAM_CMP_RUNTIME WHERE (id=?)
  | 2004-06-08 18:08:01,340 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.CampaignInstance] Executing SQL: 
SELECT startDate FROM SAM_CMP_RUNTIME WHERE (id=?)
  | 2004-06-08 18:08:01,350 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.CampaignInstance] Executing SQL: 
SELECT stopDate FROM SAM_CMP_RUNTIME WHERE (id=?)
  | 2004-06-08 18:08:01,350 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.CampaignInstance] Executing SQL: 
SELECT stopDate FROM SAM_CMP_RUNTIME WHERE (id=?)
  | 2004-06-08 18:08:01,350 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.CampaignInstance] load 
relation SQL: SELECT id FROM SAM_AGT_RUNTIME WHERE (cmp_inst_id=?)
  | 2004-06-08 18:08:01,350 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.CampaignInstance] load 
relation SQL: SELECT id FROM SAM_AGT_RUNTIME WHERE (cmp_inst_id=?)
  | 2004-06-08 18:08:01,370 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
TransactionRolledbackLocalException in method: public abstract java.lang.String 
net.ehp.campaign.ejb.AgentInstanceLocal.getOutputType(), causedBy:
  | javax.ejb.EJBException: Could not load field value: outputType
  | at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.getInstanceValue(JDBCCMP2xFieldBridge.java:179)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.getValue(JDBCAbstractCMPFieldBridge.java:208)
  | at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler$FieldGetInvoker.invoke(EntityBridgeInvocationHandler.java:133)
  | at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:91)
  | at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:62)
  | at net.ehp.campaign.ejb.AgentInstanceCMP$Proxy.getOutputType()
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | ...
  | 

Any hints or fixes are highly appreciated.

Regards

Volker

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3837995#3837995

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837995


---
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: 3.2.4 CMP Bug

2004-06-07 Thread loubyansky
Fixed in 3.2.4RC2 and HEAD.


  | Index: JDBCLoadEntityCommand.java
  | ===
  | RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCLoadEntityCommand.java,v
  | retrieving revision 1.19.2.23
  | diff -r1.19.2.23 JDBCLoadEntityCommand.java
  | 112c112,115
  |   return true;
  | ---
  |   if(requiredField != null  requiredField.isLoaded(ctx))
  |   {
  |  return true;
  |   }
  | 

Thanks!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3837736#3837736

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837736


---
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: 3.2.4 CMP Bug

2004-06-07 Thread loubyansky
The next one is


  | Index: JDBCLoadEntityCommand.java
  | ===
  | RCS file: 
/cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/JDBCLoadEntityCommand.java,v
  | retrieving revision 1.19.2.24
  | diff -r1.19.2.24 JDBCLoadEntityCommand.java
  | 112c112
  |   if(requiredField != null  requiredField.isLoaded(ctx))
  | ---
  |   if(requiredField == null || (requiredField != null  
requiredField.isLoaded(ctx)))
  | 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3837737#3837737

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837737


---
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user