File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes more than one, OneToOne relation gives problem    Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "more than one, OneToOne relation gives problem    " Watch "more than one, OneToOne relation gives problem    " New topic
Author

more than one, OneToOne relation gives problem

deepan thiagu
Greenhorn

Joined: May 15, 2007
Posts: 18
This is my bean class structure

Here Tblproduct is my main table , I need to make a relation with all other subcategory products table.
But when I try to add the more than one OneToOne relation within product table it gives following error

is there any help how to overcome this problem

By
Thiagu.m
Bill Shirley
Ranch Hand

Joined: Nov 08, 2007
Posts: 457
what version of hibernate do you have?
(what app server are you deploying to?)
when is it throwing the exception? (on deploy, when invoking a method?)


Bill Shirley - bshirley - frazerbilt.com
if (Posts < 30) you.read( JavaRanchFAQ);
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: more than one, OneToOne relation gives problem
 
Similar Threads
Outer join between 3 entities in HQL
OneToOne relation gives problem
Edit primary key, if it's a foreign key
OneToOne composite key