User development,
A new message was posted in the thread "howto setup jpa using oracle 10g unicode
nvarchar2":
http://community.jboss.org/message/528413#528413
Author : Michael Glöckner
Profile :
http://community.jboss.org/people/michael.gloeckner
Message:
--------------------------------------------------------------
Hi Wolfgang,
thanks for the quick answer.
I tried your suggestions and modify the standardjbosscmp-jdbc.xml. Unfortunatily these
changes have been ignored.
I also updated my ojdbc14.jar to version 10.2.0.4.0 and changed my datasource from an
<xa-datasource> to a <local-tx-datasource>.
Additional i created an additional type-mapping Oracle9iUNICODE and it looks like it got
loaded.
2010-02-25 11:47:31,972 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary]
Starting jboss.jdbc:service=metadata
2010-02-25 11:47:32,050 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary]
Loading standardjbosscmp-jdbc.xml :
file:/D:/jboss-portal-2.7.2/server/profile2/conf/standardjbosscmp-jdbc.xml
..
2010-02-25 11:47:32,378 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary]
added type-mapping: Oracle9i
2010-02-25 11:47:32,378 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary]
added type-mapping: Oracle9iUNICODE
2010-02-25 11:47:32,409 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary]
added type-mapping: Oracle8
2010-02-25 11:47:32,425 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary]
added type-mapping: Oracle7
..
2010-02-25 11:47:32,503 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary]
Started jboss.jdbc:service=metadata
However, if my application got deployed jpa still creates varchar2(255) for all string
fields.
Do you know if there are any issues with jboss 4.2.3GA?
Any help would be appreciated!
Cheers,
Micha
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/528413#528413