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)
|
Please chek your HxttTextDialect.java file, it should contain
registerColumnType( Types.VARCHAR, "varchar($l)" );
|
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
|
the hibernate api says that the 254 is there a s a maximum length
so it's probably not the problem...
|
|
Please download the latest support package, then try again.
|