Subject | Re: [Firebird-Java] Simple typing question |
---|---|
Author | Mark Rotteveel |
Post date | 2010-07-11T06:44:07Z |
Could you please post the full stacktrace, and more details on your table structure and the class (and the hibernate mapping if not using annotations)?
Mark
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
Mark
> 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]
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01