Hi,
I probably need to explain what the subject title means.
I'm sub classing an object from a framework. The Object is called "Molecule". I want to add an id field for persistence. Question is what happens with the fields from the superclass? They basically define the object. The thing is I do not want to persist them, instead I want to convert the Molecule into one of the standard formats for storing chemical structures. The format is used for actually displaying the Molecule in the application. In this case it's text based, can be stored in varchar or CLOB column. (column should have space for 6000+ characters) The molecule should be loaded form this text column and stored back into it.
How to can I achieve this using Hibernate?
|