@Test public void storesAsVarChar() { int[] types = this.type.sqlTypes(); Assert.assertEquals(1, types.length); Assert.assertEquals(Types.VARCHAR, types[0]); }
@Override public int[] sqlTypes() { return new int[] { Types.VARCHAR }; }
DocumentReferenceType implements UserType { @Override public int[] sqlTypes() { return new int[] { Types.VARCHAR }; } }
DocumentReferenceType implements UserType { @Override public int[] sqlTypes() { return new int[] { Types.VARCHAR }; }  }
DocumentReferenceType implements UserType { @Override public int[] sqlTypes() { return new int[] { Types.VARCHAR }; }  @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); }
DocumentReferenceType implements UserType { @Override public int[] sqlTypes() { return new int[] { Types.VARCHAR }; }  @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);  }