jakarta.persistence.SecondaryTable should be managed.
jakarta.persistence.SecondaryTable
| Modifier and Type | Method and Description |
|---|---|
| public boolean | optional()
Unless disabled, specifies that no row should be inserted in the secondary table if all the columns of the secondary table would be null. |
| public boolean | |
| public String |
| optional | back to summary |
|---|---|
| public boolean optional() Unless disabled, specifies that no row should be inserted in the secondary table if all the columns of the secondary table would be null. Furthermore, an outer join will always be used to read the row. Thus, by default, Hibernate avoids creating a row containing only null column values. | |
| owned | back to summary |
|---|---|
| public boolean owned() If enabled, Hibernate will never insert or update the columns of the secondary table. This setting is useful if data in the secondary table belongs to some other entity, or if it is maintained externally to Hibernate. | |
| table | back to summary |
|---|---|
| public String table() The name of the secondary table, as specified by
| |