Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find() with dual primary key. #96

Open
GoogleCodeExporter opened this issue Nov 8, 2015 · 1 comment
Open

find() with dual primary key. #96

GoogleCodeExporter opened this issue Nov 8, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

NOTE: If you have a question rather than a bug report or feature request,
please post at http://groups.google.com/group/java-generic-dao .

What steps will reproduce the problem?
1. call GenericDAO.count<T,ID> when Object has dual Id without any relation 
another objects.
2.
3.

What is the expected output? What do you see instead?
as is:
 select (count((id1, id2)) as col  from ...

to be:
 select (count((id1)) as col  from ... or select (count((*)) as col  from ...

What version of the product are you using? On what operating system?
Ubuntu 12.04
hibernate-geneirc-dao 1.1.0
Springframework 3.1.1.RELEASE

Please provide any additional information below.
https://groups.google.com/group/java-generic-dao/browse_thread/thread/a0db38dedf
c0b1c6

Original issue reported on code.google.com by [email protected] on 22 May 2012 at 8:46

@GoogleCodeExporter
Copy link
Author

not find() , count()

Original comment by [email protected] on 22 May 2012 at 8:47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant