Yes, that is correct.  So it is going to do "resultSet.getString(zzz)" for any 
type it cannot address with the case statement.  This should be fine if your db 
is returning a LONGVARCHAR.  I see in the code also if you specify <dataSource 
convertType="false" ... /> it will do resultSet.getObject(zzz) on everything.  
I doubt it, but this might address your problem in the case of a jdbc driver 
doing something out of the ordinary.

James Dyer
Ingram Content Group
(615) 213-4311


-----Original Message-----
From: geeky2 [mailto:[email protected]] 
Sent: Tuesday, May 21, 2013 9:58 AM
To: [email protected]
Subject: RE: have developer question about ClobTransformer and DIH


james,

just trying to learn more about the source code,

looking at the JdbcDataSource.java, it looks like this is the default
behavior of the case statement in method getARow()

default:
              result.put(colName, resultSet.getString(colName));
              break;




--
View this message in context: 
http://lucene.472066.n3.nabble.com/have-developer-question-about-ClobTransformer-and-DIH-tp4064256p4064934.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to