I've got some additional information.
It seems that the finder method that I define that refers to the primary key
field is the one that is causing the problems. Below is the ejb bean
definition:
* @ejb.bean name="XHQComponent"
* display-name="XHQComponent"
* descr
My environment:
Windows XP sp2
Eclipse v3.0.2
MyEclipse v3.8.4
JBoss v4.0.2
I get the following after Jboss deploys my entity beans:
15:14:16,609 INFO [STDOUT] org.jboss.ejb.plugins.cmp.ejbql.ParseException:
Encountered "x.ID" at line 1, column 46.
Was expecting one of:
"NOT" ...
"(" .
Thanks for straightening me out on that.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896454#3896454
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896454
---
SF.N
It appears that the DTD for the jbosscmp-jdbc.xml document does not support the
use of the @ejb.pk XDoclet tag. Specifically, I cannot get the element
to appear in the document because the DTD doesn't mention it.
Please correct me if I am wrong. If I'm right, I'd like to know why
is not sup
For type safety I am using a custom primary key class. I've got the XML that I
expect but there are a few issues I'd like to iron out:
1) What does my finder method look like now? The CMP field that I used to have
("ID") has been replaced by the unknown primary key: it specifies a field name
One more thing:
How would the configuration look using XDoc? Or do I have to manually change
the appropriate xml file?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893683#3893683
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
JBoss 4.02
CMP 2.0
Hypersonic DB
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893682#3893682
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893682
---
SF.Net emai
I have a composite primary key that uses two integer fields. Is it possible
for the auto-increment option to be used? What if I only want one of the two
integers to be auto-incremented?
Thanks!
Regards,
Jim
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3
Using the name in the global namespace worked. It seems that the generated
utility class was not using that name.
Thanks.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884755#3884755
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting
I originally posted this in the "Beginner's Corner" but did not receive any
feedback. Therefore, since it is likely a JNDI related issue, I have moved my
post here:
I am adapting a stand-alone java application to use ejb(s). I am running from
class files, not a jar. When the app attempts to
I am adapting a stand-alone java application to use ejb(s). I am running from
class files, not a jar. When the app attempts to get the home interface for
the first session bean, the following exception is thrown:
javax.naming.NameNotFoundException: comp not bound
I am using the utility class
11 matches
Mail list logo