AW: WG: OJB do delete and insert instead of update

2006-05-17 Thread Josef Wagner
Hy Armin, here is my # # repository_rollen.xml # # class-descriptor class=de.on_ergy.lakon.data.model.Rollen table=rollen field-descriptor name=objId column=obj_id jdbc-type=INTEGER

Re: Error in beginTransaction!

2006-05-17 Thread Danilo Tommasina
Hi, try to set also the following: jdbc-level=3.0 driver=com.mysql.jdbc.Driver and use the newest mysql JDBC driver cheers, danilo Armin Waibel wrote: Hi Marcel, Marcel Souza wrote: Hello folks, I am stucked in a problem using OJB. I am trying to use MySQL and OJB but it always happens

Re: updating the primary key of a table row

2006-05-17 Thread Abid Hussain
Hi Armin, For this special case you have to delete the old value/obj and then insert the new vale/obj. regards, Armin thanks a lot. I thought of this possibility, but wondered if there is another way to perform the update. Regards, Abid -- Abid Hussain Mail: [EMAIL PROTECTED] Web:

Re: generate global uid's

2006-05-17 Thread Dennis Bekkering
Sorry, nope! At the beginning of OJB some people plan to support beside RDBMS and other persistence datastores, but it was too complex to realize with a few OJB committer. Thanks for clearing out, where exactly lies the complexity, the quering i solved my own project. I have the biggest

RE: Error in beginTransaction!

2006-05-17 Thread Eric Kelm
I have used the Liferay Portal before. Here is a thought. I thought about trying this myself but never got around to it. Liferay portal creates a datasource is liferay.xml. In Tomcat this is /%LIFERAY_HOME/conf/Catalina/localhost/liferay.xml Why not have OJB use existing datasource for

Clustering for OJB

2006-05-17 Thread Vamsi Atluri
Hi all, I am getting some errors when I move from a non-clustered environment in our testbed to a clustered environment in QA. I have read the document about setting up OJBs in a clustered environment, however, in our cluster, there is no session sharing between various nodes in the cluster.

problems width performance

2006-05-17 Thread Josef Wagner
Hello Armin, you have written in the mailing list, that it takes around 20 sec. to store 1 objects (is 0,5 obj in 1 ms.). (http://mail-archives.apache.org/mod_mbox/db-ojb-user/200408.mbox/%3C411780E [EMAIL PROTECTED]) In my testszenario, when I logging width timestamp before calling store