such
transactions, I use JNDI.
I just wonder if it is possible to do such spanning across servlets, I read a
lot of mailing list archives but did not found answer.
Best regards.
--
--
Łukasz Korzybski, [EMAIL PROT
ommit() which should store
changes in DB, then in my understanding anything I put after point 2 should
not affect my transaction.
Regards.
--
--
Łukasz Korzybski, [EMAIL PROTECTED]
-
To unsubscribe, e
Dnia wtorek, 1 lutego 2005 12:40, Łukasz Korzybski napisał:
My mistake sorry, repository_database.xml has overriden settings in
OJB.properties.
Once more sorry for spamming :)
Łukasz Korzybski
-
To unsubscribe, e-mail: [EMAIL
Dnia wtorek, 1 lutego 2005 12:47, Łukasz Korzybski napisał:
I forgot to say that after the modyfing odmg-tansaction is aborted then the
other starts to see proper, unmodified data, so the cache seems to be
cleared.
I have just added broker.clearCache() after line which is retrieving
Dnia wtorek, 1 lutego 2005 12:40, Łukasz Korzybski napisał:
It is strange because in doc I found "So no dirty reads will occur, because
each thread use it's own PersistenceBroker instance."
I have opened two web browsers each have different session, different
odmg-transaction
d when the first odmg-tx returns PB to the
pool.
Should I explicitly invoke close() on PB?
Regards
--
------
Łukasz Korzybski, [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
But then in that DAO I should use tx.markDirty() or tx.lock(obj, WRITE) ?
Łukasz Korzybski.
Dnia niedziela, 30 stycznia 2005 19:57, Thomas Dudziak napisał:
> Why do you give the object to OJB so early ? The usual routine of
> using OJB in a webapp would be something like this:
>
>
like that :/
Thanks for helping.
Łukasz Korzybski
Dnia niedziela, 30 stycznia 2005 19:57, Thomas Dudziak napisał:
> Why do you give the object to OJB so early ? The usual routine of
> using OJB in a webapp would be something like this:
>
> * interact with user, e.g. fill object
Sorry I did mean not to remove write lock but to make persistent object (which
was made by write lock) to be transient
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Is it possible to remove write lock from object? Is there any possibility to
check if object is transient or persistent?
Łukasz Korzybski
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
I have problems making my design easy and fast in using to the presentation's
layer programmer mainly because write lock is equal to store object, i have
no idea how to solve such problems as one mentioned above in elegant manner ,
it is a bit tricky.
-
something else
Łukasz Korzybski.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Dnia piątek, 28 stycznia 2005 18:29, Łukasz Korzybski napisał:
In last post I didn't mention that the Person class have additional 1:1
reference to the Address class, it points to one distinguished main address.
/**
* @ojb.reference class-ref="Address"
*
Is there any solution for this? Or do I have to make it bidirectional and
explicitly in code set the person object as address's parent when adding
address to the person?
Łukasz Korzybski.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Dnia piątek, 10 grudnia 2004 10:26, [EMAIL PROTECTED] napisał:
Hi,
Did you put repository.dtd file into this folder?
Regards.
> I have always the same problem. I have put the needed xml files in the
> folder where my application is. but there is the same mistake.
>
> [JDO] DEBUG: OjbStoreConne
Hi,
I've integrated nicely ojb with xdoclet and torque into netbeans webapp
project. Torque build file, configurations etc. are taken from ojb_blank.
Is possible to run steup-db and xdoclet targets from netbeans directly, also
all files needed by OJB are packaged by netbeans to war file.
I l
Dnia czwartek, 2 grudnia 2004 19:26, Łukasz Korzybski napisał:
> Hi,
>
> Does OJB aquire read lock on object automatically when it's retrived from
> database?
>
> Regards.
Ok I found that it can be set with ODMG, what a
Hi,
Does OJB aquire read lock on object automatically when it's retrived from
database?
Regards.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
What a terrible mistake I made, I've forgotten to include repository.dtd !!
I realized that when I removed OJB.properties from classes directory and I got
different error (new error was exactly telling that OJB.properties is
missing). Now everything runs.
Anyway thanks a lot for help.
Best Re
Dnia czwartek, 25 listopada 2004 12:39, Edson Carlos Ericksson Richter
napisał:
> Have you tryied NetBeans 3.6? I'm using OJB without problems, in
> standalone and web apps with 3.6. I know NetBeans 4 B2 has some flaws in
> this area... I think you test latest Q build too..
>
> Richter
Ok I will
Dnia czwartek, 25 listopada 2004 12:32, Thomas Franke napisał:
> Łukasz Korzybski wrote:
> > Is anyone have a idea why ojb 1.0.1 doesn't see configuration files which
> > are directly in WEB-INF/classes? I am fighting with it all day and I am
> > not able to make it wor
Hi all,
Is anyone have a idea why ojb 1.0.1 doesn't see configuration files which are
directly in WEB-INF/classes? I am fighting with it all day and I am not able
to make it work, I use tomcat 5 embedded in Netbeans 4, I will download today
tomcat and make alone installation and try with it.
W
Dnia wtorek, 23 listopada 2004 19:30, Ilias Lazaridis napisał:
Unbelievable
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Dnia czwartek, 18 listopada 2004 14:54, Gerhard Grosse napisał:
> Hi,
>
...
>The ObjectEnvelopeOrdering class uses a graph-theoretical approach to order
>the
>object envelopes (see the JavaDoc for details). Edges in this graph are
>inserted
>only if there really is a need for ordering two object
Dnia niedziela, 14 listopada 2004 21:29, Thomas Dudziak napisał:
> Ilias Lazaridis wrote:
> > Jakob Braeuchi wrote:
> >> hi ilias,
> >>
> >> any help will be really appreciated.
> >
> > ok, very nice.
> >
> >> i do not know netbeans but i try to run the tutorial1.Application from
> >> within eclips
Dnia czwartek, 11 listopada 2004 13:49, Gerhard Grosse napisał:
> On Wed, 10 Nov 2004 21:26:22 +0100, Grzegorz Pypec <[EMAIL PROTECTED]>
>
> wrote:
>
> Instead of tx.checkpoint() you can use ((TransactionExt) tx).flush(),
> which flushes all SQL to the DB without commit.
>
> However, normally OJB
Dnia środa, 10 listopada 2004 10:02, Gerhard Grosse napisał:
> On Wed, 10 Nov 2004 01:51:59 +0100, Łukasz Korzybski <[EMAIL PROTECTED]>
>
> wrote:
> >Thanks for reply,
> >
> >Dnia środa, 10 listopada 2004 00:19, Justin Stanczak napisał:
> >> Justin Stanc
Thanks for reply,
Dnia środa, 10 listopada 2004 00:19, Justin Stanczak napisał:
> Justin Stanczak, Web Manager
> Vincennes University
> 812-888-5813
>
>
> "All that is necessary for the triumph of evil is that good men do
> nothing." Edmund Burke
>
>>1. in Basic O/R mapping I've read that in O
Hello,
I'm currently learning OJB, we are going to use it for our web app. I've got
some unresolved questions
1. in Basic O/R mapping I've read that in ODMG default auto-update is set to
false which is link. I read that in this case ODMG will not insert nor update
my collection objects if i d
29 matches
Mail list logo