Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access 7.1.131
  HXTT Cobol 5.0.131
  HXTT DBF 7.1.132
  HXTT Excel 6.1.135
  HXTT Json 1.0.103
  HXTT Paradox 7.1.131
  HXTT PDF 2.0.131
  HXTT Text(CSV) 7.1.131
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Word 1.1.131
  HXTT XML 4.0.132
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)

HXTT Text(CSV)
no dialect mapping
christian
2008-05-29 13:19:49.0
I get this when trying Text_JDBC30 with hibernate:

org.hibernate.MappingException: No Dialect mapping for JDBC type: 12
at org.hibernate.dialect.TypeNames.get(TypeNames.java:56)
at org.hibernate.dialect.TypeNames.get(TypeNames.java:81)
at org.hibernate.dialect.Dialect.getTypeName(Dialect.java:290)
at org.hibernate.mapping.Column.getSqlType(Column.java:182)
at org.hibernate.mapping.Table.sqlCreateString(Table.java:394)
at org.hibernate.cfg.Configuration.generateSchemaCreationScript(Configuration.java:848)
at org.hibernate.tool.hbm2ddl.SchemaExport.(SchemaExport.java:74)
at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:311)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915)
Re:no dialect mapping
HXTT Support
2008-05-29 23:12:22.0
Please chek your HxttTextDialect.java file, it should contain
registerColumnType( Types.VARCHAR, "varchar($l)" );
Re:Re:no dialect mapping
christian
2008-05-30 08:34:14.0
It does contain
registerColumnType(Types.VARCHAR, 254, "varchar($l)");

do I need to add
registerColumnType( Types.VARCHAR, "varchar($l)" );

or just remove the '254'

?

thanks
Re:Re:Re:no dialect mapping
chrsitian
2008-05-30 08:46:24.0
the hibernate api says that the 254 is there a s a maximum length

so it's probably not the problem...
Re:Re:Re:Re:no dialect mapping
HXTT Support
2008-05-30 19:25:18.0
Please download the latest support package, then try again.

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Sitemap