PersistenceProperty (Java EE 5)

Java EE API


javax.persistence Annotation Type PersistenceProperty


@Target(value={})
@Retention(value=RUNTIME)
public @interface PersistenceProperty

Implements: Annotation
@Target(value={})
@Retention(value=RUNTIME)

描述单个容器或持久性提供者属性。

该属性集中可以包含特定于供应商的属性,在创建实体管理器时容器会将这些属性传递给持久性提供者。供应商无法识别的属性将被忽略。

英文文档:

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.

Since:
Java Persistence 1.0

Required Element Summary
 String
 String
 

Element Detail

abstract public String name()
属性的名称
英文文档:

name

public abstract String name
The name of the property


abstract public String value()
属性的值
英文文档:

value

public abstract String value
The value of the property



Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!