HHH-7849 Formatting

This commit is contained in:
brmeyer 2012-12-10 14:15:53 -05:00
parent 02825e9fd6
commit c75b045adc
2 changed files with 13 additions and 12 deletions

View File

@ -15,12 +15,10 @@ public class Component {
@Id
private Long id;
@Embedded
private Component.Emb emb;
public Component() {
}
@Access(AccessType.FIELD)
@Embeddable
public static class Emb {

View File

@ -37,7 +37,10 @@ import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
public class ComponentJoinsTest extends BaseCoreFunctionalTestCase {
@Override
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
@ -60,7 +63,7 @@ public class ComponentJoinsTest extends BaseCoreFunctionalTestCase {
@Test
@TestForIssue(jiraKey = "HHH-7849")
public void testComponentJoins_HHH_7849() {
public void testComponentJoinsHHH7849() {
// Just checking proper query construction and syntax checking via database query parser...
Session session = openSession();
session.beginTransaction();