Gunnar Hilling wrote:
Hello and Thanks
Changed the CacheImpl, will try this soon. I have autocommit set to 0 I think this is what i want, isn't it?
I don't know what you want ;-)
If you use useAutoCommit=0 and your DB does use autoCommit 'true' by default for connections, you are in big trouble (because DB commit immediately).
In most cases default setting do the job, except if you are in a managed environment. If you want to do performance tuning then changing 'useAutoCommit' will be helpful.
<snip from repository.dtd>
0 - OJB ignores the autoCommit setting of the connection and do not
try to change it. This mode could be helpfully if the
connection don't let you set the autoCommit state
(e.g. using datasources from application server).
</snip>regards, Armin
-Gunnar
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
