This one time, at band camp, Pletzer, Martin (ext. Mitarbeiter) said:
PMeM>we have a strange problem with CASTOR as persistence manager.
PMeM>
PMeM>We use a access="shared" in our mapping file.
PMeM>In our webApp (tomcat 4.1.2) I'm loading an Object through CASTOR from our
PMeM>DB.
PMeM>I change v
Hi *,
we have a strange problem with CASTOR as persistence manager.
We use a access="shared" in our mapping file.
In our webApp (tomcat 4.1.2) I'm loading an Object through CASTOR from our
DB.
I change values, UPDATE the object: everything works fine.
I close the browser.
I open a new browser, loa
After reading some of the new postings, I've changed
my usage to be based on Heiko Erhardt's email ("Why
uses castor a long transaction"). This solved my
problem. Leason learned:
1) No need to load object and call Database.update
2) Simpler/Works to load object from db and populate
object in 'sh
This one time, at band camp, Jon Wilmoth said:
JW>I searched the mail archives and found a couple of
JW>people had posted problems with persisting JDO
JW>relationships. Since I didn't see any answers, and
JW>I'm having the same problem others have had I thought
JW>I'd post this again in hopes of
I searched the mail archives and found a couple of
people had posted problems with persisting JDO
relationships. Since I didn't see any answers, and
I'm having the same problem others have had I thought
I'd post this again in hopes of an answer from exolab
or a work around from someone who has fa
e-
>From: Jamal Jackson
>Sent: Friday, April 19, 2002 4:54 PM
>To: '[EMAIL PROTECTED]'
>Subject: RE: [castor-dev] Long Transaction still giving
>ObjectModifiedExce ption
>
>
>Thanks for the note. I haven't set my object variables to anything yet,
>includi
ECTED]'
Subject: RE: [castor-dev] Long Transaction still giving
ObjectModifiedExce ption
Thanks for the note. I haven't set my object variables to anything yet,
including "" . So I imagine that the ones that were null from when I
loaded the object are still null
-Original Me
002 11:38 AM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Long Transaction still giving
ObjectModifiedExce ption
Do not know if this is the cause of your problem or not, but we ran into a
similar issue using Oracle due to their infamous "empty string -> NULL"
feature (though most
rwise.
--Kevin
-Original Message-
From: Gray Jones [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 9:09 AM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] long-transaction
I would agree that using long transactions makes things more difficult in
castor. We had alot of problems when t
EMAIL PROTECTED]
Subject: Re: [castor-dev] long-transaction
Others may have a different take on this, but in my experience you are best
served not using Castor's concept of long transactions.
Thats just an opinion.
However, as for your issue:
I am guessing you are trying to persist AccountK,
195
Visit http://www.vignette.com
-Original Message-
From: Fabricio Matheus Goncalves [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 3:30 PM
To: [EMAIL PROTECTED]
Subject: [castor-dev] long-transaction
Hi,
Im trying to do
Hi,
Im trying to do almost the same described at
http://castor.exolab.org/long-transact.html
If it help, I have a Account Tree, where AccountA
is the root, and AccountK is a ChildNode.
Could you help or point me to documentation references on this?
org.exolab.castor.jdo.PersistenceException: O
Tancerel Benoit wrote:
> whitout the Date mapping it seems to work i've got no ObjectModifedExcpetion
> how do i map th Date fields ?
Like this
> why there's problems with Date ??
Well, there may be problems with nanoseconds: java.sql.Timestamp has
nanoseconds, but
I use java.util.Date
-Original Message-
From: Tancerel Benoit [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 1:57 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Long Transaction Problem !!! HELP
thanks for all answers
the problem seems to be the mapping of the Date
PROTECTED]]
Date: jeudi 24 janvier 2002 11:45
A: [EMAIL PROTECTED]
Objet: Re: [castor-dev] Long Transaction Problem !!! HELP
depricated :)
you already find that trouble is :))
-Original Message-
From: Alexey A. Efimov
Sent: Thursday, January 24, 2002 1:43 PM
To: [EMAIL PROTECTED]
S
depricated :)
you already find that trouble is :))
-Original Message-
From: Alexey A. Efimov
Sent: Thursday, January 24, 2002 1:43 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Long Transaction Problem !!! HELP
I not sure but. try this selects:
select * from utilisateur;
and
2 1:32 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Long Transaction Problem !!! HELP
i use MS SQL Server on a windows 2000 server
and my web app is on a linux redhat 7
Ben.
-Message d'origine-
De: Alexey A. Efimov [SMTP:[EMAIL PROTECTED]]
Date: jeudi 24 janvier 2002 11:13
A
ROTECTED]
Objet: Re: [castor-dev] Long Transaction Problem !!! HELP
Ben,
try to exclude Date fields from your mapping, I remember there were
problems with Date values conversion. How did you describe the Date
fields in mapping.xml?
If without Date fields you still get ObjectModifiedException, the
i use MS SQL Server on a windows 2000 server
and my web app is on a linux redhat 7
Ben.
-Message d'origine-
De: Alexey A. Efimov [SMTP:[EMAIL PROTECTED]]
Date: jeudi 24 janvier 2002 11:13
A: [EMAIL PROTECTED]
Objet: Re: [castor-dev] Long Transaction Problem !!! HELP
I
db.update(this);
db.commit();
}
catch(PersistenceException pe)
{
//db.rollback();
pe.printStackTrace();
cat.error("erreur : " + pe);
Ben,
try to exclude Date fields from your mapping, I remember there were
problems with Date values conversion. How did you describe the Date
fields in mapping.xml?
If without Date fields you still get ObjectModifiedException, then
exclude other fields one by one to see which one causes the except
: [castor-dev] Long Transaction Problem !!! HELP
i can't see the SQL
this is my log
[DEBUG]- timestamp : 1011863524612 this the timestamp of
the object i pass
through the session
[DEBUG]- timestamp : 1011863524612 this the timestamp of
the current
object i want to updat
Tancerel wrote:
> and i also try with
> and it doesn't execute my db.update
:)))
Sorry Ben for my bad wording, I know that this won't worked,
I thougth that your ObjectModifiedException might be caused by such
setting.
But if you tried and still got the
ObjectModifiedException than the problem d
thanks
Ben
-Message d'origine-
De: Alexey A. Efimov [SMTP:[EMAIL PROTECTED]]
Date: jeudi 24 janvier 2002 10:40
A: [EMAIL PROTECTED]
Objet: Re: [castor-dev] Long Transaction Problem !!! HELP
Heelo,
try check SQL, that Castor send to Database. I suppose in this SQL like
thi
]
Subject: Re: [castor-dev] Long Transaction Problem !!! HELP
i tried with all the options of
all my value of my persistent object are values or null (there's no ""
values) and my db.update always send me an ObjectModifiedExcpetion
if use db.load, set my fields and db.commit
how can i kn
n
-Message d'origine-
De: Alexey A. Efimov [SMTP:[EMAIL PROTECTED]]
Date: mercredi 23 janvier 2002 20:22
A: [EMAIL PROTECTED]
Objet: Re: [castor-dev] Long Transaction Problem !!! HELP
Castor hold timestamp labels in this cache. If you turn off the cache,
Castor no stote
(obj);
>db.commit();
-Original Message-
>From: Wap Brunei [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, December 06, 2001 5:37 PM
>To: [EMAIL PROTECTED]
>Subject: [castor-dev] Long Transaction Problem
>
>I have a mapping like this
>
>
>
>
>
I have a mapping like this
db.begin();
MyObject OBJ = (MyObject)db.load(MyObject.class,new Integer(1));
db.commit();
db.begin(); <-- Long Transaction Begin
obj.setMyObject(OBJ);
obj.setName("Object 3");
db.create(obj);
db.commit();
// This
From: Keith Chew SL [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 24, 2001 7:05 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Long Transaction nightmare
Hi Toni
I encountered a similar problem a while ago. The reason for this is because
Castor needs to know about employee (30) in the u
I have 2 classes Product and Group. Product has a property Group to indicate the group belong to. For short transaction thing work fine but for long transaction the property Group become null. Why? Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com
ssage-
From: Keith Chew [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 23 October 2001 4:19 p.m.
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Long Transaction
Hi Thomas
Thanks for your patience and looking at my mail. I am basically working on
the example (Product, ProductDetail) and trying to recrea
ed.
Regards
Keith C
-Original Message-
From: Thomas Yip [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 23 October 2001 4:07 p.m.
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Long Transaction
See inline.
-Original Message-
>From: Keith Chew [mailto:[EMAIL PROTECTED]]
>Sent: Mon
See inline.
-Original Message-
>From: Keith Chew [mailto:[EMAIL PROTECTED]]
>Sent: Monday, October 22, 2001 7:21 PM
>To: [EMAIL PROTECTED]
>Subject: Re: [castor-dev] Long Transaction
>
>Hi
>
>Ok, there are 2 ways to do this. The hard way is to simulate a short
because you have to ensure that the
dependent objects are loaded in the same transaction.
Regards
Keith C
-Original Message-
From: Keith Chew [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 23 October 2001 3:21 p.m.
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Long Transaction
Hi
Ok, there
ode. Maybe I might find some other hints.
Keith C
-Original Message-
From: Toni Charlot [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 23 October 2001 1:40 p.m.
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Long Transaction
Hello Keith,
can you share that, por favor.
-Original Mes
Hello Keith,
can you share that, por favor.
-Original Message-
From: Keith Chew [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 7:42 PM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Long Transaction
Ignore this mail. I know a way to fix my problem.
Regards
Keith C
Ignore this mail. I know a way to fix my problem.
Regards
Keith C
-Original Message-
From: Keith Chew [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 23 October 2001 11:34 a.m.
To: [EMAIL PROTECTED]
Subject: [castor-dev] Long Transaction
Hi
Same scenarion Product and ProductGroup example
Hi
Same scenarion Product and ProductGroup example. Creation and lookup is
working fine now (all I needed to do was to load ProductGroup in the same
transaction as the one used to create the Product).
Now I am testing long transaction support.
When I assign a new ProductGroup to the product and
38 matches
Mail list logo