HHH-7849 Formatting
This commit is contained in:
parent
02825e9fd6
commit
c75b045adc
|
@ -15,12 +15,10 @@ public class Component {
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
@Embedded
|
@Embedded
|
||||||
private Component.Emb emb;
|
private Component.Emb emb;
|
||||||
|
|
||||||
public Component() {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Access(AccessType.FIELD)
|
@Access(AccessType.FIELD)
|
||||||
@Embeddable
|
@Embeddable
|
||||||
public static class Emb {
|
public static class Emb {
|
||||||
|
|
|
@ -37,7 +37,10 @@ import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||||
public class ComponentJoinsTest extends BaseCoreFunctionalTestCase {
|
public class ComponentJoinsTest extends BaseCoreFunctionalTestCase {
|
||||||
@Override
|
@Override
|
||||||
public Class[] getAnnotatedClasses() {
|
public Class[] getAnnotatedClasses() {
|
||||||
return new Class[]{Person.class, Component.class, Component.Emb.Stuff.class};
|
return new Class[] {
|
||||||
|
Person.class,
|
||||||
|
Component.class,
|
||||||
|
Component.Emb.Stuff.class };
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@ -60,7 +63,7 @@ public class ComponentJoinsTest extends BaseCoreFunctionalTestCase {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestForIssue(jiraKey = "HHH-7849")
|
@TestForIssue(jiraKey = "HHH-7849")
|
||||||
public void testComponentJoins_HHH_7849() {
|
public void testComponentJoinsHHH7849() {
|
||||||
// Just checking proper query construction and syntax checking via database query parser...
|
// Just checking proper query construction and syntax checking via database query parser...
|
||||||
Session session = openSession();
|
Session session = openSession();
|
||||||
session.beginTransaction();
|
session.beginTransaction();
|
||||||
|
|
Loading…
Reference in New Issue