Vincent Chou wrote:
Hi,
I am exploring the OJB. I installed the binary version on my WindowXP Pro. I
also download and followed the Getting_started guide. I compiled the
project under Eclipse, it compiled without problem. However, when I tried to
run command ant build setup-db. I am getting
Return Receipt
Your Re: Tutorial
document
:
Hi Robert,
there is bug in ODMG-api FK assignment when using
SequenceManagerNativeImpl (using DB Identity columns).
Test case is in CVS and we will try to fix this problem asap.
workaround: use the PB-api to insert new object with 1:1 reference
Transaction tx = odmg.newTransaction();
tx.begin();
Return Receipt
Your Re: Tutorial
document
:
Return Receipt
Your Re: Tutorial
document
:
Ji Joose,
Joose Vettenranta wrote:
Hi,
I want to retrieve lot's of data and not to retrieve it's childs (1:n
relationship).
I'm using like:
PersistenceManager persistenceManager =
pmf.getPersistenceManager();
PersistenceBroker broker =
Saleem Shafi wrote:
Hello,
i have a quick question about when a primary key is assigned to an
object using the ODMG interface provided by OJB.. i realize that the
PersistentBroker.store() method will set the primary key property on
the object, but the .lock() method on the ODMG transaction
Armin Waibel wrote:
Use collection proxy for child objects
http://db.apache.org/ojb/docu/guides/basic-technique.html#Using+a+Single+Proxy+for+a+Whole+Collection
or set auto-retrieve of your collection-descriptor to none/false.
But be careful when using this setting in combination with
What do you recommend - should I redesign my model to make it not
dependent on being informed whenewer an object completely materialized?
Thanks.
David
David Zejda wrote:
Mhmm, two things:
* Are you sure that the thing object is actually stored in the db,
i.e. is there a row for it after the
David Zejda wrote:
What do you recommend - should I redesign my model to make it not
dependent on being informed whenewer an object completely materialized?
I guess, that would make a lot of things easier. In my experience, if
you can get away with POJOs in your app (e.g. the domain is not aware
Armin Waibel said:
Hi Robert,
there is bug in ODMG-api FK assignment when using
SequenceManagerNativeImpl (using DB Identity columns).
Test case is in CVS and we will try to fix this problem asap.
workaround: use the PB-api to insert new object with 1:1 reference
I'm not sure I
Robert Crawford wrote:
Armin Waibel said:
Hi Robert,
there is bug in ODMG-api FK assignment when using
SequenceManagerNativeImpl (using DB Identity columns).
Test case is in CVS and we will try to fix this problem asap.
workaround: use the PB-api to insert new object with 1:1 reference
I'm not
Can anyone help me with this?
I have made some changes in my code, and I got one object of two currently
in the db to load correctly. I don't know why the other one does not load.
I'm having the feeling that I am missing something here. Here is my code
below. I have copied the relevant part of
Armin Waibel said:
Robert Crawford wrote:
Armin Waibel said:
Do you only use the PB-api? This bug is odmg-api related.
I only use the PB-api.
Then you shouldn't get problems with negative sequence numbers.
Can you describe me with some pseudo code an test case to reproduce your
Armin Waibel said:
Robert Crawford wrote:
Armin Waibel said:
Robert Crawford wrote:
Armin Waibel said:
Do you only use the PB-api? This bug is odmg-api related.
I only use the PB-api.
Then you shouldn't get problems with negative sequence numbers.
Can you describe me with some pseudo
Hi,
I am using RC7. Report queries do not convert fields as specified in the
mapping. For example, the field shown here returns as BigDecimal in the
query result. Is there a way to get it converted?
field-descriptor name=procDate column=PROCDATE
jdbc-type=bigint
Does anyone know how to turn native sequencing in DB2? I do get -1 and -2 as values
for that column and at some point(when application is restarted) it complaints that an
attempt was made to insert non-unique primary key.
Thanks in advance.
Max.
-Original Message-
From: Charles N.
I'm using the PB API, and I have data in two separate databases (on two
separate machines). I have an object class in one database that contains
another object class from another database. The problem comes when I set
auto-retrieve on for the containing class -- OJB doesn't seem to realize
that
I've been experiencing the same problem but running on just Tomcat.
what version of OJB are you using
What DB.
I was using RC5 and MySQL
i've upgragded and have stopped getting the error in my dev env but have
yert to test on the integration server.
Cheers
Jin
- Original Message -
hello
I searched the archive and I have not found answers so please tell me:
- is it still impossible to use OJB/JDO in production (because of the sun's JDORI
license) ?
- when apache implementation of JDO will be ready ?
- why JDO api is better than ODMG (I mean functionality, usability) ?
I'm using rc6.0 for now thinking of going to 1.0.0. What version did you upgrade with
to make it work?
Thank you,
Max.
-Original Message-
From: Jin Bal [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 29, 2004 9:19 AM
To: OJB Users List
Subject:Re: Negative Sequence
On Jul 29, 2004, at 4:42 PM, Artur Z wrote:
hello
I searched the archive and I have not found answers so please tell me:
- is it still impossible to use OJB/JDO in production (because of the
sun's JDORI license) ?
Yes
- when apache implementation of JDO will be ready ?
Good question. We are
thanks form reply
correct me if i'm wrong, but if everything will go as planed the apache JDO
implementation will be ready by november ?
Artur
- Original Message -
From: Brian McCallister [EMAIL PROTECTED]
To: OJB Users List [EMAIL PROTECTED]
Sent: Thursday, July 29, 2004 11:27 PM
On Jul 29, 2004, at 5:53 PM, Artur Z wrote:
thanks form reply
correct me if i'm wrong, but if everything will go as planed the
apache JDO
implementation will be ready by november ?
That is my personal plan, not an official one, and is subject to the
whims of the JDO expert group changing
Charles N. Harvey III said:
It means that something isn't set correctly in the database.
This has happened to me many times. It always happens when I turn on
native sequencing (IDENTITY in MSSQL or AUTOINCREMENT in MySql).
Check the PK of your database, it might not be properly set to
Hi,
I am using OJB 1.0.
I found following message appeared a lot of times in
my log file. Could anybody tell me what does that mean
and what would cause that problem?
29 Jul 2004 20:27:43 5408 INFO [Finalizer]
accesslayer.ReportQueryRsIterator - Found unclosed
resources while finalize
Hi,
I am writing a tool to import data into database and
I am using OJB 1.0 as the persistence layer to do the
actual insertion/update into database. I found that I
will get OutOfMemoryError problem if I load a large
number (over 100, will commit for each file) of files'
data. It works fine if I
27 matches
Mail list logo