aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
MappingNotFoundException
org.hibernate.InvalidMappingException: Could not parse mapping document from resource
Using Hibernate, but tables are not saved
Problem with mapping .xml file with POJO...
Joining tables