Top Description Methods
org.hibernate.annotations

public @Interface JoinFormula

extends Annotation
Annotations
@Target:METHOD, FIELD
@Retention:RUNTIME
Imports
java.lang.annotation.Retention, .Target

To be used as a replacement for @JoinColumn in most places. The formula has to be a valid SQL fragment
Author
Sharath Reddy

Method Summary

Modifier and TypeMethod and Description
public String
referencedColumnName()

The column this formula references.

public String
value()

The formula.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

referencedColumnNameback to summary
public String referencedColumnName()

The column this formula references.

valueback to summary
public String value()

The formula.