Modifier and Type | Required Element and Description |
---|---|
String |
appliesTo
name of the targeted table
|
Modifier and Type | Optional Element and Description |
---|---|
String |
comment
define a table comment
|
FetchMode |
fetch
If set to JOIN, the default, Hibernate will use an inner join to retrieve a
secondary table defined by a class or its superclasses and an outer join for a
secondary table defined by a subclass.
|
ForeignKey |
foreignKey
Defines the Foreign Key name of a secondary table
pointing back to the primary table
|
Index[] |
indexes
Indexes
|
boolean |
inverse
If true, Hibernate will not try to insert or update the properties defined by this join.
|
boolean |
optional
If enabled, Hibernate will insert a row only if the properties defined by this join are non-null
and will always use an outer join to retrieve the properties.
|
SQLDelete |
sqlDelete
Defines a custom SQL delete statement
Only applies to secondary tables
|
SQLInsert |
sqlInsert
Defines a custom SQL insert statement
Only applies to secondary tables
|
SQLUpdate |
sqlUpdate
Defines a custom SQL update statement
Only applies to secondary tables
|
public abstract String appliesTo
public abstract Index[] indexes
public abstract String comment
public abstract ForeignKey foreignKey
public abstract FetchMode fetch
public abstract boolean inverse
public abstract boolean optional
public abstract SQLInsert sqlInsert
public abstract SQLUpdate sqlUpdate
public abstract SQLDelete sqlDelete
Copyright © 2018 JBoss by Red Hat. All rights reserved.