Hi guys, i've got a question.
I am using 1.0-rc6.
Currently, using a collection descriptor, you specify the inverse-foreignkey
attribute on the items of the collection, and these attributes are matched
with the value of the primary key of the object that contains the
collection.
However,
Well, i added:
com.mysql.jdbc.Driver a = new com.mysql.jdbc.Driver();
com.p6spy.engine.spy.P6SpyDriver b = new com.p6spy.engine.spy.P6SpyDriver();
Just to verify that it was all there, and it came up with a different
error - couldnt find spy.properties in the classpath!
Copied that accross, and
Hello,
i got setup the database and all Tables. I tried to start my Demo
application bu there is an error:
org.apache.ojb.broker.PBFactoryException: There was no default-PBKey
specified
at
org.apache.ojb.broker.core.PersistenceBrokerFactoryBaseImpl.defaultPersistenceBroker(Unknown
It apprears that ojb doesnt like criteria at depths that go beyond an
extent.
My criteria is:
crit.addEqualTo(behaviourId, new Integer(id));
crit.addLessThan(rating, new Integer(1));
crit.addEqualTo(meeting.pdp.createdBy, new Integer(mid));
And this generates the following sql (shortened!):
[EMAIL PROTECTED] wrote:
Hello,
i got setup the database and all Tables. I tried to start my Demo
application bu there is an error:
org.apache.ojb.broker.PBFactoryException: There was no default-PBKey
specified
at
Have you got a default connection-descriptor set up in
repository_database.xml properly?
Are OJB.properties/repository***.xml (x4) all in classpath?
Daniel.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 08 December 2004 10:50
To: [EMAIL PROTECTED]
Hello,
I want to start the damo.class from the destination folder of this class.
My repository.xml files are in target \classes\resources. How can i set it
that he finds this files?
regards
Michael
If you mean this part of my repository_database.xml, then yes i have set
it. But it can be possible that there is something wrong in my setting. I
use the MySQL 4.1 Server and Java 1.4.2.
jdbc-connection-descriptor
jcd-alias=default
default-connection=true
[EMAIL PROTECTED] wrote:
Hello,
I want to start the damo.class from the destination folder of this class.
My repository.xml files are in target \classes\resources. How can i set it
that he finds this files
I remember at first we had this problem too.
Put it under \classes. That's all.
We have
The xml files are in the resources folder wihich is under classes. I tried
also to out the files directly in the folder classes - with the same
result.
[JDO] DEBUG: OjbStoreConnector.begin: connectionReadyForRelease=false
org.apache.ojb.broker.PBFactoryException: There was no default-PBKey
[EMAIL PROTECTED] wrote:
The xml files are in the resources folder wihich is under classes. I tried
also to out the files directly in the folder classes - with the same
result.
Have you removed the old work directory before you restarted? That's
sometimes the reason for an error. The changed
hi roger,
imo this feature could be useful in some real life scenarios; even without an
intermediate class like Acl in your example.
but i'd prefer to extend the inverse-foreignkey (called referencing in the
following snippet, but this is just a temp name). if the referencing attribute
is
hi daniel,
when resolving the path meeting.pdp.createdBy ojb looks for a collection- or
reference-descriptor called 'meeting' and it uses the referenced class to reolve
further path-segements 'pdp'. so if the class referenced by 'meeting' does
not have a reference-descriptor named 'pdp' ojb
Is this just nonsense or is it that no one is interested? How do OJB
users handle deadlocks?
Oliver
On Sun, 5 Dec 2004 01:23:17 +0100, Oliver Zeigermann
[EMAIL PROTECTED] wrote:
Folks,
can anyone tell me if OJB is able to find out that a certain SQL
exception really is a deadlock exception
14 matches
Mail list logo