Aslak,

I was expecting to see ejbql in jbosscmp-jdbc.xml just as there is in
weblogic-cmp-rdbms-jar.xml. From your comment and a brief reading of the
JBossCMP PDF I've just bought, thats a bad assumption and the ejb-jar.xml
ejbql should be sufficient. So my problem is something else and I'll work
away on it.

Sorry for the time wasting,

Keith


PS I get this at deployment time:

org.jboss.deployment.DeploymentException: Error compiling ejbql; - nested
throwable: (org.jboss.ejb.plugins.cmp.ejbql.Pa
rseException: Encountered "o.batchId" at line 1, column 55.
Was expecting one of:
    "NOT" ...
    "(" ...

and the corresponding ejb-jar.xml is the innocuous looking:

<ejb-ql><![CDATA[SELECT DISTINCT OBJECT(o) FROM EssException o WHERE
o.batchId = ?1]]></ejb-ql>

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Aslak
Helles�y
Sent: 19 September 2002 17:21
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [Middlegen-user] Missing <cmp-field></cmp-field> in
jbosscmp-jdbc.xml problem has come back?


(bounced this back to the user list)

Pardon me for being a bit slow here, but could you explain for me what
_exactly_ is your problem? I mean, you obviously want *something*, and you
don't get it. But what _exactly_ do you want?

In your first mail in this thread you say that the XDoclet merge point is
left in XDoclet. How does an XDoclet merge point relate to missing
<cmp-field> elements? Is your problem that the merge point comment is
left??? -That you don't get incorrect <cmp-field>s??

Cheers,
Aslak (confused)

> -----Original Message-----
> From: Keith Clarke [mailto:[EMAIL PROTECTED]]
> Sent: 19. september 2002 18:02
> To: [EMAIL PROTECTED]
> Subject: RE: [Middlegen-user] Missing <cmp-field></cmp-field> in
> jbosscmp-jdbc.xml problem has come back?
>
>
> I tried that (and rebuilt and checked @ejb.persistent-field was in the
> generated Java) but it didn't work. Maybe XDoclet is broken again.
>
> Keith
>
> -----Original Message-----
> From: Aslak Helles�y [mailto:[EMAIL PROTECTED]]
> Sent: 19 September 2002 16:34
> To: [EMAIL PROTECTED];
> [EMAIL PROTECTED]
> Subject: RE: [Middlegen-user] Missing <cmp-field></cmp-field> in
> jbosscmp-jdbc.xml problem has come back?
>
>
> So basically if I re-add @ejb.persistent-field you're happy?
>
> Aslak
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Keith
> > Clarke
> > Sent: 19. september 2002 17:15
> > To: [EMAIL PROTECTED]
> > Subject: RE: [Middlegen-user] Missing <cmp-field></cmp-field> in
> > jbosscmp-jdbc.xml problem has come back?
> >
> >
> > See:
> >
> > http://www.mail-archive.com/[email protected]/m
> > sg00125.ht
> > ml
> >
> > for the original thread. There was a work-around put in Middlegen
> > to peruade
> > XDoclet to do the right thing but that has been removed. I'm using the
> > XDoclet jars provided with Middlegen.
> >
> > Keith
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Aslak
> > Helles�y
> > Sent: 19 September 2002 16:03
> > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Subject: RE: [Middlegen-user] Missing <cmp-field></cmp-field> in
> > jbosscmp-jdbc.xml problem has come back?
> >
> >
> > I don't see how this is related to Middlegen.
> > jbosscmp-jdbc-load-{0}.xml is
> > an XDoclet merge point, and has to be specified in the
> > <ejbdoclet> task, not
> > <middlegen>. -Or did I miss your point?
> >
> > Aslak
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Keith
> > > Clarke
> > > Sent: 19. september 2002 16:48
> > > To: [EMAIL PROTECTED]
> > > Subject: [Middlegen-user] Missing <cmp-field></cmp-field> in
> > > jbosscmp-jdbc.xml problem has come back?
> > >
> > >
> > > Working with the the source from yesterday, targeting JBoss 3.0
> > > and Oracle8,
> > > I'm getting <!--  merge point: jbosscmp-jdbc-load-{0}.xml --> left in
> > > jbosscmp-jdbc.xml. The fix from around 31 Jul 2002 for this
> > > doesn't work and
> > > entity-cmp-20.vm has changed quite a bit anyway.
> > >
> > > Any other ideas?
> > >
> > > Keith
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This sf.net email is sponsored by:ThinkGeek
> > > Welcome to geek heaven.
> > > http://thinkgeek.com/sf
> > > _______________________________________________
> > > middlegen-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/middlegen-user
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > middlegen-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/middlegen-user
> >
> >
> >
>
>

N�����u�Y�������z�������������~z����q�z����u�




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to