Subversion Repositories WebE

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
33 PointedEar 1
//$Id: Lob.java 11282 2007-03-14 22:05:59Z epbernard $
2
//EJB3 Specification Copyright 2004-2006 Sun Microsystems, Inc.
3
package javax.persistence;
4
 
5
import static java.lang.annotation.ElementType.METHOD;
6
 
7
import static java.lang.annotation.ElementType.FIELD;
8
 
9
import static java.lang.annotation.RetentionPolicy.RUNTIME;
10
 
11
import java.lang.annotation.Target;
12
import java.lang.annotation.Retention;
13
 
14
/**
15
 * Specifies that a persistent property or field should be persisted as a large object to a
16
 * database-supported large object type. The Lob annotation may be used in conjunction with
17
 * the Basic annotation. A Lob may be either a binary or character type.
18
 *
19
 * The Lob type is inferred from the type of the persistent field or property, and except
20
 * for string and character-based types defaults to Blob.
21
 *  
22
 * @author Emmanuel Bernard
23
 */
24
@Target({METHOD, FIELD}) @Retention(RUNTIME)
25
public @interface Lob {}