Repository XML limitation and design question.

2004-01-16 Thread Ajitesh Das
To all OJB gurus: First of all this may not be a limitation on OJB what I have wrote as subject but it seems that there is no easy way to handle this. Here is my problem : I like to write a repository XML file [ please note a single repository file for each case] which captures the fo

Re: Starting applicatio via ant

2004-01-16 Thread Gus Heck
I think I saw something about absolute paths in properties on the ant-dev list a month or two ago, so you might try the latest ant if you arn't using it and search the archive there if that doesn't work (and their bugzilla). I reserve the right to have a faulty memory however :) -Gus Tino Schö

Re: FW: NetBeans and OJB

2004-01-16 Thread Gus Heck
Although you have a solution, in reading this thread, and having just spent some timeplaying with URL Classloader, it occured to me that if you can execute the following on the Thread that loads those files, before they are loaded you could probably put them anywhere you wanted: --- untested co

Re: RE : Pb with the delete order

2004-01-16 Thread Armin Waibel
Hi again, Emmanuel DUPONT wrote: Hi Armin ! It looks like a bug. It is quit difficult for me to send to you a test case because my db model is quit complicated. It is because of one circular reference between one object A with different FK (one to itself) and another object B witch has an FK to A

RE : Pb with the delete order

2004-01-16 Thread Emmanuel DUPONT
Hi Armin ! It looks like a bug. It is quit difficult for me to send to you a test case because my db model is quit complicated. It is because of one circular reference between one object A with different FK (one to itself) and another object B witch has an FK to A also. OJB delete A before B.

PB ODMG JDO plug-in transaction system

2004-01-16 Thread Pedro Salgado
Does the OJB Persistence Broker, OJB ODMG implementation and JDO plugin share the same transaction management system? Pedro Salgado - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: Question wrt using JDO API

2004-01-16 Thread Thomas Mahler
Please follow precicely the steps in the tutorial! You must enhance your Product class (The tutorial explains how to do it). Thomas VENKATESH, SUMA (SBCSI) wrote: Hi Iam trying to run tutorial 4 on JDO API. I get the following error: javax.jdo.JDOUserException: Class given to getExtent, org.apac

RE: Validation Query [OJB 0.9.9]

2004-01-16 Thread Graham Lounder
Sorry, I should have explained the firewall problem. The firewall has a timeout value of 1 hour for any connections going through it. If the application if left alone for over an hour, the connections in the connect pool become dead because the firewall drops the connection from the tomcat server

RE: Date problem ?

2004-01-16 Thread eric barbe
Thanks, it works fine ! -Message d'origine- De : Hennebelle [mailto:[EMAIL PROTECTED] Envoyé : jeudi 15 janvier 2004 09:26 À : 'OJB Users List' Objet : RE: Date problem ? Hi, Have you try to use TIMESTAMP for your jdbc-type, you can try like this : The class for the conversion is alr

Re: Help reducing OJB overhead for a data load process

2004-01-16 Thread Armin Waibel
Hi Joe, nobody else seems to have an idea, so will will do some bla bla ;-) I don't see any easy way to realize this completely within OJB. You can use MetadataManager "per thread metadata mode" to deal with different repository files. The "normal" repository file and you can load an additiona

Re: Pb with the delete order

2004-01-16 Thread Armin Waibel
Hi Emmanuel, Emmanuel DUPONT wrote: All, I have a recursive statement witch delete in a tree all nodes with children and dependencies. The trouble is that I lock the entire objects in the right order (I debugged carefully) but OJB doesn't send the Sql delete statements in the good order. Th

Re: Memory leak? (See WHY OJB SPEND MORE AND MORE TIME TO STIRE OBJECTS from ghielard, 2003-12-04)

2004-01-16 Thread Armin Waibel
Hi Birgitta, generally OJB has no memory leak. We made several stress tests before release a new version. Except if you are using the "per thread metadata change"-feature provided by MetadataManager and you use for each thread a new copy of the repository. This is fixed in CVS head (The final 1

Pb with the delete order

2004-01-16 Thread Emmanuel DUPONT
All, I have a recursive statement witch delete in a tree all nodes with children and dependencies. The trouble is that I lock the entire objects in the right order (I debugged carefully) but OJB doesn't send the Sql delete statements in the good order. I can resolve the trouble by placi

Problem with foreign keys in cvs lastest version

2004-01-16 Thread Guillaume Nodet
I've got an exception that is thrown when using the lastest version of ojb in cvs that did not occured with the labelled RC5. I'm not using batch mode for this problem: Caused by: org.apache.ojb.broker.KeyConstraintViolatedException: SQL failure while insert object data for class com.opti time.api

Memory leak? (See WHY OJB SPEND MORE AND MORE TIME TO STIRE OBJECTS from ghielard, 2003-12-04)

2004-01-16 Thread BIRGITTA . MOEHRING
Hi, I also saw my application slowing down with the number of inserted objects. I am using the ODMG layer. I have an application which has to insert different sets into different tables; each set is in its own file. Each time after inserting a set of objects I set every known reference to null

Re: [DBMS] OJB with MaxDB

2004-01-16 Thread Edson Carlos Ericksson Richter
Yes, and no. The support is known as SapDB... Just use it as SapDB and all will be working fine. If you need LGPL drivers for SapDB you can download at http://sapforge.sourceforge.net (there is not binaries at all, download from CVS and build with ant). Anyone interested in translate are welcome

[DBMS] OJB with MaxDB

2004-01-16 Thread Geigl Maximilian, R235
Hello all, does someone know if i can use MaxDB with OJB. I guess there is no value for the platform attibute in the connection descriptor. I have no experiences with this dbms, but we are thinking about using an open source database management system for our applications and - at first glance

Re: FW: Cannot retrieve back just saved objects without committing transaction

2004-01-16 Thread Armin Waibel
Hi Zhe, ZZZ Liu wrote: Hi, Armin Thanks a lot for your reply. I am using PB-api and the batch mode is turned on (in repository_database.xml, batch-mode="true" for jdbc-connection-descriptor). I found that database operations are not applied to db until transaction is commited. For example, if I

Re: Validation Query [OJB 0.9.9]

2004-01-16 Thread Armin Waibel
Hi Graham, Graham Lounder wrote: Hello All, I've been using OJB on many projects and find it makes my life a whole lot easier. I currently have a project that has over 1500+ unique logins each day. I've got two tomcat servers setup, each with a connection pool found below. There is a firewall

RE: Question regarding JDO

2004-01-16 Thread VENKATESH, SUMA (SBCSI)
Hi Larry, Iam using 1.0.rc5 as well. I have pointed to jdo.jar,jdori.jar and jdori enhancer I got by downloading jdo from sun. I have product.jdo in the folder of the tutorials I downloaded and didn't change anything there.as you have mentioned: >>In org.apache.ojb.tutorial5 (the JDO tutoria

Validation Query [OJB 0.9.9]

2004-01-16 Thread Graham Lounder
Hello All, I've been using OJB on many projects and find it makes my life a whole lot easier. I currently have a project that has over 1500+ unique logins each day. I've got two tomcat servers setup, each with a connection pool found below. There is a firewall between the tomcat box and the dat

Question wrt using JDO API

2004-01-16 Thread VENKATESH, SUMA (SBCSI)
Hi Iam trying to run tutorial 4 on JDO API. I get the following error: javax.jdo.JDOUserException: Class given to getExtent, org.apache.ojb.JDOTutorials.Product, does not implement javax.jdo.spi.PersistenceCapable at com.sun.jdori.common.PersistenceManagerImpl.getExtent(Unknown Source)

OJB.properties configuration

2004-01-16 Thread Marco Aurélio Meireles
Hi people, I'm using OJB in a web app. The problem is the OJB.properties configuration when I set the repositoryFile parameter. The OJB doesn't found the repository.xml when I set repositoryFile parameter like "repository.xml", "/myapp/repository.xml" or another relative path. But, when I set

OJB.properties configuration

2004-01-16 Thread Marco Aurélio Meireles
Hi people, I'm using OJB in a web app. The problem is the OJB.properties configuration when I set the repository parameter. The OJB doesn't found the repository.xml when I set repository parameter like "repository.xml", "/myapp/repository.xml" or another relative path. But, when I set the reposi

Re: FW: Cannot retrieve back just saved objects without committing transaction

2004-01-16 Thread ZZZ Liu
Hi, Armin Thanks a lot for your reply. I am using PB-api and the batch mode is turned on (in repository_database.xml, batch-mode="true" for jdbc-connection-descriptor). I found that database operations are not applied to db until transaction is commited. For example, if I try to insert null into a