Thanks a lot Geert !
I switched to 3.0.17ga driver, and it now works like a charm. I'm ready
to go on my fascinating exploration of RIFE. :-)
Geert Bevin wrote:
Hi Laki,
I'm using :
MySQL : 4.1.12
RIFE : rife-1.4-jdk15.jar, it's the "regular" RIFE, not jumpstart
JDBC driver : 3.1.12
JDK : 1.5.0_04-b05
All of this running on Kubuntu OS : http://www.kubuntu.org
this took me quite some searching, first to be able to reproduce it
and then to attempt to track down the problem. Sadly I'm almost 100%
sure that RIFE is not at fault here, but rather MySQL's flaky JDBC
driver that doesn't seem to properly handle prepared statements for
4.x versions of the database.
There's good news for you though, if you use MySQL Connector/J
3.0.17ga (http://dev.mysql.com/downloads/connector/j/3.0.html)
everything seems to work as it should with MySQL 4.1.12.
However, if you can, I recommend you use MySQL 5, or even better
PostgreSQL 8.1.
For what i've seen here in France, while lot of developpers have
just discovered Hibernate, the few who have been using it are just
moving backwards, to good old JDBC, due to Hibernate's complexity.
It seems that RIFE's easy to configure persistance framework should
be a good selling argument ! But please keep this simplicity : i'm
afraid that adding too many features would drive to RIFE's
persistance to a Hibernate clone, and the inherent problems. It's
not such a big deal if we have to handle associations manually.
Don't fred, this is exactly the reason automatic handling of
associations isn't implemented yet. It will only be done if the
design of the implementation it totally sound both in terms of ease
of use and performance.
Best regards,
Geert
--
Geert Bevin Uwyn bvba GTalk: [EMAIL PROTECTED]
"Use what you need" Avenue de Scailmont 34 Skype: gbevin
http://www.uwyn.com 7170 Manage, Belgium AIM: geertbevin
gbevin at uwyn dot com Tel: +32 64 84 80 03 Mobile: +32 477 302 599
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users