Re: p6spy

2004-12-07 Thread Armin Waibel
Daniel Perry wrote: Simple question - how do i use p6spy? I've recompiiled ojb with p6spy, and set mysql as the 'real' driver. I've copied the jar file and p6spy's jar. p6spy, mysql driver jar really in classpath, typo in realdriver property? Sorry, that's all cross my my mind ;-) Armin I've chan

p6spy

2004-12-07 Thread Daniel Perry
Simple question - how do i use p6spy? I've recompiiled ojb with p6spy, and set mysql as the 'real' driver. I've copied the jar file and p6spy's jar. I've changed my repository to use p6spy (see below), and added the driver: But i get the error: [org.apache.ojb.broker.accesslayer.Connectio

RE: Circular criteria

2004-12-07 Thread Daniel Perry
After taking out that criteria, it still doesnt work. The following line is also causing the same error. Once again, running an equivilent if statement on the results does work! crit.addEqualTo("b.c.d.training",new Integer(0)); The only thing i can think of is that b defines no fields, but has e

Circular criteria

2004-12-07 Thread Daniel Perry
I've got a bit of an odd criteria i need to specify, but i cant seem to get it to work. A has a reference to B, B has a reference to C. C had a reference to D. D has a collection of Cs and a reference to the currentC. I need to obtain all As where their C (via B) is current. Ie. such that a.get

Re: setup-db

2004-12-07 Thread Thomas Dudziak
[EMAIL PROTECTED] wrote: Hello there, i have found my mistake with the xdoclet. I have some quetions: 1. in wich sequence do i start which target of the build.xml??? 1. build and/or enhance-jdori (which depends upon build) 2. setup-db (which depends upon xdoclet) Have a look into the Getting S

setup-db

2004-12-07 Thread Michael . Sack
Hello there, i have found my mistake with the xdoclet. I have some quetions: 1. in wich sequence do i start which target of the build.xml??? 2. The JDO enhancer tells me the following: Buildfile: build.xml compile: build: enhance-jdori: [java] Enhancer: options: [java] verbose

Re: XDOclet

2004-12-07 Thread Thomas Dudziak
[EMAIL PROTECTED] wrote: Hello, i tried the following: D:\hiwi\sackm\ojb-blank>ant xdoclet Buildfile: build.xml compile: xdoclet: [ojbdoclet] The class "resources.repositor" occurs in more than one fileset. That's illegal. [ojbdoclet] (XDocletMain.start 47 ) Running [ojbdoclet

Re: ojb

2004-12-07 Thread Thomas Dudziak
[EMAIL PROTECTED] wrote: Hello, i have the repository.dtd wich is given with the ojb-blank.jar it is in my folder: d:/hiwi/sackm/ojb-blank/target/resource/repository.dtd how do i give this classpath in my jdo file? i tried it with the following line: He says that he doesn't know the "d" at th

XDOclet

2004-12-07 Thread Michael . Sack
Hello, i tried the following: D:\hiwi\sackm\ojb-blank>ant xdoclet Buildfile: build.xml compile: xdoclet: [ojbdoclet] The class "resources.repositor" occurs in more than one fileset. That's illegal. [ojbdoclet] (XDocletMain.start 47 ) Running [ojbdoclet] (XDocletMain.start

request for help

2004-12-07 Thread A Leg
Hi We use ojb for our open source project : http://compiere-mfgscm.sourceforge.net this project is a manufacturing and supply chain extensions of a quite popular open source erp Compiere ERP and CRM We use obj as persistence layer. We ar interested for some help, specially now for code review. B

RE: ojb

2004-12-07 Thread Michael . Sack
Can anyone tell me how i have to set the path to the local repository.dtd in my jdo file? regards

RE: ojb

2004-12-07 Thread Michael . Sack
Hello, i have the repository.dtd wich is given with the ojb-blank.jar it is in my folder: d:/hiwi/sackm/ojb-blank/target/resource/repository.dtd how do i give this classpath in my jdo file? i tried it with the following line: He says that he doesn't know the "d" at the beginning...How do i g

Re: ojb

2004-12-07 Thread Michael . Sack
Hallo Thomas, yes i'm online. I tried it with the speedo and the JPOX JDO Implementation and it works. But i will try to set the path to my local jdo.dtd. Hope it works. Do i hava to start the ant targets xdoclet and setup-db after enhancing? I think it will be like this or doesn't it? Regards

RE: ojb

2004-12-07 Thread Daniel Perry
> [java] org.xml.sax.SAXParseException: Relative URI "jdo.dtd"; kann > nicht ohne eine Basis-URI aufgel÷st werden. My german aint great, but i think it means it cant find jdo.dtd Do you have this file locally as i think you need it! Daniel. > -Original Message- > From: [EMAIL PROTE

Re: ojb

2004-12-07 Thread Thomas Dudziak
[EMAIL PROTECTED] wrote: [java] org.xml.sax.SAXParseException: Relative URI "jdo.dtd"; kann nicht ohne eine Basis-URI aufgel÷st werden. Can u perhaps find a mi

ojb

2004-12-07 Thread Michael . Sack
Hello i downloaded the ojb-blank.jar and unzipped it. After that i put in my java files. The compilation works. in the src folder there is my package structure and my jdo file is in the same package folder as my java files. If i try to enhance the class files with "ant enhance-jdori" i get the

RE: Optimistic Locking Problem.

2004-12-07 Thread Alessandro Colantoni
Hi Wesley. The second time you run, the lock value of A is incremented (it passes from 140 to 141). So A feels the store of B. I don't understand if it passes to the name to or it passes just to the lock value. (Should be logic to name too.) -Mensaje original- De: Wesley Lemke [mailto: