Java Data Objects and automatic schema migration

Discussion in 'Java' started by Rob, Apr 22, 2008.

  1. Rob

    Rob Guest

    Does there exist a tool or facility in jdo which will allow you to
    automatically migrate a schema based from the .jdo files? For example
    suppose I have a class called Foo with integer fields bar and baz and
    a metadata file that describes that and a table in the database that
    mirrors the java class. Now, let's say that I add a field to Foo
    called bim and make the appropriate additions to the metadata. Is
    there a tool that I can use to generate the DDL which would alter the
    Foo table in the database to match Foo v2.0? What about the DDL
    necessary to roll back?

    Thanks for your help,
    Rob
     
    Rob, Apr 22, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Guest
    Replies:
    1
    Views:
    770
    Guest
    Jun 29, 2004
  2. Markus
    Replies:
    1
    Views:
    1,545
    Markus
    Nov 23, 2005
  3. Rabe
    Replies:
    3
    Views:
    576
    Martin Honnen
    Aug 15, 2004
  4. Stanimir Stamenkov
    Replies:
    3
    Views:
    1,265
    Stanimir Stamenkov
    Apr 25, 2005
  5. Boni Satani
    Replies:
    0
    Views:
    171
    Boni Satani
    Jan 9, 2014
Loading...

Share This Page