[jboss-user] [EJB 3.0] New message: "Re: howto setup jpa using oracle 10g unicode nvarchar2"

Wolfgang Knauf do-not-reply at jboss.com
Mon Feb 22 10:04:53 EST 2010


User development,

A new message was posted in the thread "howto setup jpa using oracle 10g unicode nvarchar2":

http://community.jboss.org/message/527619#527619

Author  : Wolfgang Knauf
Profile : http://community.jboss.org/people/WolfgangKnauf

Message:
--------------------------------------------------------------
Hi,
 
there is a file "JBOSS_HOME\server\default\standardjbosscmp-jdbc.xml", which contains column type mappings.
 
If you change one of the "Oracle" type mappings to "nvarchar2" and activate the new type mapping in your "..-ds.xml" file, this should work.
 
Snippet from "hsqldb-ds.xml":

      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->      <metadata>         <type-mapping>Hypersonic SQL</type-mapping>      </metadata>

 
 
Hope this works (I never did something like this) ;-)
 
Wolfgang

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/527619#527619




More information about the jboss-user mailing list