public class ForeignKeyOneToOneBinder extends java.lang.Object
Binds a HibernateOneToOneProperty whose foreign key resides on this side as a Hibernate ManyToOne value, and applies unique-key constraints as needed.
This handles the case where isValidHibernateOneToOne() is false — i.e. the
association cannot be mapped as a Hibernate OneToOne, so it falls back to a ManyToOne
column with an alternate unique key.
| Constructor and description |
|---|
ForeignKeyOneToOneBinder(ManyToOneBinder manyToOneBinder, SimpleValueColumnFetcher simpleValueColumnFetcher) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public ManyToOne |
bind(HibernateOneToOneProperty property, java.lang.String path)Binds the one-to-one property as a ManyToOne value and applies unique-key constraints. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Binds the one-to-one property as a ManyToOne value and applies unique-key constraints.