Open GoogleCodeExporter opened 9 years ago
The same is happening to me with the latest release.
I have created a table:
CREATE TABLE foo (bar VARCHAR(30));
And when I query it with:
SELECT bar FROM foo;
I get:
org.hibernate.MappingException: No Dialect mapping for JDBC type: 0
Original comment by ionat...@gmail.com
on 6 May 2010 at 12:09
On modifying the SQLiteDialect class as shown below, I'm able to overcome the
discussed problem.
public class SQLiteDialect extends Dialect {
public SQLiteDialect() {
super();
...
...
...
registerColumnType(Types.NULL, "null");
registerHibernateType(Types.NULL, "null");
}
...
...
}
Original comment by sangeeth...@gmail.com
on 13 Jul 2010 at 10:20
Original issue reported on code.google.com by
hcqen...@gmail.com
on 2 Dec 2009 at 8:08