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

H 3.2 and createSQLQuery

 
Jeff Horan
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the old way of doing native sql has been deprecated. I see the new functions available at createSQLQuery().<newfunctions> but it does not seem very practical to use pre-existing sql.

I have a lot of existing sql and would like to use it. It also has variable inputs designated with a prefixed colon. My question is: Can i still use the sql with the colon notation or do I have to change them all to the {} notation?

Where can I find info on this topic besides Manning's MEAPS? There is nothing in the latest H3 docs.

Thanks
 
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
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!