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

Help configuring Entities for existing tables

 
Rj Ewing
Ranch Hand
Posts: 91
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new to jpa/hibernate/spring-data-jpa and am getting the following error for my one-to-many mapping of expedition to bcid:

Could not determine type for: java.util.Set, at table: expeditions, for columns: [org.hibernate.mapping.Column(bcids)]





Any ideas?
 
Rj Ewing
Ranch Hand
Posts: 91
1
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so the problem was mixing field and getter annotations
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rj Ewing wrote:so the problem was mixing field and getter annotations

Glad to hear you have fixed your issue yourself

Thanks for coming back and sharing your solution! Might be useful for other ranchers as well. Have a cow!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic