Hi
Change are really written to the database.
I get an error of MsSQLServer.
On 4/19/05, Armin Waibel [EMAIL PROTECTED] wrote:
Hi,
are the changes really writen to database or is it a caching issue?
regards,
Armin
Alessandro Colantoni wrote:
Hi all!.
In a mehod i have the
Hi Armin,
I'm writing an application using session beans and Ojb, and deploy on Jboss
in development and on WebLogic in prod.
I'm facing problems with ObjectCacheDefaultImpl when the application is
heavily used in prod.
It seems that the synchronized statement in the cache does not behave
hello,
I use Mapping Classes on Multiple Joined Tables to map an Object which
inherits from another into two tables.
BUT: is there a way to get the different objects back, when querying?
I mean, I have following mappings:
--
class-descriptor
Jakob Braeuchi wrote:
hi armin,
is this testcase already available ?
Will check in the test ASAP. Currently do a complete refactoring of the
each super class on different table mapping, so I use this test case
only local.
Armin
jakob
Armin Waibel schrieb:
Hi Dima,
I wrote a test based on your
Hi Stefan,
Stefan Walkner wrote:
hello,
I use Mapping Classes on Multiple Joined Tables to map an Object which
inherits from another into two tables.
BUT: is there a way to get the different objects back, when querying?
I mean, I have following mappings:
we start working on this issue. Hope till
Why is it that when using the SequenceManagerNextValImpl, my sequence
numbers are not consecutive?
I see 2, 4, 6, 8...
instead of 2, 3, 4, 5, ...?
--
Bobby Lawrence
MIS Application Developer
Jefferson Lab (www.jlab.org)
Email: [EMAIL PROTECTED]
Office: (757) 269-5818
Hi David,
[EMAIL PROTECTED] wrote:
Hi Armin,
I'm writing an application using session beans and Ojb, and deploy on Jboss
in development and on WebLogic in prod.
I'm facing problems with ObjectCacheDefaultImpl when the application is
heavily used in prod.
It seems that the synchronized statement in
Hi,
Alessandro Colantoni wrote:
Hi
Change are really written to the database.
I get an error of MsSQLServer.
in this case I assume that the problem wasn't caused by OJB, because
between PB.beginTransaction() and PB.commitTransaction() it's guaranteed
that OJB use the same connection.
If you
Hi Bobby,
Bobby Lawrence wrote:
Why is it that when using the SequenceManagerNextValImpl, my sequence
numbers are not consecutive?
I see 2, 4, 6, 8...
instead of 2, 3, 4, 5, ...?
OJB obtain the sequence key before the object was inserted. If you do an
rollback the keys are lost. Further on the
I have another issue.
I have a Person object.
This object has a reference to an Organization object.
descriptors:
class-descriptor class=org.jlab.mis.apps.mics.valueobjects.Person
table=users
field-descriptor name=id column=user_id jdbc-type=BIGINT primarykey=true
autoincrement=true
Well -
I have traced this issue back to the sequences...
It seems that OJB is inserting an Organization object with the even id,
but the Person object gets the odd id:
In the database:
ORGANIZATION_ID ORGANIZATION_NAME
--- -
692 JLAB
From the Person class:
Sorry - I had that wrong-
Database:
ORGANIZATION_ID ORGANIZATION_NAME
--- -
692 JLAB
From the Person class:
org.jlab.mis.apps.mics.valueobjects.Person personsName='Bobby Lawrence'
and organizationId='693'
Bobby Lawrence wrote:
Well -
I have traced this
Crap - Nevermind -
It seems that my database has triggers on it that insert the nextval
from the sequence upon insert.
So OJB determines the sequence, and then Oracle does the same thing.
Thats why my sequences are being called twice...
--Bobby
Armin Waibel wrote:
Hi Bobby,
Bobby Lawrence wrote:
Hi Bobby,
when using a 1:1 reference OJB always first store the referenced object
and then the main object. The internal rules used by OJB when storing a
object are
store all 1:1 references (if auto-update is enabled)
store main object
store 1:n, m:n references (if auto-update is enabled)
Did
hello,
we start working on this issue. Hope till next release this will be fixed.
thank you for the info!
I really was searching long and was not able to find any information about
that, so I'm glad to hear any response from you.
Thank you,
stefan walkner
Stefan Walkner wrote:
hello,
we start working on this issue. Hope till next release this will be fixed.
thank you for the info!
I really was searching long and was not able to find any information about
that, so I'm glad to hear any response from you.
The issue is noted in the release-notes:
Bobby Lawrence wrote:
It seems that my database has triggers on it that insert the nextval
from the sequence upon insert.
So OJB determines the sequence, and then Oracle does the same thing.
Thats why my sequences are being called twice...
Also beware of Oracle sequence caching if your
Alessandro Colantoni wrote:
Change are really written to the database.
I get an error of MsSQLServer.
Beware that MySQL using MYISAM storage in early versions [*]
does not implement database transactions.
Either use InnoDB if your licensing requirements permit it or
try to upgrade to a newer MySQL
Lemke, Wesley wrote:
Anyone have any luck setting up p6spy with Websphere 5.1? This is kind
of on-topic because Thomas suggested I try it for debugging the OJB
issue.
Anyone familiar with this error:
[4/15/05 10:07:48:319 CDT] 68779cc2 FreePool E J2CA0046E: Method
Hey all,
When I run OJB 1.0.3 with Tomcat 4.1.30 everything works.
When I upgrade to Tomcat 5.5.9 I am getting the exception at the bottom of the
file. Any ideas why this might be happening? Ideas on how to fix it?
In general I am trying to upgrade my libraries because I am having problems
20 matches
Mail list logo