This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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
 
It's not a secret anymore!