Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.137
  HXTT Cobol 5.0.137
  HXTT DBF 7.1.138
  HXTT Excel 6.1.141
  HXTT Json 1.0.109
  HXTT Paradox 7.1.137
  HXTT PDF 2.0.137
  HXTT Text(CSV) 7.1.137
  Buy Now
  HXTT Word 1.1.137
  HXTT XML 4.0.138
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

Exception hibernate Text-driver
S. Sayhi
2007-11-19 02:04:25.0

I try to work with the HXTT-Text-Driver and hibernate. I get the following Exception:

Initial SessionFactory creation No Dialect mapping for JDBC type: 12
Exception in thread "main" java.lang.ExceptionInInitializerError
at util.HibernateUtil.(
at events.EventManager.main(
Caused by: org.hibernate.MappingException: No Dialect mapping for JDBC type: 12
at org.hibernate.dialect.TypeNames.get(
at org.hibernate.dialect.TypeNames.get(
at org.hibernate.dialect.Dialect.getTypeName(
at org.hibernate.mapping.Column.getSqlType(
at org.hibernate.mapping.Table.sqlCreateString(
at org.hibernate.cfg.Configuration.generateSchemaCreationScript(
at org.hibernate.tool.hbm2ddl.SchemaExport.(
at org.hibernate.impl.SessionFactoryImpl.(
at org.hibernate.cfg.Configuration.buildSessionFactory(
at util.HibernateUtil.(
... 1 more

Can you help me?

Thank you
Re:Exception hibernate Text-driver
HXTT Support
2007-11-19 05:13:47.0
Are you using HXTT's hibernate support package at
Re:Re:Exception hibernate Text-driver
S. Sayhi
2007-11-19 22:36:49.0
Yes I'm using the HXTT's hibernate support package at
Re:Re:Re:Exception hibernate Text-driver
HXTT Support
2007-11-20 05:32:32.0
>No Dialect mapping for JDBC type: 12
It's strange. At of, you should find
registerColumnType(Types.VARCHAR, 254, "varchar($l)");
Try to add
registerColumnType( Types.VARCHAR, "varchar($l)" );
and compile it to replace the older HxttTextDialect.class file to see whether you can work normally.
Re:Re:Re:Re:Exception hibernate Text-driver
S. Sayhi
2007-11-21 03:44:22.0
Thank you

It works now.

Search Key   Search by Last 50 Questions


Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap