javax.persistence
Annotation Type PersistenceContext


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

Version:
$Rev: 467742 $ $Date: 2006-10-25 21:30:38 +0200 (Wed, 25 Oct 2006) $

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

name

public abstract java.lang.String name
Default:
""

unitName

public abstract java.lang.String unitName
Default:
""

type

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

properties

public abstract PersistenceProperty[] properties
Default:
{}


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