code: private boolean isOrdinal(int paramType) {
  		switch ( paramType ) {
  			case Types.INTEGER:
  			case Types.NUMERIC:
  			case Types.SMALLINT:
  			case Types.TINYINT:
  			case Types.BIGINT:
  			case Types.DECIMAL: //for Oracle Driver
  			case Types.DOUBLE:  //for Oracle Driver
  			case Types.FLOAT:   //for Oracle Driver
  				return true;
  			case Types.CHAR:
  			case Types.LONGVARCHAR:
  			case Types.VARCHAR:
  				return false;
  			default:
  				throw new HibernateException( "Unable to persist an Enum in a column of SQL Type: " + paramType );
  		}
  	}
docs: in truth we probably only need the types as injected by the metadata binder