Subversion Repositories WebE

Rev

View as "text/plain" | Blame | Last modification | View Log | RSS feed

1
//$Id: $
package javax.persistence;

import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Target;

/**
 * Describes a single container or persistence provider property.
 * Vendor specific properties may be included in the set of properties, and are passed to the persistence
 * provider by the container when the entity manager is created.
 * Properties that are not recognized by a vendor will be ignored.
 *  
 * @author Emmanuel Bernard
 */

@Target({})
@Retention(RUNTIME)
public @interface PersistenceProperty {
        /**
         * The name of the property
         */

        String name();
        /**
         * The value of the property
         */

        String value();
}