Alternatively, either in one of your Servlets destroy methods (or via webapp
context listener, or however you currently do your shutdown logic) get the
connection factory and invoke the releaseAllResources method
http://db.apache.org/ojb/api/org/apache/ojb/broker/accesslayer/ConnectionFac
tory.htm
Nathan,
I can see you aren't getting any answer for a few hours so I'll dare my
own hint...
Maybe you could have OJB use a container-provided datasource instead.
For this, use jndi-datasource-name instead of
dbalias/driver/user/password/protocol/subprotocol in your
http://db.apache.org/ojb/doc
Hi all,
I am looked through the source code, through the archives and searched the
OJB site http://db.apache.org/ojb/, but I can still not figure out how OJB
is shutdown.
We have a very serious problem with our connection pool at the moment. Part
of that is to do with the connection pool that OJB
I've got a puzzling problem. I have 3 tables, tbb_activity (A),
tbl_activity_participant (B), and tbb_person_name (C). The relationship is
1:M from A->B, and 1:M from B->C (basically it's a M:N but there's some
other stuff I'm leaving out). When I populate the references for B into an
object for
When I change objectId to clientRelationshipId I get this error:
org.apache.ojb.broker.OJBRuntimeException: Incorrect or not found field
reference name 'clientRelationshipId' in descriptor
[EMAIL PROTECTED]
rieve=true,cascade_store=object,cascade_delete=object,is_lazy=false,clas
s_of_Items=class
Jakob Braeuchi wrote:
hi armin,
that's exactly the same answer i posted a minute ago :)
Damned! You catch me on the line ;-)
Armin
jakob
Armin Waibel schrieb:
Hi again,
change
to
in
of class NewClientGroup.
regards,
Armin
Lemke, Wesley wrote:
I apologize for sending so many messages to
hi armin,
that's exactly the same answer i posted a minute ago :)
jakob
Armin Waibel schrieb:
Hi again,
change
to
in
of class NewClientGroup.
regards,
Armin
Lemke, Wesley wrote:
I apologize for sending so many messages to the list, but this one
really has me scratching my head. Here i
hi wesley,
it looks like you are using th pk of NewClientGroup as fk pointing to
ClientRelationship. imo the field 'clientRelationshipId' shouls be used
here.
jakob
Lemke, Wesley schrieb:
I still am unable to retrieve objects from the database. I've stepped
through the code, but am having probl
Hi again,
change
to
in
of class NewClientGroup.
regards,
Armin
Lemke, Wesley wrote:
I apologize for sending so many messages to the list, but this one
really has me scratching my head. Here is the data stored in the
database:
mysql> select group_id, client_id, name, parent_id,
Hi Wes,
sure that this mapping is correct?
> In the class-descriptor for NewClientGroup:
> class-ref="model.client.ClientRelationship">
>
>
I assume that "objectId" is still the PK field of NewClientGroup. You
need a FK field refering to ClientRelationship. In your previous
I apologize for sending so many messages to the list, but this one
really has me scratching my head. Here is the data stored in the
database:
mysql> select group_id, client_id, name, parent_id, class_name from
client_group;
+--+---+-+---+--
I still am unable to retrieve objects from the database. I've stepped
through the code, but am having problems understanding what is going on.
At line 158 of
org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldDirectAccessIm
plNew.java setValueFor() is being called with the Field's name =
c
12 matches
Mail list logo