Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v6.0
  HXTT Cobol v3.0
  HXTT DBF v6.0
  HXTT Excel v5.0
  HXTT Paradox v6.0
  HXTT Text(CSV) v6.0
  Buy Now
  HXTT XML v2.0
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 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 Xing Tian Tai Ltd. of Beijing City. | All Rights Reserved. | Privacy | Legal | Sitemap