[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5391) JUnit fails when we try to execute "Update queries via SQL"

Dhaval Patel (JIRA) noreply at atlassian.com
Wed Jul 21 06:40:35 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=37860#action_37860 ] 

Dhaval Patel commented on HHH-5391:
-----------------------------------

Thanks
Could you please tell me maven repository where this is available
I checked http://repository.jboss.org/maven2/ but 3.5.3 is not available.


> JUnit fails when we try to execute "Update queries via SQL"
> -----------------------------------------------------------
>
>                 Key: HHH-5391
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5391
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: query-sql
>            Reporter: Dhaval Patel
>
> We are trying to run our test cases via JUnit 
> We are using SQL queries in our DAO layer.
> It runs fine when we test the code from Web (UI) client.
> However when test the code from JUnit we get the following error:
> java.lang.UnsupportedOperationException: Update queries only supported through HQL
> Hibernate version: 3.2.0.ga
> Do we have a solution for this? 

-- 
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list