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:gee...@hotmail.com] 
Sent: Tuesday, May 21, 2013 9:58 AM
To: dev@lucene.apache.org
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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to