| Author |
How to embed class within List in POJO?
|
Mimi Tam
Ranch Hand
Joined: Mar 05, 2010
Posts: 121
|
|
I really need an example on this as I have no idea how this is done and finally gave up after fiddling with it long enough.
A list of Class TestSubClass is part of Class ABC.
I need Class ABC to be mapped and populated with a list of TestSubClass (i.e. testSubClassList) objects inside an instance of Object ABC. Various exceptions when persisting to MySQL.
How shall I do this? Please help.
Any help will be greatly appreciated.
|
 |
Mimi Tam
Ranch Hand
Joined: Mar 05, 2010
Posts: 121
|
|
It finally worked. I did not make any changes.
By "it worked", I meant that it passed the persist() action and moving on.....to another question.
Thanks!
|
 |
 |
|
|
subject: How to embed class within List in POJO?
|
|
|