Subversion Repositories WebE

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
33 PointedEar 1
//$Id: $
2
package javax.persistence;
3
 
4
import java.lang.annotation.Retention;
5
import static java.lang.annotation.RetentionPolicy.RUNTIME;
6
import java.lang.annotation.Target;
7
 
8
/**
9
 * Describes a single container or persistence provider property.
10
 * Vendor specific properties may be included in the set of properties, and are passed to the persistence
11
 * provider by the container when the entity manager is created.
12
 * Properties that are not recognized by a vendor will be ignored.
13
 *  
14
 * @author Emmanuel Bernard
15
 */
16
@Target({})
17
@Retention(RUNTIME)
18
public @interface PersistenceProperty {
19
        /**
20
         * The name of the property
21
         */
22
        String name();
23
        /**
24
         * The value of the property
25
         */
26
        String value();
27
}