on 1-11-27 15.31, Coetmeur, Alain at [EMAIL PROTECTED]
wrote:

> 
> 
> I'm using CMP EJB that contains DATE types on a HSQLDB database...
> 
> I can create many objects , and they are stored perfectly in database(by
> jaws after the ejbCreate method )...
> 
> however when I try to set a date in an EJB,
> with the result of another (in fact the value is not changed) I
> get a NumberFormatException in the hsqldb jdbc driver
> calld from jaws...

this is consistently java.sql.Date ? ...

<snip>

> I've tried to upgrade the hsqldb.jar with the one from source forge (1.61)
> but it does not contain the embeded server classes...

Yes the hsqldb.jar that ships with JBoss is patched with tree *new* classes.

> I'd like to install another free DB, but no other seems included
> with jboss and I'm afraid of the configuration afterward
> 
> is there a patch or a workaround for that ...
> 
> is InstantDB beter that HSQLDB ?
> what other choice for me (quick and lightweight)?
> 
>I dont have a compilable version of jboss
>not acess to CVS (becaus eoure firewall cannot tunnel SSH through http)

try : http://jboss.org:80/binary.jsp

> 
> the stack frame is....
> 
> 
> [EntitySynchronizationInterceptor] Store failed
> java.rmi.ServerException: Store failed; nested exception is:
> java.lang.NumberFormatException: 27 00:00:00.0
> java.lang.NumberFormatException: 27 00:00:00.0
> at java.lang.Integer.parseInt(Integer.java:423)
> at java.lang.Integer.parseInt(Integer.java:463)
> at java.sql.Date.valueOf(Date.java:91)

try : java.sql.Date consistently ? ...

/peter_f


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to