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. Advertisements

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:
    994
    Guest
    Jun 29, 2004
  2. Markus
    Replies:
    1
    Views:
    1,945
    Markus
    Nov 23, 2005
  3. Rabe
    Replies:
    3
    Views:
    742
    Martin Honnen
    Aug 15, 2004
  4. Joyce
    Replies:
    0
    Views:
    714
    Joyce
    Mar 1, 2005
  5. Stanimir Stamenkov
    Replies:
    3
    Views:
    1,581
    Stanimir Stamenkov
    Apr 25, 2005
  6. 7stud
    Replies:
    11
    Views:
    1,073
    Dennis Lee Bieber
    Mar 20, 2007
  7. Steve Drach
    Replies:
    3
    Views:
    458
    Thomas E Enebo
    Jun 20, 2004
  8. Boni Satani
    Replies:
    0
    Views:
    358
    Boni Satani
    Jan 9, 2014
Loading...