Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  Buy Now
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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 Xin Tian Tai Ltd. of Beijing 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 © 1999-2017 Heng Xin Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap