• 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
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!