I'm using the HQL editor to preview results for my queries.
My class is annotated that maps to a table with no primary key. I assign it a key by having an embeddable id key of all the columns in the table. After populating data, do a simple "from ClassName" expecting all the references to the entities. What I get is a result set of null references. The query seems like it can find the rows I am asking, it just that Hibernate seems to be having a hard time trying to recreate those entities. Anyone run into issues where the queries return a bunch of null references?
|