java.sql.SQLSyntaxErrorException: ORA-00932: inconsistent datatypes: expected NUMBER got BINARY Posted on March 28, 2012 by rogerdpack This means “you somehow passed a null parameter through that shouldn’t have been” (hibernate). Apparently.