Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

CLOB insertion/retrieval using Hibernate and spring framework in a WAS J2EE enviromen

mahesh krishnan
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to insert/update/retrieve a clob field in oracle database from my j2ee application using spring-hibernate framework where i am using JNDI for datasource and webshpere jta transactionmanager.In all forums i found that people are using oracleLobHandler and NativeJdbcExtractor.But when i used String on my java side,clob on Oracle side and text as my hibernate type in hbm.xml file, it is inserting the value to database.Can anyone please clarify me whther this approach is fine or it will make any issue while retrieving the value from database.
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!