Hello,
I'm using OJB 1.0.3 with the ODMG api and I'm confused about implicit
locking. I prefer from past experience to have ImplicitLocking=false
in my OJB.properties and this is what I've done for quite some time.
I've started getting (sometimes) LockNotGrantedExceptions on objects
that I
Thanks Armin, that the remove/re-add field descriptor seems to work for me.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
I am using optimistic locking for a few classes/tables in my
application. However, in certain circumstances when my application
starts up, I want to disable optimistic locking for the lifetime of the
application. I have tried to modify the repository metadata at
runtime, but I stil
Thanks Armin. flush() fixes the problem. I just tried upgrading to
1.0.2, but that doesn't appear to fix the problem. I can live with the
flush() workaround until that is solved.
Thanks again, I appreciate your help.
Colin
Armin Waibel wrote:
Colin Kilburn wrote:
Hi Armin, thanks fo
every time I call lock().
Is this correct? Is flush() nothing more than a workaround?
Colin
Colin Kilburn wrote:
Hi Armin, thanks for the response.
I'm using OJB 1.0.1. I've never noticed the TransactionExt.flush()
method. Calling it does seem to fix the problem. I do have 2
question
; // corresponds to an UPDATE on A's table, with a FK
reference
> to the just-inserted B
>
> commitTxn();
regards,
Armin
Colin Kilburn wrote:
Hi All,
I'm currently having a problem with reordering of written objects
done by the org.apache.ojb.odmg.ObjectEnvelopeTable.reor
Hi All,
I'm currently having a problem with reordering of written objects done
by the org.apache.ojb.odmg.ObjectEnvelopeTable.reorder() method. I have
implicit locking off, and I always "lock" objects in the order they
would have to in order to maintain referrential integrity. That is, I
don
Hi,
Is this still an issue in RC7? I'd really like to use this approach
but I'm using the ODMG api.
Thanks in advance,
Colin
Armin Waibel wrote:
Hi Luis,
Luis Cruz wrote:
Hello,
Is mapping classes on multiple joined tables compatible with the use of
ODMG? I ask because according to the document
Hi All,
I regularly use surrogate/artificial/auto-increment/meaningless primary
keys for most of my tables. While I've only been a full-time developer
for about 6 years, I have seen this as commonplace and certainly not
unusual. I also find they map nicely to the concept of Identity in O/R
ena "soon" (I'm currently very tied up trying to finish another project.)
What results from these efforts (or at least parts of them) may be generic enough to be useful to others. Anyone else?
Colin Kilburn
[EMAIL PROTECTED] wrote:
Hi all,
WeĆ¢ve being using OJB for a while and we do
Phillippe,
I wanted to and do the same thing, and I now use this trick:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg04141.html
HTH,
Colin
Philippe Boisaubert wrote:
About using/design with ODMG API :
Generally I want to get a domain (business) object from the persistence layer. Then I
us
Hi All,
I can't find anything about this in the archives or by googling, but I
can't be the first to want to do this...
Data in a CHAR column is padded with spaces. This is fine for storage,
but how can I tell sql server or OJB that I don't want the trailing
spaces when I retrieve the column
Phillipe,
I keep my repository*.xml files in WEB-INF/src, and eclipse seems to
copy them over to WEB-INF/classes for me. I also use the Sysdeo Tomcat
plugin, which may be what's actually helping me out.
HTH,
Colin
[EMAIL PROTECTED] wrote:
Hello,
I am currently building a web application base
D'oh! Thanks Jakob, sorry everyone for the extra traffic. I should
have seen those posts.
Colin
Jakob Braeuchi wrote:
hi colin,
this feature is already on our todo-list (see posts with subject '1:M
querys constraints').
hth
jakob
Colin Kilburn wrote:
Hi All,
I&
ing w/in
OJB. (others may chime in here) But you could use a view (assuming your DB
supports them) & have the mapping point to the view table which only shows
the valid/active rows.
just a possible work-around...
-pgm
-Original Message-
From: Colin Kilburn [mailto:[EMAIL PROTECTED]]
Hi All,
I'm sorry if this question has been asked before, the archive search
capability seems to be broken.
This is my first project using OJB, and I enjoy the convenience of the
collection-descriptor/inverse-foreignkey mapping. What I'd like to do
however is specify additional criteria as to
16 matches
Mail list logo