URIType extends AbstractSingleColumnStandardBasicType<URI> implements DiscriminatorType<URI> { @Override protected boolean registerUnderJavaType() { return true; } URIType(); @Override String toString(final URI value); @Override URI stringToObject(final String xml); @Override String objectToSQLString(final URI value,
                                    final Dialect dialect); @Override String getName();  }
@Test public void testRegisterUnderJavaType() { URIType t = new URIType(); assertTrue(t.registerUnderJavaType()); }