javax.persistence
Annotation Type PersistenceContext


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

Version:
$Rev: 467742 $ $Date: 2006-10-25 12:30:38 -0700 (Wed, 25 Oct 2006) $

Optional Element Summary
 String name
           
 PersistenceProperty[] properties
           
 PersistenceContextType type
           
 String unitName
           
 

name

public abstract String name
Default:
""

unitName

public abstract String unitName
Default:
""

type

public abstract PersistenceContextType type
Default:
javax.persistence.PersistenceContextType.TRANSACTION

properties

public abstract PersistenceProperty[] properties
Default:
{}


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.