Hi again,
Oops, I forgort to mention the most important thing:
Of course we are using OJB in those Systems!
We have several OJB based systems now in production for over a year.
We never had any OJB releated problems in production.
Most problems we faced during development were related to the
On Wed, May 28, 2003 at 08:32:16PM +0800, Stephen Ting wrote:
Hi Jens,
You're right. That's means this setup won't work. If the Log and
LogReceiveItem persisting to different table then it should be ok.
Haven't try, just guessing.
How to configure the repository to enable two classes(Log
hi,
i'm using report queries to retrieve external data (data from other
systems). i'm using an empty classdescriptor for some kind of proxy-class
that is dynamically modified for each request in which the proxy-class is
mapped onto the table of the external data source. no field descriptors are
Hi,
strange!
Could you post a test case or add a test to one of
the existing test cases to reproduce
your problem?
Yes it's strange, I noticed a couple of thing ... that could be wrong:
First of all, the problem seems the storing of the HighLowSequence object.
The maxKey attribute is a 'long'
Hi Roger,
-Original Message-
From: Janssen, Roger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 3:02 PM
To: 'OJB Users List'
Subject: [Feature Request] retrieving a collection from
reportqueries /
pa ging with reportqueries
hi,
i'm using report queries to
On Wed, May 28, 2003 at 01:44:39PM +0100, Mike Williamson wrote:
Hi,
We're trying to build a case for using OJB on a new project. We're familiar
with the tool - and have deployed several production applications already.
However, our client is asking for a set of OJB references sites to
Hi Reinhard,
- Original Message -
From: Reinhard Dunst [EMAIL PROTECTED]
To: OJB-Users-List (E-mail) [EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 1:13 PM
Subject: Handle broken database connections
Hi,
how can I handle broken database connections. If I shut down the
database
and
After using OJB on a number of web projects, I keep encountering the same
problem of updating partial object data from a struts form. for example, an
object might contain 10 fields, with one PK and a few FKs. the form however,
only contains 5 fields. Since the update action doesn't get a hold of
I've developed a application with Struts, OJB rc3, Oracle App Serv OC4J 903
and Oracle 8 DB.
Now I'm stress-testing the application with JMeter: 5 concurrent users with
3 different http request.
Some questions:
1)
It seems that the begin, commit and abort transaction funct have effect to
all
Hi Pier,
- Original Message -
From: Pierfranco Lai [EMAIL PROTECTED]
To: 'OJB Users List' [EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 6:02 PM
Subject: OJB System Test ISSUES
I've developed a application with Struts, OJB rc3, Oracle App Serv
OC4J 903
and Oracle 8 DB.
Now I'm
hi michael,
you should not use the name of a relationship in a user alias, in the
best case it will have no effect ;)
when you do not define your own alias ojb uses the name of the
relationship as 'internal' alias.
i'll have a look at your problem using an empty criteria.
hth
jakob
Michael
Any news?
Thanks,
Edson Richter
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.484 / Virus Database: 282 - Release Date: 27/5/2003
smime.p7s
Description: S/MIME cryptographic signature
Hi Armin,
-Messaggio originale-
Da: Armin Waibel [mailto:[EMAIL PROTECTED]
Inviato: mercoledì 28 maggio 2003 18.45
A: OJB Users List
Oggetto: Re: OJB System Test ISSUES
Hi Pier,
- Original Message -
From: Pierfranco Lai [EMAIL PROTECTED]
To: 'OJB Users List' [EMAIL
Hi Folks,
Just looking for a way to retrieve different views of data, the scenario
is this. I have a table (table1) with a relationship to another table
(table2), at times I may want to retrieve all the information from
table1 and the related information from table2, however, there are other
no new status so far :-(
Edson Carlos Ericksson Richter wrote:
Any news?
Thanks,
Edson Richter
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.484 / Virus Database: 282 - Release Date: 27/5/2003
Can anyone help answer this question:
What broker is used to fill proxied collections when the original broker
has been returned to the pool?
Thanks
David
If I do the following pseudo code what broker is used to fill the proxies?
get a broker
execute a query and get back some contact
Just add an attribute globalSequenceId with a value of true to the entry for the
sequence manager in your repository file.
sequence-manager
className=org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl
attribute attribute-name=grabSize attribute-value=20/
hi michael,
fixed the bogus sql bug.
please use the latest SqlQueryStatement from repository.
jakob
Michael Hart wrote:
Hi Jakob,
i did some tests with empty criteria and imo this works ok:
Oops... you're right - the example I gave was too minimal :-) Here's a
better one:
Criteria
Hi again,
each thread have to use it's on PB
instance -- different connections
Normally the steps are:
0. get PB instance from pool
(1 - PB Creation)
2 - PB beginTransation
3 - PB store
4 - PB commitTransaction
5. do PB.close() in finally block to
return PB instance back to pool.
regards,
Armin
GentleFolk,
I'd love someone to point me to the junit example of the 1:1 association,
particularily one that stores the associated object tree. I've looked at
the OneToOneTest,PersistenceBrokerTest, and BrokerExamples
without a clue as to how it should be done. Maybe I don't understand,
but
Has anyone used OJB with a commercial JDO implementation? (esp. Solar
Metric?) If so, could you give an idea of the work required to integrate
the two?
thanks,
Alex
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
What you need to do, is create a class-descriptor that describes Object,
and all it's persistent derivative objects. Then OIDs are unique across
the whole system, and more imporantly when you load an Object.class with
OID 5, it will know it has to look at all the tables to find it.
Hi David,
- Original Message -
From: David Warnock [EMAIL PROTECTED]
To: OJB Users List [EMAIL PROTECTED]
Sent: Wednesday, May 28, 2003 7:59 PM
Subject: Re: What broker gets used by proxies?
Can anyone help answer this question:
What broker is used to fill proxied collections when
When I try to do broker.store(Myobject.class), if a violation of Oracle
constrain occurs, OJB seems to eat up the error message and doesn't display
any warning or error message at all.
Is this the normal behavior of OJB or did I miss any thing?
Thank you!
Lucy
Armin,
Whew, thanks. Panic over. Still I am re-architecuring a bit for
performance so the original broker will be around long enough with it's
cache.
Proxy was associated with PBKey of the 'original' broker and try find
an open PB instance with the same PBKey for the current thread, else
java.lang.Object doesn't have an ID field. Are you suggesting that I
change my datamodel to have a single peristable super class?
Joe
[EMAIL PROTECTED] wrote:
What you need to do, is create a class-descriptor that describes Object,
and all it's persistent derivative objects. Then OIDs are
fixed the bogus sql bug.
please use the latest SqlQueryStatement from repository.
Beautiful! It seems to work perfectly - I haven't been able to break it yet
;-)
you should not use the name of a relationship in a user alias, in the
best case it will have no effect ;)
Ah really? Well it was
Hello All,
I've tried to use such scheme as described at :
http://cvs.apache.org/viewcvs/db-ojb/xdocs/howto-use-anonymous-keys.xml?rev=HEADcontent-type=text/vnd.viewcvs-markup
but I got such exception :(.
In few words my prog contains 3 classes
class A contains
collection B
collection C
B
Hi Alexander
Is userDefinitionScreenID a field defined in your mapping? ie. this
has to be the name attribute of a field-descriptor definition. Something
like:
field-descriptor
name=userDefinitionScreenID
column=_idA
jdbc-type=INTEGER
access=anonymous/
Hello Raymond,
sure, I've defined this field in mapping.
there are ddl and repository_user.xml files from this project.
RB Is userDefinitionScreenID a field defined in your mapping? ie. this
RB has to be the name attribute of a field-descriptor definition. Something
RB like:
RB
Hi Alexander,
You're right. I've not used anonymous keys like this before (although, I
do use them in my app). Maybe I should look further into it!
Sorry I couldn't help-just thought I'd have a go ;)
Cheers,
Raymond
Alexander Prozor wrote:
Hello Raymond,
I think now if example is correct:
Hi Armin,
yes I think so. A 'refresh()' would make sense. Because there are a lot of
situations where the connection to the database can be lost. And when I look
in archive for similar situations, there are some of them. I saw, there is
just a 'connection.isClosed()' in
32 matches
Mail list logo