All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.annotations.Fetch Maven / Gradle / Ivy

There is a newer version: 3.5.6-Final
Show newest version
//$Id: Fetch.java 14736 2008-06-04 14:23:42Z hardy.ferentschik $
package org.hibernate.annotations;

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

/**
 * Define the fetching strategy used for the given association
 *
 * @author Emmanuel Bernard
 */
@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Fetch {
	FetchMode value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy