Hibernate version:3.0
Name and version of the database you are using:PostgreSQL 8.0
My question is:
How can i map in hibernate 3.0 beta4 one single value object into 3 tables with same columns as in value object properties.
example:
value object: Document
properties: id, type, Collection of values
tables: Policy, Note, News
columns: id, type
"type" means as dicriminator, where is data persited.
When type = "Po" i want to persist value object into table Policy and so on with others types ("No", "Ne" ).
Reason of this using is large amount of data for one table !
Plz help me, how ... thanks.
|