Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mapping a join table with an intermediate entity

 
Carl Sayres
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to follow the pattern in Chapter 7 of Java Persistence with Hibernate (Listing 7.1). This is being used to reverse engineer a legacy database running on Oracle 10g r2.

I am getting the following exception:

org.hibernate.MappingException: Could not determine type for: example.Customer, at table: CUSTVISIBILITY, for columns: [org.hibernate.mapping.Column(customer)]

Here are the relevant (simplified) files:



Any help would be very appreciated!

Carl

[ September 24, 2008: Message edited by: Carl Sayres ]

[ September 24, 2008: Message edited by: Carl Sayres ]
[ September 24, 2008: Message edited by: Carl Sayres ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic