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...
I'm working on NT4 with french locale configured...
maybe is it a classic date locale problem ?
I've seen message in the jboss forum about that problem...
but the only solution was to upgrate to jboss 3.0
[what I can't do, because I must deliver... tomorrow
don't laugh (I know, I'm late!),
it is a demo of opensource solution to a high-tech boss here
interested in opensource solution...
I'm finishing a portfolio optimization app, working with a corba
optimization engine... BTW I'll soon deliver my work on
jboss-iiop+jacorb+COSSnameservice here...
]
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...
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)
thanks in advance...
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)
at org.hsqldb.Column.convertString(Column.java:1001)
at org.hsqldb.Column.convertObject(Column.java:1084)
at
org.hsqldb.jdbcPreparedStatement.setObject(jdbcPreparedStatement.java:589)
at
org.jboss.pool.jdbc.PreparedStatementInPool.setObject(PreparedStatementInPoo
l.java:282)
at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.setParameter(JDBCCommand.java:33
4)
at
org.jboss.ejb.plugins.jaws.jdbc.JDBCStoreEntityCommand.setParameters(JDBCSto
reEntityCommand.java:134)
at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.java:159
)
at
org.jboss.ejb.plugins.jaws.jdbc.JDBCStoreEntityCommand.execute(JDBCStoreEnti
tyCommand.java:97)
at
org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.storeEntity(JAWSPersistenc
eManager.java:168)
at
org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenceManage
r.java:397)
at
org.jboss.ejb.EntityContainer.storeEntity(EntityContainer.java:252)
at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor$InstanceSynchronizati
on.beforeCompletion(EntitySynchronizationInterceptor.java:400)
at org.jboss.tm.TxCapsule.doBeforeCompletion(TxCapsule.java:1210)
at org.jboss.tm.TxCapsule.commit(TxCapsule.java:304)
at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:76)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:364)
at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:12
8)
at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:427)
at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerI
nvoker.java:395)
at java.lang.reflect.Method.invoke(Native Method)
at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
at sun.rmi.transport.Transport$1.run(Transport.java:152)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:148)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:7
06)
at java.lang.Thread.run(Thread.java:484)
--
Alain Coetmeur
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user