XMI mapping problem / bug - Websphere

This is a discussion on XMI mapping problem / bug - Websphere ; Hi, The problem I'm having is when I use Generate -> EJB to RDB mapping and then generate the DDL and the Map.mapxmi using the top down method. All works fine except that certain fields get mapped incorrectly, a 1 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: XMI mapping problem / bug

  1. XMI mapping problem / bug

    Hi,

    The problem I'm having is when I use Generate -> EJB to RDB mapping and then
    generate the DDL and the Map.mapxmi using the top down method. All works
    fine except that certain fields get mapped incorrectly, a 1 gets appended to
    certain field in the generated .tblxmi file. For example CMP field called
    "level", "data" and "display" get renamed to "LEVEL1", "DATE1" and
    "DISPLAY1" in the genereated mapping files.

    I would appreciate any comments on this problem,

    Regards,

    Joel Shotton



  2. Re: XMI mapping problem / bug

    The cmp fields get remapped because the names you've used are SQL reserved
    names, so they can't appear in SQL statements.
    I didn't pay attention and I deployed my .ear to JBoss. There was a field
    named 'values', so I got an javax.sql.Exception, although in WAS worked just
    fine, because the field was renamed to 'VALUES1'.

    Best regards,
    Lau.


    "Joel Shotton" wrote in message
    news:bhfrbu$j7i$1@news.boulder.ibm.com...
    > Hi,
    >
    > The problem I'm having is when I use Generate -> EJB to RDB mapping and

    then
    > generate the DDL and the Map.mapxmi using the top down method. All works
    > fine except that certain fields get mapped incorrectly, a 1 gets appended

    to
    > certain field in the generated .tblxmi file. For example CMP field called
    > "level", "data" and "display" get renamed to "LEVEL1", "DATE1" and
    > "DISPLAY1" in the genereated mapping files.
    >
    > I would appreciate any comments on this problem,
    >
    > Regards,
    >
    > Joel Shotton
    >
    >




+ Reply to Thread