javax.persistence
注釈タイプ OneToOne


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface OneToOne


任意要素の概要
 CascadeType[] cascade
           
 FetchType fetch
           
 String mappedBy
           
 boolean optional
           
 Class targetEntity
           
 

targetEntity

public abstract Class targetEntity
デフォルト:
void.class

cascade

public abstract CascadeType[] cascade
デフォルト:
{}

fetch

public abstract FetchType fetch
デフォルト:
EAGER

optional

public abstract boolean optional
デフォルト:
true

mappedBy

public abstract String mappedBy
デフォルト:
""


Copyright © 2005-2007 The Seasar Foundation. All Rights Reserved.