I've persisted the data, I can see it in the SQL database.
But I dont see it in my data objects.
eg my main table is master and it has a set of slaves...
aMaster.getSlaves().size() has not been incremented as I would have expected.
I've tried manually doing it,
ie after I persisted by calling DAO.save(aSlave)
I then called aSlave.getMaster().add(aSlave).
Having to do this doesnt seem right somehow, and it doesn't work for the first slave I add for a given master (it only works for subsequent ones).
_________________ Rgds, Mike Burton
|