| Author |
I could not find outer-join defination in one-to-one mapping
|
walter wang
Ranch Hand
Joined: Jun 02, 2001
Posts: 144
|
|
Dear All In Hibernate 3.1 reference I could not find outer-join defination for one-to-one mapping but in my project i am using it without problem Could anyone tell me where to find outer-join 's defination in one-to-one mapping ? Below is one-to-one mapping in Hibernate3.1 Reference docs http://www.hibernate.org/hib_docs/v3/reference/en/html_single/ <one-to-one name="propertyName" (1) class="ClassName" (2) cascade="cascade_style" (3) constrained="true|false" (4) fetch="join|select" (5) property-ref="propertyNameFromAssociatedClass" (6) access="field|property|ClassName" (7) formula="any SQL expression" (8) lazy="proxy|no-proxy|false" (9) entity-name="EntityName" (10) node="element-name|@attribute-name|element/@attribute|." embed-xml="true|false" foreign-key="foreign_key_name" /> Below is outer-join in one-to-one mapping used in my project <!-- bi-directional one-to-one association to Employee --> <one-to-one name="employee" class="org.hibernate.test.Employee" fetch="join" lazy="true" outer-join="auto" >
|
public class Walter{
public boolean is_Working_Now(boolean is_boss_Coming){
return is_boss_Coming;
}
|
 |
 |
|
|
subject: I could not find outer-join defination in one-to-one mapping
|
|
|