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
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
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"
>
--- [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
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.
--- [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
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
'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"
&
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
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
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
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,
12 matches
Mail list logo