Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Spring Data - @Query  RSS feed

 
BarmaleY Los
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to get a lists of notes from table, and I use this query:

When I try to run this, I get Error performing load command : org.hibernate.HibernateException: HHH000142: Javassist Enhancement failed: ru.mrchebik.model.User

However, I think it's not right query.

Note


NoteReposiory


In any case, will provide full stack of error http://pastebin.com/rZbfD2i2
If you want get more information, let me know.
 
BarmaleY Los
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Error was in the selects of fields.
 
It will give me the powers of the gods. Not bad for a tiny ad:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!