@Test public void assembleReturnsNullForEmptyString() throws HibernateException, SQLException { Assert.assertNull(this.type.assemble("", null)); }
@Override public Object assemble(Serializable cached, Object owner) throws HibernateException { if (String.class.isInstance(cached)) { return resolve((String) cached); } return null; }
UserType implements org.hibernate.usertype.UserType { @Override public Object assemble(Serializable cached, Object owner) throws HibernateException { if (String.class.isInstance(cached)) { return resolve((String) cached); } return null; } }
UserType implements org.hibernate.usertype.UserType { @Override public Object assemble(Serializable cached, Object owner) throws HibernateException { if (String.class.isInstance(cached)) { return resolve((String) cached); } return null; }  }
UserType implements org.hibernate.usertype.UserType { @Override public Object assemble(Serializable cached, Object owner) throws HibernateException { if (String.class.isInstance(cached)) { return resolve((String) cached); } return null; }  @Override int[] sqlTypes(); @Override Class<?> returnedClass(); @Override boolean equals(Object x, Object y); @Override int hashCode(Object x); @Override Object nullSafeGet(ResultSet rs, String[] names, Object owner); @Override void nullSafeSet(PreparedStatement st, Object value, int index); @Override Object deepCopy(Object value); @Override boolean isMutable(); @Override Serializable disassemble(Object value); @Override Object assemble(Serializable cached, Object owner); @Override Object replace(Object original, Object target, Object owner); }
UserType implements org.hibernate.usertype.UserType { @Override public Object assemble(Serializable cached, Object owner) throws HibernateException { if (String.class.isInstance(cached)) { return resolve((String) cached); } return null; }  @Override int[] sqlTypes(); @Override Class<?> returnedClass(); @Override boolean equals(Object x, Object y); @Override int hashCode(Object x); @Override Object nullSafeGet(ResultSet rs, String[] names, Object owner); @Override void nullSafeSet(PreparedStatement st, Object value, int index); @Override Object deepCopy(Object value); @Override boolean isMutable(); @Override Serializable disassemble(Object value); @Override Object assemble(Serializable cached, Object owner); @Override Object replace(Object original, Object target, Object owner);  }