Top Description Methods
org.hibernate.annotations

public @Interface SqlFragmentAlias

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

Defines an interpolated alias occurring in a SQL filter condition. Aliases are interpolated where placeholders of the form {name} occur, where name is the value specified by alias.

It's usually necessary to specify only one of entity and table to uniquely identify the alias that should be interpolated.

Author
Rob Worsnop

Method Summary

Modifier and TypeMethod and Description
public String
alias()

The alias within the fragment.

public Class<?>
entity()

The entity class associated with the alias.

public String
table()

The table corresponding to the alias.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

aliasback to summary
public String alias()

The alias within the fragment.

entityback to summary
public Class<?> entity()

The entity class associated with the alias.

tableback to summary
public String table()

The table corresponding to the alias.