transform db lookup table to xml schema

Discussion in 'Java' started by s o, Apr 12, 2005.

  1. s o

    s o Guest

    Hi all,

    I'm creating a xml schema for my existing database. I've about a dozen
    lookup tables. I figured the
    most logical way to represent them is to create have a simpletype for
    each table and enumerate the values inside each type. The only
    drawback I see is that this makes my schema tightly coupled to my db,
    for any change in the lookup values, I'd have to change the schema,
    regenerate the JAXB classes, etc. Is there a better way than using
    enum or is there way to do dynamicly load the values? Thanks.

    s o
     
    s o, Apr 12, 2005
    #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. Markus
    Replies:
    1
    Views:
    1,614
    Markus
    Nov 23, 2005
  2. Ian Mayo
    Replies:
    0
    Views:
    491
    Ian Mayo
    Jun 2, 2004
  3. s o
    Replies:
    1
    Views:
    725
    Martin Honnen
    Apr 12, 2005
  4. Stanimir Stamenkov
    Replies:
    3
    Views:
    1,296
    Stanimir Stamenkov
    Apr 25, 2005
  5. Replies:
    3
    Views:
    2,961
Loading...

Share This Page