Skip to content

Commit

Permalink
HHH-11986 - @LazyGroup is ignored on LazyToOne association with 'mapp…
Browse files Browse the repository at this point in the history
…edBy'

Fix tests failing on MariaDB

(cherry picked from commit 20422cd)
  • Loading branch information
vladmihalcea authored and gbadner committed Mar 9, 2018
1 parent cd5673c commit f54a755
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Expand Up @@ -11,6 +11,7 @@
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;
Expand All @@ -22,6 +23,7 @@
* @author Jan-Oliver Lustig, Sebastian Viefhaus
*/
@Entity
@Table(name = "LGMB_FROM")
@Access(AccessType.FIELD)
public class LGMB_From {

Expand Down
Expand Up @@ -6,6 +6,7 @@
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import org.hibernate.annotations.AccessType;

Expand All @@ -15,6 +16,7 @@
* @author Jan-Oliver Lustig, Sebastian Viefhaus
*/
@Entity
@Table(name = "LGMB_TO")
public class LGMB_To {
@Id
private static final long serialVersionUID = 1L;
Expand Down

0 comments on commit f54a755

Please sign in to comment.