-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Create Parent Object from "file format data"
PostPosted: Wed Nov 17, 2010 10:00 am 
Newbie

Joined: Thu Sep 30, 2010 5:32 am
Posts: 4
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?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.