When deleting an instance which has joined subclasses hibernate throws an exception

Description

When deleting an instance which has joined subclasses hibernate throws an exception if running on top of
InformixDB claiming that the database dialect used does not support temporary tables.
InformixDB does in fact support temporary tables - hibernate just does not know this -
so I am requesting that Hibernate and/or
the database dialect is improved so that these deletes are made possible.
At the following address you will find a description of
the SQL needed to create temporary tables with InformixDB

I am using informix9 and the informixdb dialect.
I have taken the liberty of filing this as a critical bug
as it means I cannot carry out certain deletions which are needed in my system.
Below you will find the stack trace I encounter.
org.hibernate.HibernateException: cannot perform multi-table deletes using dialect not supporting temp tables
at org.hibernate.hql.ast.exec.MultiTableDeleteExecutor.<init>(MultiTable
DeleteExecutor.java:40)
at org.hibernate.hql.ast.QueryTranslatorImpl.buildAppropriateStatementEx
ecutor(QueryTranslatorImpl.java:423)
at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorIm
pl.java:172)
at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl
.java:103)
at org.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.jav
a:473)
at org.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:1060)
at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1041)
at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:89)

Thank you for looking into this issue.
lixiaodi
email :lixiaodi@gmail.com

Activity

Show:

Brett Meyer March 3, 2014 at 3:40 PM

Bulk rejecting issues lacking a test case or recent response.

Brett Meyer December 19, 2013 at 10:31 PM

Note: In an attempt to clean up the HHH JIRA, we will be rejecting any ticket that sits in the "Awaiting Test Case" state for 2-3 months with no response. So, if this issue is critical to you, please attach a reproducing test case ASAP. Thanks!

Brett Meyer December 18, 2013 at 9:08 PM

If this is still an issue on ORM 4.2 or 4.3, anyone have a test case to attach?

Rejected

Details

Assignee

Reporter

Original estimate

Time tracking

No time logged8h remaining

Components

Affects versions

Priority

Created March 25, 2006 at 3:39 AM
Updated March 3, 2014 at 3:40 PM
Resolved March 3, 2014 at 3:40 PM

Flag notifications