package org.hibernate.annotations;

import static java.lang.annotation.ElementType.PACKAGE;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * Extends {@link javax.persistence.NamedQueries} to hold hibernate NamedQuery
 * objects
 *
 * @author Emmanuel Bernard
 * @author Carlos Gonzlez-Cadenas
 */
@Target({TYPE, PACKAGE})
@Retention(RUNTIME)
public @interface NamedQueries {
	NamedQuery[] value();
}