Skip to content
  • Home
  • About
Search
Close

Yiğit Darçın's Blog

Day: March 21, 2016

bad value for type long exception for Lob fields in Hibernate

March 21, 2016June 11, 2016 yigitdarcinLeave a comment

If you are getting ‘bad value for type long’ exception in hibernate with Lob fields, add

@Type(type = "org.hibernate.type.TextType")

to @Lob fields. 


 

Blogs

March 2016
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  
« Oct   Apr »

RSS

  • RSS - Posts
  • RSS - Comments

Archives

“You can’t rely on anyone these days, you gotta do everything yourself, don’t we? That’s ok, I came prepared, it’s a funny world we live in. Speaking of which, you know how I got these scars?”
Blog at WordPress.com.
Back to top
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy