Code example for AbstractSingleColumnStandardBasicType

Methods: getJavaTypeDescriptor

0
 
    public abstract void doNullSafeSet(PreparedStatement preparedStatement, Object value, int index, SessionImplementor session) throws SQLException, IllegalArgumentException, IllegalAccessException, InvocationTargetException;
 
    @SuppressWarnings({ "rawtypes", "unchecked" }) 
    public String objectToSQLString(Object object) {
    	final JavaTypeDescriptor desc = type.getJavaTypeDescriptor();
    	return desc.toString(object);
    } 
 
    @SuppressWarnings({ "rawtypes", "unchecked" }) 
    public String toXMLString(Object object) {
    	final JavaTypeDescriptor desc = type.getJavaTypeDescriptor();
    	return desc.toString(object);
    } 
 
    public Object fromXMLString(String string) {
		return type.fromString(string);
    } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE