File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes How to add more fields Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "How to add more fields" Watch "How to add more fields" New topic

How to add more fields

kiran raja

Joined: May 11, 2004
Posts: 22
Hi guys,
In JDO datastore,can any one tellme how i could add more fields to my data store.That is, i already have a data store having 6 fields and as of latest,i have found a requirement that my software requires to have two more fields,how can i add these fields to the existing datastore retaining
all the previous records.I am using a File Object Store (FOStore)implementation to store my data

Does Sun reference implementation given any Schema mapping tool.

Waiting for replys

Erik Bengtson
Ranch Hand

Joined: Dec 06, 2003
Posts: 90
The JDO RI is suitable for learning the JDO technology but should not be used in real applications. Althought it's a good implementation, you don't have offical support from Sun. At least, you should contact Sun for a contract support.

Instead, you should use one of the many JDO open source implementations supporting relational databases.
I agree. Here's the link:
subject: How to add more fields
It's not a secret anymore!