Hi,
I have problems when using proxy class :
With the tutorial example :
Loading of Article objects for a given ProductGroup works correctly, but
when I try to load Article objects only, the search always returns
nothing. Removing proxy from Article class-descriptor fixes the problem
(search
Hi Amol,
I read your previous posts carefully too, but I'm not sure that I can help.
Amol Pophale wrote:
Hi All,
Please read carefully and suggest me solution.
I am working with one MNC s/w company.My application
is web-based client-server application in which client
and server are on different
Hi Armin,
Thanks anyway for the reply
read inline comments with block letters.
Regards,
Amol
--- Armin Waibel [EMAIL PROTECTED] wrote: Hi
Amol,
I read your previous posts carefully too, but I'm
not sure that I can help.
Amol Pophale wrote:
Hi All,
Please read carefully and suggest
I believe, though lack first hand knowledge, that Thomas M. said the
JDORI plugin doesn't work with proxies. That is its big drawback =(
-Brian
On May 4, 2004, at 4:16 AM, Alexandre BOISSEAU wrote:
Hi,
I have problems when using proxy class :
With the tutorial example :
Loading of Article
I think the only way for the client to be aware of
server-side modifications to the database is to use
a distributed cache (OSCache, Swarmcache, jcs, ...).
The other way is, as Armin mentionned, not to
use cache at all on the client.
For other tools to do o/r mapping see
The validation query is used by ojb when it retrieve a connection
from the pool. It launches the validation query and if it fails,
the connection is discarded and it tries to borrow a new connection
from the pool.
here is a snippet of the code i use to ensure the connection to the
database is
Hello!
I don't know what I do wrong?
Tried all the tutorials, they work, use the same hsqldb as in the
tutorials (earlier tried with mysql).
jdbc-connection-descriptor
jcd-alias=default
default-connection=true
platform=hsqldb
Hi Guys,
Just new to this OJB world. Quite exciting.
Well I am trying to create a simple stateless session bean using OJB to
do database related work. My environment is as follows,
Weblogic 7.2 SP2
OJB 1.0.rc3
Oracle9i
So far I can get the object back through OJB, but I get in trouble when
I do
I cant seem to figure out bi-directional references. Am I being thick? or do
they not exist?
I have two objects in a database, which need to be associated with each
other (optionally).
ClassB has a property ClassA me, and int meId.
meId is mapped as an int, and me is mapped as a reference
Now I strip out all logic from EJB session bean to a stand alone
application and now my update also do not work.
I am wondering if any setup wrong in OJB.properties or repository
My repository look like,
jdbc-connection-descriptor
jcd-alias=repository.xml
Hi,
Me too !
I'd like to add that if you model it with 2 fk's you'll get into a nice
update problem. How do you ensure that the to fk's are consistent ?
You'll have to program something manually.
Since I use a generic access to my value object the solution with the
one-element-list doesn't
Hi Andrew,
Zhou, Andrew wrote:
Hi Guys,
Just new to this OJB world. Quite exciting.
Well I am trying to create a simple stateless session bean using OJB to
do database related work. My environment is as follows,
Weblogic 7.2 SP2
OJB 1.0.rc3
Oracle9i
rc3 is really outdated (recommend to update to
Hi Andrew,
Zhou, Andrew wrote:
Now I strip out all logic from EJB session bean to a stand alone
application and now my update also do not work.
you set 'useAutoCommit=0' in your standalone app. This is problematic
because OJB does not try to change the autoCommit state. If in your DB
Hi Georg,
this isn't a cache problem. The CCE is caused by line
result = (ManageableCollection) collectionClass.newInstance();
All specified collection classes must implement interface
ManageableCollection, more see
Armin
Thanks for your reply. I made some progress on debugging my problem.
Instea of set useAutoCommit=1, I did my test by do a direct INSERT.
Amazing my java application works. I can see new row created in table.
Seems like as long as I touch key-field OJB will figure that there is
difference
Hi again,
Amol Pophale wrote:
...
So you use PB-api only for read-only operations and
persist objects via
the server - right?
And on the server you don't use OJB?
Can you describe a little more?
YES U ARE ABSOLUTELY CORRECT I AM MOT USING OJB ON
SERVER SIDE.
...
I CANT FIRE QUERIES EVERYTIME ON
One more find, I am doing a silly update, the field I try to update is
not even configured in repository-.xml! That is why it never get
committed to database!
-Original Message-
From: Zhou, Andrew
Sent: Tuesday, May 04, 2004 12:08 PM
To: OJB Users List
Subject: RE: OJB EJB on
Zhou, Andrew wrote:
One more find, I am doing a silly update, the field I try to update is
not even configured in repository-.xml! That is why it never get
committed to database!
this is called the human factor ;-)
Armin
-Original Message-
From: Zhou, Andrew
Sent: Tuesday, May
Hi,
I had a similar problem when I started up with OJB and it took me nearly a
week to figure it out :) I think it could be that your OJB.properties file
is not being seen by your application. So you might either need to put it in
your classpath or else set your working directory to the same
Hi Armin,
I'm using db-ojb-1.0.rc6 and I change the collection-class as you write,
but it still deteting the object, I'm also change the auto-update and
auto-delete with every possible value (true,fasle,none)
and this not chage the result.
Object code:
/** @ojb.collection
*
20 matches
Mail list logo