I'm using rc1 version.
-Original Message-
From: Jakob Braeuchi [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 2 de Abril de 2003 18:06
To: OJB Users List
Subject: Re: Invalid argument value: Not unique table/alias: 'A1'
hi João,
what version of ojb do you use ?
jakob
João Luz wrote:
Well, that kind of works. That is, it works great, unless you have
bidirectional references that you want refreshed, in which case you get a
Stack Overflow
|-+---
| | Ron Gallagher |
| | [EMAIL PROTECTED]|
| |
For me the problem appears without any reference/collection.
If you get a simple query to retrieve an object, modify an attribute of this object in
the database and get this object a second time the attribute won't be updated.
Is it a bug or is there something wrong in my app?
Sylvain
hi,
we are planning to migrate to the latest release very soon (maybe even next
week).
until then i'm not able to test it on a version newer than 0.9.7. (sorry for
that)
the result looks imo not too bad. selects are done for each of the
concrete classes:
selects are done in some cases but,
Hi Andrew,
- Original Message -
From: Andrew Gilbert [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 12:57 AM
Subject: Separating LocalTxManager and JTATxManager Use
Have a question trying to use OJB under a J2EE environment. If one
deploys web and ejb components
I think what you're describing is a different problem. If your changing
your database outside of OJB, then you probably don't want to use the
standard cache.
|-+-
| | [EMAIL PROTECTED]|
| | isscom.com |
| |
Hello,
I have just recovered the last version of OJB.
This my problem :
When I store the object Customer I obtain the following exception.
This exception occurs on assignement of the primary key.
Can you help me ? please.
Thanks
java.lang.ClassCastException:
Hello.
We're using OJB 0.9.7 and I am facing a weird error.
I'm selecting data from one table, joining it on a second table using an
inner join and retrieving one column from the second table. So I use a
Criteria, and type something like criteria.addEqualTo(joinTable.col,
somevalue);, as well as
Hi,
it is possible to change the persistent object metadata
(all ClassDescriptors) in a per thread manner or global
using the org.apache.ojb.broker.metadata.MetadataManager.
Is this possbile ? If not, where can I get in dynamic OJB config ?
It is also possible to load and merge
additional
hi roger,
ok then i wait until you report problems with the new release, i hope of
course there are none ;)
jakob
Janssen, Roger wrote:
hi,
we are planning to migrate to the latest release very soon (maybe even next
week).
until then i'm not able to test it on a version newer than 0.9.7.
Thx Jakob,
I've changed the IndirectionHandler class in the release 2 as you
recomended:
public Object invoke(Object proxy, Method method, Object[] args)
{
Object subject = null;
try
{
subject = getRealSubject();
// handle toString
I'm a relative newbie to OJB, but i'll give this one a whirl.
See comments preceded w/ pgm:
-Original Message-
From: charles grohowski [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 3:16 PM
To: OJB Users List
Subject: Newbie OJB problem
Hi,
I recently set up OJB to work
Hello everybody,
does anybody has a workaraound or temporary patch for
the null foreign key reference bug in OJB?
This bug was reported twice in scarab. It occurs when inserting or
updating objects that have a null foreign key reference. When using
primitives (integer etc. ) as a primary key
Can you please elaborate on what you mean by in a per thread manner or
global? I thought OJB can only have a global metadata definition. Are you
implying by per thread to mean that each application can dynamically load
its own metadata using the same OJB instance? If that is the case, then it
I'm using the JDO API and 1.0.rc1 right now.
I was expecting that a query would return a Collection of persistent
objects. However, it appears to return objects that are not persistent.
(I've included my code below.)
Can someone clear up my confusion? :-)
Thanks in advance!
Susanne
Hi,
I'm trying to set up OJB RC2 to work with my Oracle 9i OS X Beta. I've
modified my build.properties to use oracle oracle.properties to specify
the connection url but when trying to execute a prepare-tutorials to
test out the system I get the following error:
[torque-insert-sql] Failed to
Hi all,
I´m saving a java.sql.date to an Oracle field using OJB DATE mapping.
The java.sql.date ojbect is being set with system date time.
obj.lastModifDate(new java.sql.Date(System.currentTimeMillis())); // Lets
say ,with the right mask it would be 03/04/2003 15:40:17.
When we retrieve the
Looking at the performance benchmarks at OJB's page, there's a dramatic
difference in speed between ODMG and PB implementations. Is this because of
the object locking features with ODMG, or is it because ODMG uses PB and
that extra adapter layer causes slow downs?
-Jacob
Hi,
an evergreen problem with oracle (asked and answered several times here): you can only
have on LONG or LONG RAW column in one table with oracle, unfortunately
OJB_DMAP_ENTRIES is defined with two such fields.
We changed the datatype for column VALUE_OID to VARCHAR2(2048) (in the repository
hi João,
thanks for your testcase.
i commited a patch to SqlQueryStatement.
the sql produced is now as follows:
SELECT A0.idInternal,A0.name
FROM A A0
INNER JOIN AB A1 ON A0.idInternal=A1.keyA
INNER JOIN B A2 ON A1.keyB=A2.idInternal
INNER JOIN C A3 ON A2.idInternal=A3.keyB
INNER JOIN D A4 ON
Hi Susanne,
Susanne Sherba wrote:
I'm using the JDO API and 1.0.rc1 right now.
I was expecting that a query would return a Collection of persistent
objects. However, it appears to return objects that are not persistent.
(I've included my code below.)
Can someone clear up my confusion? :-)
It's beacuse ODMG is a full fledged Object transaction manager.
It does a full tracking of object states during transactions etc.
This causes all the overhead. The real persistence work is done with
the underlying PB API and is not slower than native PB operations.
cheers,
Thomas
Jacob Hookom
Is it acceptable for OJB to cause a StackOverflow Exception (infinite
recursion)? I get this when I do refresh=true on bidirectional
references. The problem isn't there if you don't say refresh, but in that
case, OJB doesn't produce reliable/consistent data.
David
This message contains
In the repository_*.xml file specify the type as TIMESTAMP but leave it as
DATE in oracle.
Sincerely,
Vladimir Berezniker
Sr. Programmer Analyst
Staten Island University Hospital
[EMAIL PROTECTED]
04/03/2003 06:39 PM
Please respond to OJB Users List
To: OJB Users List [EMAIL
Armin,
Thanks.
Unfortunately, would seem to be stuck. Option 1 requires separate J2EE container
instances, to get around singleton issues. We are not keen on this. We would like to
retain option to deploy web and ejb apps to one container.
Ideally would be able to bootstrap 1..N
I use both the PB and ODMG in the same accessor class. I use PB to do all
the read only processing and then ODMG when I will be updating or adding to
the database. I've only done a small bit of testing using this methodology
however.
cheers,
gary
-Original Message-
From: [EMAIL PROTECTED]
Which of the files in the repository.xml hierarchy do I really need
if I am using OJB in a servlet based app under Weblogic?
I know I need repository.xml, repository_database.xml, and
repository_user.xml.
How about repository_junit.xml, repository_ejb.xml, repository_internal.xml,
and
On Thu, Apr 03, 2003 at 04:07:40PM -0500, [EMAIL PROTECTED] wrote:
The problem isn't there if you don't say refresh, but in that
case, OJB doesn't produce reliable/consistent data.
Question is, can we expect that consistency is the responsibility of
OJB? I think db consistency should be done
Hi,
I would like to have my OjbStorePMF factory properly deployed on a JBOSS
server , unfortunately an appropriate MBean is not provided ..
Should I use the (J2EE deployable) PBFactory and modify
org.apache.ojb.jdori.sql.OjbStoreConnector so it looks up for PBFactory on a
JNDI context ?
If you
I don't think I'm using PersistentNestedFieldMaxPerformanceImpl correctly.
I have a property on a class Vehicle called tareWeight, of type Weight.
Weight in turn has one property grainAmount of type long. I put the
following field descriptor inside Vehicle:
field-descriptor
In the sectionusing dynamic proxies of the tutorial at
http://db.apache.org/ojb/tutorial3.html , it says that a class descriptor
is defined as follows::
class-descriptor
class=org.apache.ojb.broker.Article
proxy=dynamic
table=Artikel
Why class value is not set to
Hello, again.
Thanks to your help a few days ago I've gotten my installation of OJB
into half-working order. I'm writing with another beginner's question.
I've been trying to figure it out myself for a while, to no avail.
I have a class I call ProfileSimple. It contains some member variables
IMO yes!
It's the users responsibility to carefully check the semantics of the
mapping repository.
If you define a cyclic structure OJB has no problem. But if you define a
rule if A is Loaded then refresh also the referenced B object another
rule if B is Loaded then refresh also the referenced
Jon,
I can't help you with the torque issues.
After that I tried using using the ojbcore-schema.sql to insert the default
required tables into the firebird database skipping the test torque stuff.
However, I got an error when doing that: GDS Exception. unsuccessful
metadata update key size too
Hi David,
The following files were missing from the torque-3.0.jar for some reason:
sql/load/interbase/row.vm
sql/load/interbase/val.vm
[TORQUE-GUYS] Is there a reason for this?
The SQL seemed pretty straight forward so I just placed slightly modified
copies of the postgres version of those
35 matches
Mail list logo