Top Description Methods
org.hibernate.annotations

public @Interface JoinColumnOrFormula

extends Annotation
Annotations
@Target:METHOD, FIELD
@Retention:RUNTIME
@Repeatable:JoinColumnsOrFormulas
Imports
java.lang.annotation.Repeatable, .Retention, .Target, javax.persistence.JoinColumn

Allows joins based on column or a formula. One of formula() or column() should be specified, but not both.
Author
Sharath Reddy

Method Summary

Modifier and TypeMethod and Description
public JoinColumn
column()

The column to use in joining.

public JoinFormula
formula()

The formula to use in joining.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

columnback to summary
public JoinColumn column()

The column to use in joining.

formulaback to summary
public JoinFormula formula()

The formula to use in joining.