Re: How to set Java / JDBC / SQL type mapping with Open EJB ?

2008-11-07 Thread Olivier THIERRY
I had a response about this problem, and this due to HSQDLB itself, not Hibernate neither OpenEJB. Actually HSQLDB nevers use Java float internally, just doubles, so I should define my properties as double instead of float. Olivier 2008/11/6 Olivier THIERRY <[EMAIL PROTECTED]> > Thanks for your

Re: How to set Java / JDBC / SQL type mapping with Open EJB ?

2008-11-06 Thread Olivier THIERRY
Thanks for your response. I should have known this was a problem with JPA implementation since the problem is the same when using Hibernate console, and Open EJB is not involved in this case ! Anyway I can't test with Open JPA because I use some specific Hibernate features. So I will ask my quest

Re: How to set Java / JDBC / SQL type mapping with Open EJB ?

2008-11-05 Thread David Blevins
On Nov 4, 2008, at 7:52 AM, Olivier THIERRY wrote: But it nevers returns any result, while I have no problem running the similar queries with string or int columns instead of float one ! So it's just a problem with floats. Moreover using Hibernate console, I could make it work but I had to

How to set Java / JDBC / SQL type mapping with Open EJB ?

2008-11-04 Thread Olivier THIERRY
Hi, I use Open EJB 3.0 as embedded server to run unit tests, with Hibernate 3.2.6.ga as JPA implementation and HSQLDB as embedded database (memory mode). It works perfect, much better than others I tried to use until now (JBoss embedded for example). Anyway I encounter a problem I can't find how