[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1483?page=c...
]
Gail Badner commented on HHH-1483:
----------------------------------
I've updated org.hibernate.dialect.Dialect in trunk to register Types.LONGVARCHAR and
Types.LONGVARBINARY to hibernate "text" and "image", respectively for
HHH-3892.
I also added some tests for selecting "image" and "text" properties
using native SQL and some tests for overriding CRUD operations for entities containing an
"image" or "text" property.
Lars, can you give it a try again? It should fix your issue this time.
Thanks,
Gail
MySQL5: No Dialect mapping for JDBC type: -1
--------------------------------------------
Key: HHH-1483
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1483
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.1.2
Environment: MySQL 5.0.18-nt
Reporter: Sergey Vladimirov
Assignee: Gail Badner
Priority: Minor
Attachments: hhh-1483-patch.txt
MySQL5: No Dialect mapping for JDBC type: -1
SELECT answpos,answer FROM votes_answers WHERE question=? ORDER BY answpos
mysql> describe votes_answers;
+----------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------+---------+------+-----+---------+-------+
| question | int(11) | NO | MUL | | |
| answpos | int(11) | NO | | | |
| answer | text | YES | | NULL | |
+----------+---------+------+-----+---------+-------+
mysql> describe temp;
+---------+---------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------+---------+------+-----+---------+-------+
| answpos | int(11) | NO | | 0 | |
| answer | text | YES | | NULL | |
+---------+---------+------+-----+---------+-------+
Please, let me know what to add to MySQL5Dialect :)
Will it be ok to add? :
registerColumnType( Types.LONGVARCHAR, "text" );
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira