This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error in Oracle LONG mapping

 
Halcon Guatemala
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to @ll, thanks for read my post.
I'm getting the following error:


The query generated by Hibernate is

the MSJ_XML attribute is a table column, its type is LONG in an Oracle Database, I tried map it to "long":
in mapping file:

in model class:

But occurs the above errors.
Could I map my table attribute to another hibernate/java type?

Thanks in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic