Michael Simons
commented
on an issue
Re: "java.lang.IllegalStateException: No supertype found" thrown on query with "COUNT" aggregate function
Hi,
just wanted to say thanks, works fine for me in 4.2.6
Add Comment
Hibernate ORM
/
HHH-7216
"java.lang.IllegalStateException: No supertype found" thrown on query with "COUNT" aggregate function
I have 2 entities:
{code}
@Entity
public class Transaction
{
@Id
@Column
private Integer trId;
...
}
{code}
{code}
@Entity
public class Form
{
@Id
@OneToOne
@JoinColumn( name = "trId" )
private Transaction transaction;
@Column
private String firstname;
...
}
{code}
And query:
{code}
private EntityManager em;
...
CriteriaBuilder cb = em.getCri...
This message was sent by Atlassian JIRA
(v6.1-OD-09-WN#6144-
sha1:62dfc48
)