[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4486) Account for MySQL's <DROP TEMPORARY TABLE> statement

Steve Ebersole (JIRA) noreply at atlassian.com
Thu Oct 8 17:19:42 EDT 2009


Account for MySQL's <DROP TEMPORARY TABLE> statement
----------------------------------------------------

                 Key: HHH-4486
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4486
             Project: Hibernate Core
          Issue Type: Bug
          Components: core, query-hql
            Reporter: Steve Ebersole
            Assignee: Steve Ebersole
             Fix For: 3.2.x, 3.3.x, 3.5


MySQL has a statement <DROP TEMPORARY TABLE> that is meant to be the corollary to <CREATE TEMPORARY TABLE>.  The important aspect is that the inclusion of the TEMPORARY keyword in each bypasses the implicit transaction commit from DDL execution.  Currently we use <CREATE TEMPORARY TABLE>, which is ok for use within a transaction, but then <DROP TABLE> which causes an implicit commit (and actually causes an immediate failure within an XA transaction).  For MySQL we should use <CREATE TEMPORARY TABLE> and <DROP TEMPORARY TABLE>.


-- 
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