Re: Oracle exception: column ambiguously defined - need help

2005-06-13 Thread thomas0
Dear OJB Users, Dear Jakob, I really need advice on how to map correctly my java classes in OJB. I want to model a filesystem. I have an 'Element' class which defines the unit of the filesystem. An 'Element' can be a 'File' or a 'Folder'; these 2 classes extend the 'Element' class. The 'Folder'

Beginners Question Tutorial Problem

2005-06-13 Thread Tom Schindl
Hi, I've some question regarding ojb. I'm an absolute beginner with ojb although I've used torque quite a lot. 1. The tutorial uses Java-Classes and generates the repository_user.xml is the other way round also possible? I ask this because I'm designing my databases using clay an

Location of repository.xml

2005-06-13 Thread Hiller, Frank RD-AS2
Hi, I'm using OJB 1.0.3 with Tomcat 5.0.28. In my servlet I set System.setProperty(OJB.properties, D:/jakarta-tomcat-5.0.28/webapps/MyWebAppConfig/OJB.properties); Doing this loads OJB.properties without problems. But repository.xml is not found though it is located in the same directory. OJB

Re: Oracle exception: column ambiguously defined - need help

2005-06-13 Thread Jakob Braeuchi
hi alexandre, my first suggestion is to use a simpler mapping: use separate tables for 'fichier' and 'folder' and forget the table 'element'. this has of course a disadvantage: you'll have to define all common attributes at least twice. please have a look at repository_junit_reference.xml

Re: Location of repository.xml

2005-06-13 Thread Thomas Dudziak
On 6/13/05, Hiller, Frank RD-AS2 [EMAIL PROTECTED] wrote: I'm using OJB 1.0.3 with Tomcat 5.0.28. In my servlet I set System.setProperty(OJB.properties, D:/jakarta-tomcat-5.0.28/webapps/MyWebAppConfig/OJB.properties); Doing this loads OJB.properties without problems. But repository.xml is

org.odmg.LockNotGrantedException

2005-06-13 Thread Johnson
Hi! I try to upgrade my ojb in cocoon from 1.0.1 to 1.0.3. when I save a record and then read the record(or others) the system got an error org.odmg.LockNotGrantedException If I use another session to read it ok,But the record I wrote never change. the objectcache I use in 1.0.1 is