Subject | Simple typing question |
---|---|
Author | Yves Glodt |
Post date | 2010-07-10T23:35:42Z |
Hi,
I have a column in a table defined as "DOUBLE PRECISION", in a firebird 1.5
database (probably with dialect 1).
Using hibernate, what would be the correct type for such a column? I go for
"Double" in java, but am not sure since my app fails
with;
"org.hibernate.exception.SQLGrammarException: could not load an entity:"
and
"org.firebirdsql.jdbc.field.TypeConvertionException: Error converting to
int."
Best regards,
Yves
[Non-text portions of this message have been removed]
I have a column in a table defined as "DOUBLE PRECISION", in a firebird 1.5
database (probably with dialect 1).
Using hibernate, what would be the correct type for such a column? I go for
"Double" in java, but am not sure since my app fails
with;
"org.hibernate.exception.SQLGrammarException: could not load an entity:"
and
"org.firebirdsql.jdbc.field.TypeConvertionException: Error converting to
int."
Best regards,
Yves
[Non-text portions of this message have been removed]