Adam,

GREAT! thanks a lot!

I was having the same problem, and removing the persistence tag tackled the
hurdle. Nice one.

How did you come on that? I mean, there's nothing in the documentation
saying that you don't need the persistence tag if you have the relation
one...

Thanks,

Marc

> -----Urspr�ngliche Nachricht-----
> Von:  Adam Houghton [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Mittwoch, 4. Dezember 2002 17:22
> An:   [EMAIL PROTECTED]
> Betreff:      RE: [Xdoclet-user] Table creation in Jboss
> 
> Are you using both the @ejb.persistence tag and the @ejb.relation tag
> above the same method?  For CMR methods, you should only put the
> @ejb.relation tag.  Putting the @ejb.persistence tag might cause the
> duplicate column problem that you're having.  I'm using the same setup as
> you (JBoss 3.03) with CMP/CMR and the tables are getting created fine.
> 
> If that isn't the problem, why don't you post the tags for the CMR method
> that you're having problems with.
> 
> - Adam
> 
> 
> -----Original Message-----
> From: Shankar Srinivasan [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, December 03, 2002 8:49 PM
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-user] Table creation in Jboss
> 
> 
> I've developed my CMP's using Xdoclet and when I tried deploying it on
> Jboss 3.0.3, found something weird. I'm using Jboss to create the tables.
> Each CMR field was treated as an additional table column and hence I'm
> having  duplicate columns in the table generated. What do I need to do to
> fix this? Please let me know.
> 
> Thanks
> shankar
> 
> -----Original Message-----
> From: Aslak Hellesoy [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, December 02, 2002 2:32 PM
> To: Shankar Srinivasan; [EMAIL PROTECTED]
> Subject: RE: [Xdoclet-user] ejb-persistance tag
> 
> that's weird, because the tag name is still @ejb.persistence (with a dot).
> now what did you use _exactly_ ? see some code?
> 
> > -----Original Message-----
> > From: Shankar Srinivasan [mailto:[EMAIL PROTECTED]]
> > Sent: 2. desember 2002 23:23
> > To: Aslak Hellesoy; [EMAIL PROTECTED]
> > Subject: RE: [Xdoclet-user] ejb-persistance tag
> >
> >
> > Sorry! I did use @ejb-persistence. It did generate the column-name 
> > correctly.
> >
> > -----Original Message-----
> > From: Aslak Hellesoy [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, December 02, 2002 2:21 PM
> > To: Shankar Srinivasan; [EMAIL PROTECTED]
> > Subject: RE: [Xdoclet-user] ejb-persistance tag
> >
> > The name of the tag is @ejb.persistence (with a dot and an 'e'), not 
> > @ejb-persistance.
> >
> > Aslak
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Shankar 
> > Srinivasan
> > Sent: 2. desember 2002 23:02
> > To: [EMAIL PROTECTED]
> > Subject: [Xdoclet-user] ejb-persistance tag
> >
> >
> > I'm trying to set jdbc-type and sql-type for all my CMP fields using
> the
> > ejb-persistance tag. But when the xml files are generated, I don't see 
> > the corresponding jdbc and sql types for my fields. I'm trying to 
> > deploy
> it
> > on
> > Jboss and weblogic. I do understand I can set it specific for
> > Jboss(@jboss.jdbc-type) but then it wont work for weblogic. Am I
> missing
> > something.
> >
> > Please let me know.
> >
> > Thanks
> > shankar
> >
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Microsoft Visual Studio.NET 
> comprehensive development tool, built to increase your 
> productivity. Try a free online hosted session at:
> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Microsoft Visual Studio.NET 
> comprehensive development tool, built to increase your 
> productivity. Try a free online hosted session at:
> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user


-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET
comprehensive development tool, built to increase your
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to