patch for feature 277509 - "Need native expressions to support JPQL
Entity Type filtering"
Changes: Expression now use a 'type()' to access an indicator field on
classes that use inheritance, converting class objects to/from field values
Reviewed by Tom Ware