[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5220?page=c...
]
Steve Ebersole commented on HHH-5220:
-------------------------------------
In reference to HHH-5063 at least, I wanted to point out the new dialect methods I added:
{code}
/**
* Does this dialect support `count(a,b)`?
*
* @return True if the database supports counting tuples; false otherwise.
*/
public boolean supportsTupleCounts() {
return false;
}
/**
* Does this dialect support `count(distinct a,b)`?
*
* @return True if the database supports counting disintct tuples; false otherwise.
*/
public boolean supportsTupleDistinctCounts() {
// oddly most database in fact seem to, so true is the default.
return true;
}
{code}
Note, that I said it is odd that most databases seem to
"supportsTupleDistinctCounts" only because most in fact seem to not
"supportsTupleCounts". The ANSI SQL spec in fact says both should be valid.
Unit tests related to HHH-5063 and HHH-5135 fail on some dialects
-----------------------------------------------------------------
Key: HHH-5220
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5220
Project: Hibernate Core
Issue Type: Bug
Components: testsuite
Affects Versions: 3.5.2
Reporter: Gail Badner
Assignee: Gail Badner
Fix For: 3.5.x, 3.6
The fixes for HHH-5063 and HHH-5135 are OK, but there are problems when using particular
dialects.
For example:
http://hudson.qa.jboss.com/hudson/job/hibernate-core-branch35-testsuite/1...
http://hudson.qa.jboss.com/hudson/job/hibernate-core-branch35-testsuite/1...
There may be other dialects that are affected as well.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira