diff options
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/jpa2/MapKeyJoinColumnAction.java')
-rw-r--r-- | tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/jpa2/MapKeyJoinColumnAction.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/jpa2/MapKeyJoinColumnAction.java b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/jpa2/MapKeyJoinColumnAction.java index a8fc66e10..c291de2a2 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/jpa2/MapKeyJoinColumnAction.java +++ b/tests/org.eclipse.emf.teneo.hibernate.test/src/org/eclipse/emf/teneo/hibernate/test/emf/jpa2/MapKeyJoinColumnAction.java @@ -51,7 +51,7 @@ public class MapKeyJoinColumnAction extends AbstractTestAction { { store.beginTransaction(); final Images images = store.getObject(Images.class); - + Assert.assertTrue(images.getPhotoParts().size() == 2); for (PhotoPart pp : images.getPhotoParts().keySet()) { final String val = images.getPhotoParts().get(pp); @@ -68,8 +68,7 @@ public class MapKeyJoinColumnAction extends AbstractTestAction { ResultSet rs = null; try { stmt = conn.createStatement(); - rs = stmt - .executeQuery("select PARTS_NAME from PHOTOPARTS_MAP"); + rs = stmt.executeQuery("select PARTS_NAME from PHOTOPARTS_MAP"); Assert.assertTrue(rs.next()); Assert.assertTrue(rs.next()); Assert.assertFalse(rs.next()); |