[Xdoclet-user] Hibernate xDoclet question

2006-03-20 Thread sgestin
Hi, I'm looking a way to set naming strategy through xdoclet. Is this possible? Best Regards, Stevens Gestin DISCLAIMER : This email and any files transmitted with it, including replies and forwarded copies (which may contain alterations) subsequently transmitted from the sender, are confident

Re: [Xdoclet-user] Hibernate Xdoclet for composite key

2005-03-10 Thread Karsten Jahn
Uhm, yeah... I remember... :) Sorry for that. Maik Hassel schrieb: Yes, it does - you might want to google "composite primary key" or read a introductory book on database design... It is commonly used when one requires more than one attribute to uniquely identify an entity Karsten Jahn wrote: Wh

Re: [Xdoclet-user] Hibernate Xdoclet for composite key

2005-03-10 Thread Maik Hassel
Yes, it does - you might want to google "composite primary key" or read a introductory book on database design... It is commonly used when one requires more than one attribute to uniquely identify an entity Karsten Jahn wrote: Why would one want to have 2 key-collums? Does that make any sense? L

Re: [Xdoclet-user] Hibernate Xdoclet for composite key

2005-03-10 Thread Karsten Jahn
Why would one want to have 2 key-collums? Does that make any sense? Leonardo R Nunes schrieb: Does someone know how to create this composite key xdoclet ? Regards, Leonardo. How can I create a XDoclet for the following part of my .hbm ? ...

Re: [Xdoclet-user] Hibernate Xdoclet for composite key

2005-03-09 Thread Leonardo R Nunes
Does someone know how to create this composite key xdoclet ? Regards, Leonardo. > How can I create a XDoclet for the following part of my .hbm ? > ... > name="foo" > lazy="true" > inverse="true" > cascade="none" > > > > >

[Xdoclet-user] Hibernate Xdoclet for composite key does not work

2005-03-08 Thread Leonardo R Nunes
How can I create a XDoclet for the following part of my .hbm ? ... ... I tried the following xdoclet tags, but it didn't work: /** *@hibernate.bag * lazy="true" * inverse="tru

Re: [Xdoclet-user] Hibernate XDoclet silently ignoring files

2003-11-04 Thread Konstantin Priblouda
--- Jason Kosowan <[EMAIL PROTECTED]> wrote: > Hi All > > Have been trying to get XDoclet to generate a > hibernate .hbm mapping document > and have encountered a weird error. I have set up > ant with a xdoclet-hibernate > task and 2 beans (java source) that contain > hibernate tags. > > When I

Re: [Xdoclet-user] Hibernate XDoclet silently ignoring files

2003-11-04 Thread jeroend
Sounds like similar problem I once had: (don't laugh if its not the cause of your problem): I placed the class tags INSIDE the class definition (after public abstract class ..) If this doesn't work you can always set the logging to full, by changing log4j.properties in the xdoclet jar. As this give

[Xdoclet-user] Hibernate XDoclet silently ignoring files

2003-11-03 Thread Jason Kosowan
Hi All Have been trying to get XDoclet to generate a hibernate .hbm mapping document and have encountered a weird error. I have set up ant with a xdoclet-hibernate task and 2 beans (java source) that contain hibernate tags. When I run the xdoclet task, only one of the beans is processed by the t

Re: [Xdoclet-user] Hibernate Xdoclet

2003-08-22 Thread Jim Bruno Goldberg
Konstantin Priblouda wrote: > > --- Jim Bruno Goldberg <[EMAIL PROTECTED]> > wrote: > > Konstantin Priblouda wrote: > > > > > > --- Jim Bruno Goldberg <[EMAIL PROTECTED]> > > > wrote: > > > > > > > > Thanks. I try it with the follow lines: > > > > > > > > > > > > /** > > > > * @hibe

Re: [Xdoclet-user] Hibernate Xdoclet

2003-08-21 Thread Jim Bruno Goldberg
Konstantin Priblouda wrote: > > --- Jim Bruno Goldberg <[EMAIL PROTECTED]> > wrote: > > > > Thanks. I try it with the follow lines: > > > > > > /** > > * @hibernate.list table="teste2" > > cascade="delete" > > * @hibernate.collection-key column="enterprise" > > * @hiber

Re: [Xdoclet-user] Hibernate Xdoclet

2003-08-21 Thread Jim Bruno Goldberg
Konstantin Priblouda wrote: > > --- Jim Bruno Goldberg <[EMAIL PROTECTED]> > wrote: > > Konstantin Priblouda wrote: > > > > > > --- Jim Bruno Goldberg <[EMAIL PROTECTED]> > > > wrote: > > > > > > > > Thanks. I try it with the follow lines: > > > > > > > > > > > > /** > > > > * @hibe

Re: [Xdoclet-user] Hibernate Xdoclet

2003-08-21 Thread Konstantin Priblouda
--- Jim Bruno Goldberg <[EMAIL PROTECTED]> wrote: > Konstantin Priblouda wrote: > > > > --- Jim Bruno Goldberg <[EMAIL PROTECTED]> > > wrote: > > > > > > Thanks. I try it with the follow lines: > > > > > > > > > /** > > > * @hibernate.list table="teste2" > > > cascade="delete" > >

Re: [Xdoclet-user] Hibernate Xdoclet

2003-08-20 Thread Jim Bruno Goldberg
Konstantin Priblouda wrote: > > --- Jim Bruno Goldberg <[EMAIL PROTECTED]> > wrote: > > > > Thanks. I try it with the follow lines: > > > > > > /** > > * @hibernate.list table="teste2" > > cascade="delete" > > * @hibernate.collection-key column="enterprise" > > * @hibernat

Re: [Xdoclet-user] Hibernate Xdoclet

2003-08-20 Thread Konstantin Priblouda
--- Jim Bruno Goldberg <[EMAIL PROTECTED]> wrote: > > Thanks. I try it with the follow lines: > > > /** > * @hibernate.list table="teste2" > cascade="delete" > * @hibernate.collection-key column="enterprise" > * @hibernate.collection-one-to-many > column="teste' > clas

Re: [Xdoclet-user] Hibernate Xdoclet

2003-08-20 Thread Jim Bruno Goldberg
Thanks. I try it with the follow lines: /** * @hibernate.list table="teste2" cascade="delete" * @hibernate.collection-key column="enterprise" * @hibernate.collection-one-to-many column="teste' class="adama.supplier.SupplierSegment" */ public List

Re: [Xdoclet-user] Hibernate Xdoclet

2003-08-20 Thread Konstantin Priblouda
--- Jim Bruno Goldberg <[EMAIL PROTECTED]> wrote: > Hi, All! > > Please, can someone send me a sample to use > List or Bag > Hibernate with > Xdoclet? > I try to use it but generates a strange > exception on Xdoclet. > Thanks. * @hibernate.collection-key column="in

[Xdoclet-user] Hibernate Xdoclet

2003-08-20 Thread Jim Bruno Goldberg
Hi, All! Please, can someone send me a sample to use List or Bag Hibernate with Xdoclet? I try to use it but generates a strange exception on Xdoclet. Thanks. -- CUL8R,[]s Jim Bruno Goldberg http://www.md5.com.br --- Th