[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3622) Typedefs do not work in sql-query's return-scalar.

tenwit (JIRA) noreply at atlassian.com
Mon Nov 24 17:01:15 EST 2008


Typedefs do not work in sql-query's return-scalar.
--------------------------------------------------

                 Key: HHH-3622
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3622
             Project: Hibernate Core
          Issue Type: Bug
          Components: query-sql
    Affects Versions: 3.2.1
            Reporter: tenwit
            Priority: Minor


Searched for exisitng issues and through the release notes for newer versions, I don't think that this one has been spotted yet.

Found this with more sensible code, but this simple excerpt fails in the same way:
{code}
  ...
  <typedef class="org.hibernate.type.IntegerType" name="IT" />
  <sql-query name="testQuery" callable="true">
    <return-scalar column="TestCol" type="IT">
    { call testProc() }
  </sql-query>
{code}

Replacing 'type="IT"' with 'type="org.hibernate.type.IntegerType"' works fine.
You'll have to create a suitable stored proc to test this, I guess.


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