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
|
Supported. Plesae download the laest HXTT Hibernate Support Package.
|
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
|
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.
|
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?
|
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");
|
Solved for hibernate validation. But the same dialect generates database schema with columns of type ole.
|
>But the same dialect generates database schema with columns of type ole.
The ole type of MS Acess is longvarbinary(CLOB)
|