[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Oracle 10g in JBoss4.0.5
mhammam
do-not-reply at jboss.com
Wed May 2 12:42:09 EDT 2007
Hi all;
My application run on JBoss SA using oracle9i successfuly, i use an appropriate object to map CLOB object.
but when i change oracle 9i with oracle 10g (driver changement ojdbc14.jar) all CLOB objects in database aren't loaded.
i use the following method in the usertype classes to read CLOB object :
----------------------*
public Object nullSafeGet(ResultSet rs, String[] names, Object owner) throws SQLException {
Reader clobReader = rs.getCharacterStream(names[0]);
return UserTypeLobHelper.readCLOB(clobReader);
}
----------------------*
in oracle9i ---> clobReader is not null;
in oracle 10g ---> clobReader is null;
thank's for your help;
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042521#4042521
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042521
More information about the jboss-user
mailing list