According to this section of the Hibernate documentation, I should be able to query any java class in HQL
http://docs.jboss.org/hibernate/core/3.3/reference/en/html/queryhql.html#queryhql-polymorphism
Unfortunately, when I run this query ...
"from Transaction trans where trans.envelopeId=:envelopeId"
I get the message "The transaction is not displayed [from Transaction trans where trans.envelopeId =: envelopeId]".
Transaction is an interface, I have entity classes that implement it, I want a collection of type Transaction to be returned in the HQL query.
source
share