to use LobHandler

==goal==
insert/select BCLob data into/from DB.

==exception==
IllegalStateException

==solution==
set oracleLobHandler and simpleNativeJdbcExtractor
then di the lobHandler into the sqlMapClient.

==log==
Caused by:
java.lang.IllegalStateException: No LobHandler found for configuration - lobHandler property must be set on SqlMapClientFactoryBean
at org.springframework.orm.ibatis.support.AbstractLobTypeHandler.(AbstractLobTypeHandler.java:78)
at org.springframework.orm.ibatis.support.AbstractLobTypeHandler.(AbstractLobTypeHandler.java:70)
at org.springframework.orm.ibatis.support.BlobSerializableTypeHandler.(BlobSerializableTypeHandler.java:52)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1263)
at com.ibatis.sqlmap.engine.builder.xml.SqlMapParser$12.process(SqlMapParser.java:252)
... 91 more
2008-01-31 00:29 : __orm__ibatis : コメント : 0 : トラックバック : 0 :
コメントの投稿
非公開コメント

« next  ホーム  prev »

search

ad



counter


tag cloud

category cloud