Re: [Xdoclet-user] many-to-one with formula

2005-08-04 Thread Paul Galbraith
Neil Mendoza wrote: Anyone have any ideas about getting many-to-one mappings with a formula to work out the foreign key working. I tried to do this by having a @hibernate.many-to-one and underneath an @hibernate.column tag with a formula attribute but xdoclet seems to just ignore the formula

[Xdoclet-user] many-to-one with formula

2005-07-29 Thread Neil Mendoza
Anyone have any ideas about getting many-to-one mappings with a formula to work out the foreign key working.  I tried to do this by having a @hibernate.many-to-one and underneath an @hibernate.column tag with a formula attribute but xdoclet seems to just ignore the formula attribute.  I then

Re: [Xdoclet-user] many-to-one

2005-02-22 Thread Andrew Stevens
On Wed, 2005-02-16 at 10:36, [EMAIL PROTECTED] wrote: > It's definitely a bug. If I chance the ordering of attributes to > > @hibernate.many-to-one > not-null="true" > foreign-key="FK_USERS" > cascade="all" > unique="true" > outer-join="true" > column="USER_ID" >

Re: [Xdoclet-user] many-to-one

2005-02-16 Thread Konstantin Priblouda
--- [EMAIL PROTECTED] wrote: > > It's definitely a bug. If I chance the ordering of > attributes to > > @hibernate.many-to-one > not-null="true" > foreign-key="FK_USERS" > cascade="all" > unique="true" > outer-join="true" > column="USER_ID" > class=" User

Re: [Xdoclet-user] many-to-one

2005-02-16 Thread Richard.Featherstone
It's definitely a bug. If I chance the ordering of attributes to @hibernate.many-to-one not-null="true" foreign-key="FK_USERS" cascade="all" unique="true" outer-join="true" column="USER_ID" class=" User I get in the cfg.xml file. I will file a Jira.

Re: [Xdoclet-user] many-to-one

2005-02-16 Thread Konstantin Priblouda
--- [EMAIL PROTECTED] wrote: > Am I doing some thing wrong here? I have: > > @hibernate.many-to-one > column="USER_ID" > class="User > cascade="all" > not-null="true" > unique="true" > outer-join="true" > foreign-key="FK_USERS" > > in my java, but it generat

[Xdoclet-user] many-to-one

2005-02-16 Thread Richard.Featherstone
Am I doing some thing wrong here? I have: @hibernate.many-to-one column="USER_ID" class="User cascade="all" not-null="true" unique="true" outer-join="true" foreign-key="FK_USERS" in my java, but it generates: many-to-one name="credentials" class=" U

RE: RE: [Xdoclet-user] Many-To-One unidirectional

2002-05-14 Thread Alex Loubyansky
'Xdoclet-User (E-mail)' > Subject: Re: RE: [Xdoclet-user] Many-To-One unidirectional > > > * @ejb:relation name="addresses-city" >* role-name="address-has-city" >* target-role-name="city-has-addresses" &

Re: RE: [Xdoclet-user] Many-To-One unidirectional

2002-05-14 Thread aslak.hellesoy
should be in the docs. At least the online ones) http://xdoclet.sourceforge.net/ejbdoclet.html#relation HTH, Aslak - Original Message - From: "Alex Loubyansky" <[EMAIL PROTECTED]> Date: Tuesday, May 14, 2002 5:14 pm Subject: RE: [Xdoclet-user] Many-To-One unidirectio

RE: [Xdoclet-user] Many-To-One unidirectional

2002-05-14 Thread Alex Loubyansky
city-has-addresses One City TIA alex > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 14, 2002 4:40 PM > To: [EMAIL PROTECTED] > Cc: Xdoclet-User (E-mai

Re: [Xdoclet-user] Many-To-One unidirectional

2002-05-14 Thread aslak.hellesoy
pm Subject: [Xdoclet-user] Many-To-One unidirectional > I can't manage to get many-to-one indirectional relationship. Is it > possible with XDoclet? > > For example relationship between AddressBean and CityBean. > Address has one > City in it. But the same City

[Xdoclet-user] Many-To-One unidirectional

2002-05-14 Thread Alex Loubyansky
I can't manage to get many-to-one indirectional relationship. Is it possible with XDoclet? For example relationship between AddressBean and CityBean. Address has one City in it. But the same City could be found in many Addresses. And the direction of the relationship is from Address to City,