Hi!
I am using JPA on a JBoss 4.2 GA and the underlying Hibernate version is v3.2.1. My RDBMS is MySQL 5!
I have an EJB 3.0 Entity bean and it has 2 relationships of type OneToOne . Fetch Type Eager. 2 diffrent tables
Code:
    @OneToOne(cascade={CascadeType.ALL}, fetch=FetchType.EAGER)
    private ClassA insA;
    
    @OneToOne(cascade={CascadeType.ALL}, fetch=FetchType.EAGER)
    private ClassB insB;
Μy application wont deploy if both of these relationships have EAGER Fetch type
Code:
Caused by: org.hibernate.HibernateException: cannot simultaneously fetch multiple bags 
Ι am aware of the same proble regarding OneToMany relationships and the proposed solutions , according to 
this post and several others!
That means that the problem now must be known to OneToOne EAGER relationships as well?
Of course if I make Lazy one of them or remove one of them the app is being deployed!
Any hints would be much appreciated!