Hi,
I have a table called account with a one to many relationship to
address and a one to many relationship to phone number. I am using spring
and struts. Everyhing is fine except when I create a new account I forward
to a page which lists all the accounts and their addresses and phone numbers
the account shows up however to get the address and phone number information
to show up I have to do a page refresh. I tried calling flush();
refresh(); but it didn't fix the problem I was able to fix it by
redirecting but I can't redirect in the final system it needs to forward how
can I get this to work correctly. I have the following annotation
@OneToMany(cascade = {CascadeType.ALL})
@JoinColumn(name="ACCOUNT_ID", nullable=true)
Any help would be appreciated.
thanks
--
View this message in context:
http://www.nabble.com/Hibernate-newbie-question-tf4462643s2369.html#a12725549
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]