0 Replies Latest reply on Jan 8, 2002 4:38 AM by yaorong

    Chinese Problem with InterBase CMP

    yaorong

      Hi,
      I use the jboss2.4.3+InterBase6.0(I set the database encoding to GB2312 or ISO8859_1). I debug the program, find that the values in CMP ejbCreate() method are right(display Chinese), but stored in database one Chinese character is converted to one "?".
      And I try to give Charset in jboss.jcml like the follows:

      org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl
      HRMSDB
      jdbc:interbase://192.168.82.125/d:/HRMS.GDB
      charSet=ISO8859_1;user=user;password=password


      But the CMP throws the Exception:Could not create entity:java.lang.NullPointerException.

      Anyone can give me an hand?