In JPA can I have a read only boolean for if a row exists?
So to try to flesh it out a bit more... I have an object let's call User and I want to know if that user is an employee or not.  Employee's are their own object.  So what I want to do rather than have an employee object is to have a boolean that tells me whether or not that User is an employee.  I think this could be done with some form of readonly join?
In JPA can I have a read only boolean for if a row exists?
===

So to try to flesh it out a bit more... I have an object let's call User and I want to know if that user is an employee or not.  Employee's are their own object.  So what I want to do rather than have an employee object is to have a boolean that tells me whether or not that User is an employee.  I think this could be done with some form of readonly join?