This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Scalars in Hibernate

 
Naresh Chaurasia
Ranch Hand
Posts: 361
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to execute SQL in hibernate with the query given below, where qStr is string below



I perform the following operation.



I am not getting the correct values of the columns issu.instr_id, issu.iss_typ, but instead i only get
the first characters of the column.

Now if i use addScalar and execute the following code , I get the correct output. Not sure
why it is happening

Using scalar



Any suggestions will be appreciated.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic