2 Replies Latest reply on Oct 11, 2004 11:31 AM by dragos popa

    table name is automatically changed from "user" to "xuser"

    dragos popa Newbie

      Env: CMP 4.0.0 with MySQL 4.0.12

      I want to create CMP bean (UserEJB) mapped to the USER table; (worked fine in 3.x).However, after I ported the application to JBoss 4.0, the table name is automatically changed to XUSER instead of USER, ignoring my settings from jbosscmp-jdbc.xml (I have the same problem with 2 other table names: "TRIGGER" and "VIEW", translated into "XTRIGGER" and "XVIEW")...

      Do you have any ideea why am I getting this? The jbosscmp-jdbc.xml file looks ok to me...

      Note: I am able to manually create a table named USER, so the db seems to be ok...

      Thank you,

      - jbosscmp-jdbc.xml
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jbosscmp-jdbc PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 4.0//EN"