Glad you worked it out :)
Dave
On Wed, Oct 13, 2010 at 4:30 PM, Ryan Beckes wrote:
> Dave,
>
> Thanks for the tip, it worked perfectly! To recap, I changed the addresses
> mapping
>
>/** persistent field */
>@OneToMany(mappedBy="customer",
> targetEntity=com.inftropy.plus.account.Cu
Dave,
Thanks for the tip, it worked perfectly! To recap, I changed the addresses
mapping
/** persistent field */
@OneToMany(mappedBy="customer",
targetEntity=com.inftropy.plus.account.Customer.model.Address.class, cascade
= { CascadeType.ALL}, fetch=FetchType.EAGER)
@IndexedEmbedd
I don't know about sets; personally I'd use a map so you actually have a way
to access them by something meaningful, like an ID. Then you use map-based
property field names (it's [] or (), with the key inside, I forget which off
the top of my head). I think () is for indexed, so I'd aim for [] firs
Hello,
I'm using an action which implements the ModelDriven interface where my
model is a hibernate POJO (e.g. Customer). In this Customer I have a
OneToMany relationship with another hibernate POJO (e.g. Address)...
/** persistent field */
@OneToMany(mappedBy="customer",
targetEntity=com
4 matches
Mail list logo