[seam-issues] [JBoss JIRA] Commented: (JBSEAM-4376) EntityQuery.getCountEjbql on composite key table within Oracle doesn't work.

Ryan Slominski (JIRA) jira-events at lists.jboss.org
Wed Sep 15 10:48:28 EDT 2010


    [ https://jira.jboss.org/browse/JBSEAM-4376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12551067#action_12551067 ] 

Ryan Slominski commented on JBSEAM-4376:
----------------------------------------

This might be a hibernate issue.  See hibernate issue HHH-4044 (http://opensource.atlassian.com/projects/hibernate/browse/HHH-4044)

> EntityQuery.getCountEjbql on composite key table within Oracle doesn't work.
> ----------------------------------------------------------------------------
>
>                 Key: JBSEAM-4376
>                 URL: https://jira.jboss.org/browse/JBSEAM-4376
>             Project: Seam
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 2.2.0.GA
>            Reporter: David Thompson
>            Priority: Minor
>
> EntityQuery on a table with a composite primary key within an Oracle 10g database fails due to the fact that getCountEjbql fails trying to query. Oracle requires the setUseWildcardAsCountQuerySubject set to true. I have <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/> set in my persistence.xml, however, the code does not query with wildcard. This is related to the fix JBSEAM-3032.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list