}
public void testOtherDefaults() throws Exception {
getDbHelper().deleteAll("PropertyDefaultsOtherEntity");
PropertyDefaultsOtherEntity o1 = new PropertyDefaultsOtherEntity();
o1.setString("abc");
o1.setBigInt(new BigInteger("2"));
o1.setBigDecimal(new BigDecimal("3.5"));
o1.setByteArray(new byte[] {
1, 2
});
o1.setByteWrapperArray(new Byte[] {
new Byte("1"), new Byte("2")
});
o1.setCharArray(new char[] {
'a', 'b'
});
o1.setCharWrapperArray(new Character[] {
new Character('a'), new Character('b')
});
o1.setEnumType(EnumType.b);
o1.setSerializableType(new SerializableType("c"));
getEntityManager().persist(o1);
getEntityManager().getTransaction().commit();
assertEquals("abc", getDbHelper().getObject(