// sql type information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// todo : this can be made a lot smarter, but for now this will suffice. currently we only handle single value bindings
if ( SingularAttribute.class.isInstance( attributeBinding.getAttribute() ) ) {
final Value value = SingularAttributeBinding.class.cast( attributeBinding ).getValue();
if ( SimpleValue.class.isInstance( value ) ) {
SimpleValue simpleValue = (SimpleValue) value;
if ( simpleValue.getDatatype() == null ) {
simpleValue.setDatatype(
new Datatype(