all java classes extend the class Object, so they are all objects, why should you want to find out if a class is an Object. I do not understand your purpose for this compare.
If a field(property) in a EJB(CMP) declares as Object(BLOB in DB), how can I use WHERE CLAUSE in EJB-QL to compare two fields.
select object(a) from MyEJB as a where a.x = ?1
The java type of a.x is java.lang.Object,
It failed when deployment. How can I compare the field with Object(BLOB) type in ejb-ql ?