-
1. Re: I'm going craaaaazy!
adrian.brock Feb 24, 2003 3:29 AM (in response to crowley)Support for this was added AFTER the 3.2Beta3 (1.43.2.6)
release, see 1.43.2.7
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge/JDBCCMRFieldBridge.java?only_with_tag=Branch_3_2
There have been other fixes since, the last one in
3.2RC2
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jboss/src/main/org/jboss/ejb/plugins/cmp/jdbc/bridge/JDBCCMP2xFieldBridge.java?only_with_tag=Branch_3_2
Regards,
Adrian -
2. Re: I'm going craaaaazy!
crowley Feb 24, 2003 11:03 AM (in response to crowley)So I've installed JBoss 3.2RC2, but I'm still facing the same problem. How do I define the relationship between A and B when the foreign key in B is the same as the primary key in A? I found a post by loubyansky where he says that the column name must be the same in both tables, is this true? Anyway, I get this error: "java.sql.SQLException: ORA-00921: unexpected end of SQL command" which isn't that difficult to understand when my SQL looks like this: "Executing SQL: SELECT COUNT(*) FROM CW_ENUMVALUE WHERE" How do I get JBoss to understand that it shall use the CMR field?
-
3. Re: I'm going craaaaazy!
crowley Feb 24, 2003 11:07 AM (in response to crowley)So I've installed JBoss 3.2RC2, but I'm still facing the same problem. How do I define the relationship between A and B when the foreign key in B is the same as the primary key in A? I found a post by loubyansky where he says that the column name must be the same in both tables, is this true? Anyway, I get this error: "java.sql.SQLException: ORA-00921: unexpected end of SQL command" which isn't that difficult to understand when my SQL looks like this: "Executing SQL: SELECT COUNT(*) FROM CW_ENUMVALUE WHERE" How do I get JBoss to understand that it shall use the CMR field?
-
4. Re: I'm going craaaaazy!
adrian.brock Feb 24, 2003 10:40 PM (in response to crowley)Yes, it compares the column names of the CMR
meta data against the CMP meta data.
Try posting your deployment descriptors.
Also, you are likely to get more help if you post in the
CMP forum.
Regards,
Adrian -
5. Re: I'm going craaaaazy!
crowley Feb 25, 2003 7:15 AM (in response to crowley)I've created a simple example, have a look at the dd's and please find what's missing, thanks!
-
6. Re: I'm going craaaaazy!
crowley Feb 25, 2003 10:24 AM (in response to crowley)Ok, posting the DD's again since it seems that it didn't work the first time...