[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2877) native query (createSQL) cannot map the JDBC type text
Max Rydahl Andersen (JIRA)
noreply at atlassian.com
Wed Oct 3 06:36:24 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28333 ]
Max Rydahl Andersen commented on HHH-2877:
------------------------------------------
workaround: map the columns explicit with addScalar.
> native query (createSQL) cannot map the JDBC type text
> -------------------------------------------------------
>
> Key: HHH-2877
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2877
> Project: Hibernate3
> Issue Type: Bug
> Components: core
> Affects Versions: 3.2.5
> Environment: MySQL 5.0.45, InnoDB Schema.
> Hibernate 3.2.5, Hibernate Annotations 3.3.0
> Reporter: Bas van den Berg
> Priority: Minor
>
> When you invoke a SQLQuery in which a column of JDBC type text is queried an exception is thrown:
> org.hibernate.MappingException: No Dialect mapping for JDBC type: -1
> see topic http://forum.hibernate.org/viewtopic.php?p=2366178#2366178
--
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