This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Hibernate annotations problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate annotations problem" Watch "Hibernate annotations problem" New topic
Author

Hibernate annotations problem

Mike Tihonchik
Greenhorn

Joined: Mar 20, 2008
Posts: 12
I am trying to use Hibernate annotations for mapping and I get following error:
org.hibernate.AnnotationException: Cannot find the expected secondary table: no servers available for annotated.Server
Here is my code:




I am using Derby as my database and I know I am getting connection to it...
any help would be appreciated...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate annotations problem
 
Similar Threads
org.hibernate.InvalidMappingException: Could not parse mapping document from resource
Joining tables
Problem with mapping .xml file with POJO...
Using Hibernate, but tables are not saved
MappingNotFoundException