naged environment
with not further details.
andreas
Armin Waibel schrieb:
> Hi Andreas,
>
> Andreas Bohnert wrote:
>> hi,
>>
>> I wonder if OJB supports Geronimo. I haven't found an TransactionManager
>> in /org/apache/ojb/broker/transaction/tm, also I haven
hi,
I wonder if OJB supports Geronimo. I haven't found an TransactionManager
in /org/apache/ojb/broker/transaction/tm, also I haven't found any
geronimo topics in the mailing list or the documentation.
Are there any Geronimo users here?
I try to migrate from jboss to geronimo, but now I'm doubtf
"Bleeding edge" development for OJB v1.1+ is in CVS HEAD, but should also
not be broken. OJB_1_0_RELEASE is maintenance for the last release OJB
and is thus pre-1.0.4 at the moment.
As a rule of thumb, OJB_1_0_RELEASE branch is currently as stable as
v1.0.3
plus some bugfixes and new minor improv
hi martin,
I have just run several tests with different hints. It works very well,
however, if I don't set a hint, no cursors are used, even with
getIteratorByQuery!
But maybe that's not too bad. If you enable cursors on iterators by
default, MySql users could run into troubles.
I just found th
hi martin,
Martin Kalén wrote:
Brief update on this:
It looks like we will put a global configurable fetchSize hint on the
jcd-connection-descriptor level, and that this will primarily be done
in the trunk (eg part of upcoming OJB 1.1 line of releases).
this will help us a lot, thank you!
regards,
Braeuchi schrieb:
hi andreas,
ojb selects all columns but creates proxies instead of fully
materialized Article objects.
what related object do you want to prefetch here ?
jakob
Andreas Bohnert schrieb:
hi,
may someone can help me with the proxies, please!
everything works fine, prefetching works as it
ok, sorry. I see.
this was an proposal to set the fetch size!
:)
Andreas Bohnert wrote:
hi jakob,
Jakob Braeuchi wrote:
hi all,
ojb supports proprietary start- and endIndex for queries. this
solutions does not use fetch size or limit hints.
but this does not affect the way jdbc selects the
hi jakob,
Jakob Braeuchi wrote:
hi all,
ojb supports proprietary start- and endIndex for queries. this
solutions does not use fetch size or limit hints.
but this does not affect the way jdbc selects the results and the memory
consumption on jdbc side is still the same.
or do I miss something?
r
hello martin,
thanks for your quick response!!
>I will re-run again and check peak JVM heap usage before/after and
>bring it up on the development list.
with 115000 big data objects and fetchSize=0 (=default behavoir=without
cursor) 97% memory of my jboss system was used (jboss with -Xmx512m)
dur
Hi,
Postgres (for example) don't use cursors on default. The PG jdbc driver
loads the entire ResultSet all at once and keeps it in memory! So, even
if you do a getIteratorByQuery the memory load on a large resultset is huge!
You can get around this, if you set the fetchsize on the jdbc statement
hi,
may someone can help me with the proxies, please!
everything works fine, prefetching works as it should, but when OJB
initially selects the oid's, it does select all fields instead of just
the pk!
let's say, there is a table 'Article' with 200 000 objects.
I have written an Article Class, an
hello list,
I would like to clearify, how ojb and jboss handle a transaction in a
managed environment exactly. I'm using Jboss and the
PersistenceBrokerFactorySyncImpl.
I assume, it's is like that:
void func() {
PersistenceBroker broker = getBroker(); <-- here the transaction
starts!?
hi list,
I want to do some database cleanup after a particular exception during a
transaction arises.
But when I try to use the broker which gets this particular exception, I
get another exception:
Transaction synchronization failed - wrong status of external JTA tx.
Expected was an 'active' or
ter update to replace source files in 'target'
directory.
AFAIK I removed the jboss mbean classes some time ago. To make the
examples easier to deploy on different appServer, the JNDI lookup was
no longer used.
regards,
Armin
Andreas Bohnert wrote:
hello all,
I just have tried to
hello all,
I just have tried to compile the snapshot from today with mbean support
and I'm getting this error:
[javac] Compiling 960 source files to
/home/talies/workspace/db-ojb/target/classes/prod
[javac]
/home/talies/workspace/db-ojb/target/src/org/apache/ojb/jboss/PBFactory.java:42:
ca
thanks anyway!
andreas
Armin Waibel wrote:
Andreas Bohnert wrote:
thanks for your quick response, armin!
I see, the pwd/user settings in repository_user.xml are optional!
ok, that's good, so I have only one problem left. maybe you can give
me a hand with this:
I have just one ear file wi
thanks for your quick response, armin!
I see, the pwd/user settings in repository_user.xml are optional!
ok, that's good, so I have only one problem left. maybe you can give me
a hand with this:
I have just one ear file with my ejb's, war's, jar's and ojb.sar inside,
and I have my datasource.xml
hi,
I have read some postings about OJB's datasource handling and I'm
confused now.
It's said, that you have to
a.) put username/password both in the datasource.xml and
repository_database.xml or
b.) let username/password blank and give it to the broker (with pbkey)
at runtime.
why is that?
if
le
normal Exceptions?
regards
andreas
Armin Waibel wrote:
Hi Andreas,
Andreas Bohnert wrote:
hello everybody,
we do a jboss project and we use the persistence broker only.
therefore we use the PersistenceBrokerFactorySyncImpl, which is
recommend to use with managed environments and pb only.
we
hello everybody,
we do a jboss project and we use the persistence broker only.
therefore we use the PersistenceBrokerFactorySyncImpl, which is
recommend to use with managed environments and pb only.
we don't use entity beans. we have a stateless OjbSessionBean, which is
called for any db activit
yes, we do.
no problems so far...
regards
andreas
Martin I. Levi wrote:
Hello people!
Is there anybody using OJB on a PostgreSQL database?
Please let me know.
Greets,
Martin Ivan Levi
Universitat Politecnica de Catalunya
Centre Tecnologic de Transferencia de Calor
r them all and one by one add them to
the list.
so displaying a list, this drastically increases the amount of steps needed
to display it.
-Original Message-----
From: Andreas Bohnert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 12:24 PM
To: OJB Users List
Subject: Re: [bug] cannot
r them all and one by one add them to
the list.
so displaying a list, this drastically increases the amount of steps needed
to display it.
-Original Message-----
From: Andreas Bohnert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 12:24 PM
To: OJB Users List
Subject: Re: [bug] cannot
hello janssen,
i had the same 'problem'. now I put all items in a list, close the pk,
and iterate over the list now.
from my point of view, I would say it was a bug, that ojb has allowed to
iterate with a closed pk.
because there can be no cursor left to iterate over the query.
well, that's wha
false (false == 17, true == 23)
regards,
Armin
Andreas Bohnert wrote:
hello armin,
yes, I did replace the repository.dtd.
I just simplified my application source. Here is the client/server
code that produce the wrong deletes.
I'm using jboss 3.2.3 and postgresql 7.4.1.
the repository files
made a quick test. It works for me. Did you replace the repository.dtd?
>Can you post the source code snip?
>regards,
>Armin
Andreas Bohnert wrote:
hello everbody,
today I checked out the rc6 cvs version and did some validation tests
on my application.
I found out, that there is som
hello everbody,
today I checked out the rc6 cvs version and did some validation tests on
my application.
I found out, that there is something going wrong, when I delete an object.
I have an decomposed n-m relation:
CONTACT INSTITUTION_CONTACT --- INSTITUTION
when I delete an INST
I don't know why, but's working now...
sorry about that - just forget it
andreas
- Original Message -
From: "Andreas Bohnert" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Monday, September 08, 2003 3:24 PM
Subject: Ex
I'm working myself through the Deployment in EJB based applications -
Tutorial, and finally I'm not sucessfull:(
I'm working with Jboss 3.2.1, Hsqldb 1.7.1 and ojb rc3.
I used the (like suggested..) the SequenceManagerNextValImpl but I was
getting this one:
2003-09-08 15:14:03,421 ERROR [org.jbos
Hi Thomas,
I'm also a newbie to application servers, so a couple of questions are
comming up now.
Do you suggest to leave EJB's aside complety?
I thought I'm supposed to use OJB within EJB's (like the OJB-EJB
examples...)
Are there also disadvantages if I work just with OJB and leave EJB aside?
30 matches
Mail list logo