Hibernate version: 3.1
Sorry, new to hibernate!!
I have created some POJOs that are mapped to a single table.
the keys are the same. They seem to function ok in isolation, but I am
worried that this is something I should not be doing!!
e.g. What happens if I delete an object, I do not want this to remove the
whole row in the database; as this would impact the other POJOs.
Is there a Pattern for this interaction? maybe I should stop the delete/inserts from being called on these POJOs.
My Use cases are simply to allow view/updates on these objects
I have created the objects to match the individual use cases.
Perhaps I should create a large POJO mapping to the whole table
and embed components??
thanks
_________________ Rob T.
|