[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3016) Syntax problem when defining a global temporary table in z/OS

Giuseppe Calignano (JIRA) noreply at atlassian.com
Fri Dec 14 03:47:56 EST 2007


Syntax problem when defining a global temporary table in z/OS
-------------------------------------------------------------

                 Key: HHH-3016
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3016
             Project: Hibernate3
          Issue Type: Bug
    Affects Versions: 3.2.5
         Environment: Hibernate 3.2.5 GA with DB2 v.8 on z/OS V1 R8
            Reporter: Giuseppe Calignano
            Priority: Blocker


Using the temporary table feature with z/OS, I found out a syntax problem with the statement generated by hibernate. In fact DB2 for z/OS does not support the "not logged" but the class DB2Dialect, in method getCreateTemporaryTablePostfix declares a "not logged" option.
So I tried to redefine the method getCreateTemporaryTablePostfix in the class DB2390Dialect, returning an empty string and it worked!

So my propose is to add this method to DB2390Dialect:

   public String getCreateTemporaryTablePostfix() {
      return "";
   }



http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/admin/r0003272.htm


http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db2.doc.sqlref/rdgtt.htm


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