NamedQueries (Java EE 5)

Java EE API


javax.persistence Annotation Type NamedQueries


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface NamedQueries

Implements: Annotation
@Target(value=TYPE)
@Retention(value=RUNTIME)

指定列出 Java Persistence 查询语言查询的数组。查询名称的范围限制在持久性单元内。
英文文档:

Specifies an array of named Java Persistence query language queries. Query names are scoped to the persistence unit.

Since:
Java Persistence 1.0

Required Element Summary
 NamedQuery[]
 

Element Detail

abstract public NamedQuery[] value()
指定 Java Persistence 查询语言查询所组成的数组。
英文文档:

value

public abstract NamedQuery[] value
An array of named Java Persistence query language queries.



Submit a bug or feature

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

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

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