Well guys, I have encountered a problem using composed primary key with JPA and Hibernate and I hope to find some help in here.
When I execute the following query:
The hibernate is creating the following SQL:
After the execution, I am getting the following JDBC Exception to Oracle:
As we can see, the SQL that hibernate has created is using 2 parameters on the count() function. I think the problem is it. The question is, Am I doing something wrong, or it is a bug?
The compose key object and the entity are following:
Thank you.
When I execute the following query:
The hibernate is creating the following SQL:
After the execution, I am getting the following JDBC Exception to Oracle:
As we can see, the SQL that hibernate has created is using 2 parameters on the count() function. I think the problem is it. The question is, Am I doing something wrong, or it is a bug?
The compose key object and the entity are following:
Thank you.