[JBoss-user] [Beginners Corner] - Re: ejbql error

2006-01-10 Thread jamesohearn
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

[JBoss-user] [Beginners Corner] - ejbql error

2006-01-10 Thread jamesohearn
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" ... "(" .

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: No support for @ejb.pk XDoclet Tag??

2005-09-22 Thread jamesohearn
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - No support for @ejb.pk XDoclet Tag??

2005-09-22 Thread jamesohearn
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Now what? Consequences of using an unknown primary key...

2005-09-15 Thread jamesohearn
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: auto-increment and a composite PK

2005-09-08 Thread jamesohearn
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-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: auto-increment and a composite PK

2005-09-08 Thread jamesohearn
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

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - auto-increment and a composite PK

2005-09-08 Thread jamesohearn
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

[JBoss-user] [JNDI/Naming/Network] - Re: comp not bound error

2005-07-13 Thread jamesohearn
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

[JBoss-user] [JNDI/Naming/Network] - comp not bound error

2005-07-05 Thread jamesohearn
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

[JBoss-user] [Beginners Corner] - comp not bound error

2005-06-28 Thread jamesohearn
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