aspose 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 Spring in Action this week in the Spring 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);
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: more than one, OneToOne relation gives problem