public final enum

SourceType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ org.hibernate.annotations.SourceType

Class Overview

Where should Hibernate retrieve the value from? From the database, or from the current JVM?

Summary

Enum Values
SourceType  DB  Get the timestamp from the database. 
SourceType  VM  Get the timestamp from the current VM. 
Public Methods
String typeName()
static SourceType valueOf(String name)
final static SourceType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final SourceType DB

Get the timestamp from the database.

public static final SourceType VM

Get the timestamp from the current VM.

See Also

Public Methods

public String typeName ()

public static SourceType valueOf (String name)

public static final SourceType[] values ()