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
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 (causer
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
incre
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 everythi
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 P
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 workin
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 Num
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) ?
onl
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 -
Fro
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 t
DB2 UDB also supports "GENERATED BY DEFAULT AS IDENTITY" columns. How can I make it
work with OJB?
The implementation I'm looking for is the one that leaves PK as null at the time of
insert. I realize that it might be impossible to do in the framework that tries to
manage object's identity eve
Vesely, Maxim [IT] wrote:
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.
As far as I know DB2 support DB generated seque
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. Har
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?
Sami
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 increment.
Whenever
this isn't set
I experienced exactly the same problem running in managed environment with JTA
transaction.
Max.
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 29, 2004 8:35 AM
To: OJB Users List
Subject: Re: Negative Sequence Numbers?
Robert Crawford wrote:
> Ar
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 se
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 code an test case to reproduce
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 rep
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
problem?
regards,
Armin
---
Armin Waibel said:
> Do you only use the PB-api? This bug is odmg-api related.
I only use the PB-api.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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 the
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 sur
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 unde
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
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 sto
Maksimenko Alexander wrote:
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
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
auto-up
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 doesn't
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 =
PersistenceBrokerFactory.defaultPersistence
Return Receipt
Your Re: Tutorial
document
:
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
:
34 matches
Mail list logo