ygu | 2013-10-31 06:24:34.0 | |
Hi,
We are getting the error: Caused by: org.hibernate.HibernateException: Wrong column type in APPUSER for column id. Found: integer, expected: int when we start hibernate with schema validation. It is not reproduced with other types of databases. We've sent to support the sample app to reproduce the error. Thanks in advance | ||
HXTT Support | 2013-10-31 21:19:27.0 | |
Supported. Plesae download the laest HXTT Hibernate Support Package. | ||
ygu | 2013-11-01 01:38:59.0 | |
Solved for integer with int but this time we have this:
Caused by: org.hibernate.HibernateException: Wrong column type in BumpTemplate for column template. Found: ole, expected: blob | ||
HXTT Support | 2013-11-01 02:11:38.0 | |
Because ole and long doesn't exist in MS Access so that those types have been mapped to other types. Please redownload the laest HXTT Hibernate Support Package. | ||
ygu | 2013-11-01 03:28:30.0 | |
The latest doawnload, didn't fix the issue issue but I get it work replacing
registerColumnType(Types.OTHER, "blob"); with registerColumnType(Types.BLOB, "ole"); in the dialect. We have now this: Found: longvarchar, expected: clob trying replacing this: registerColumnType(Types.LONGVARCHAR, "longvarchar"); with registerColumnType(Types.CLOB, "longvarchar"); didn't fix. Any clue? | ||
HXTT Support | 2013-11-01 05:55:24.0 | |
Reupload.
>trying replacing this: >registerColumnType(Types.LONGVARCHAR, "longvarchar"); >with >registerColumnType(Types.CLOB, "longvarchar"); I think you shoul replace registerColumnType( Types.CLOB, "clob" ); with registerColumnType(Types.CLOB, "longvarchar"); | ||
ygu | 2013-11-01 06:26:12.0 | |
Solved | ||
ygu | 2013-11-01 10:56:16.0 | |
Solved for hibernate validation. But the same dialect generates database schema with columns of type ole. | ||
HXTT Support | 2013-11-01 16:09:33.0 | |
>But the same dialect generates database schema with columns of type ole.
The ole type of MS Acess is longvarbinary(CLOB) |