HHH-11986 - @LazyGroup is ignored on LazyToOne association with 'mappedBy'
Fix tests failing on MariaDB
This commit is contained in:
parent
4531b22e92
commit
20422cd76a
|
@ -11,6 +11,7 @@ import javax.persistence.GeneratedValue;
|
|||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.OneToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import org.hibernate.annotations.LazyGroup;
|
||||
import org.hibernate.annotations.LazyToOne;
|
||||
|
@ -22,6 +23,7 @@ import org.hibernate.annotations.LazyToOneOption;
|
|||
* @author Jan-Oliver Lustig, Sebastian Viefhaus
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "LGMB_FROM")
|
||||
@Access(AccessType.FIELD)
|
||||
public class LGMB_From {
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ import javax.persistence.GeneratedValue;
|
|||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.OneToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import org.hibernate.annotations.AccessType;
|
||||
|
||||
|
@ -15,6 +16,7 @@ import org.hibernate.annotations.AccessType;
|
|||
* @author Jan-Oliver Lustig, Sebastian Viefhaus
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "LGMB_TO")
|
||||
public class LGMB_To {
|
||||
@Id
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
|
Loading…
Reference in New Issue