All,
I retrieve a jdo collection with the jdo.getCol method. I'm using dynamic
proxy.
I'm using an iterator on this col and delete eatch object retrieve.
Later (not all time but 50% time) I commit and I have an Unmaterialized
proxy error !!
It seems that after a certain time
All,
I retrieve a jdo collection with the jdo.getCol method. I'm using dynamic
proxy. OJB RC7 same pb in RC6
I'm using an iterator on this col and delete each object retrieve.
Later (not all time but 50% time) I commit and I have an Unmaterialized
proxy error !!
It seems that after a
We are using and it's great !
-Message d'origine-
De : Janssen, Roger [mailto:[EMAIL PROTECTED]
Envoyé : mardi 6 avril 2004 18:47
À : 'OJB Users List'
Objet : RE: is RC6 a working version ?
hi,
i think it is...
we have writen our own layer around it, and have writen manymany junit
All,
I have a recursive statement witch delete in a tree all nodes with children
and dependencies.
The trouble is that I lock the entire objects in the right order (I debugged
carefully) but OJB doesn't send the Sql delete statements in the good order.
I can resolve the trouble by
with the delete order
Hi Emmanuel,
Emmanuel DUPONT wrote:
All,
I have a recursive statement witch delete in a tree all nodes with
children
and dependencies.
The trouble is that I lock the entire objects in the right order (I
debugged
carefully) but OJB doesn't send the Sql delete statements
All,
I would like to thank all of you for the great job you have done with OJB.
RC5 is really faster than RC4, we improve our treatment by 35% !! That's
really wonderful.
We have been using Ojb since one year and it is really a revolution project.
Thank in particular to Armin and
All,
When I use ObjectCacheDefaultImpl with two different thread I have this
weird behaviour :
All the getColl on my jdos return null if there isn't any object linked. If
I put CachePerBroker the pb doesn't appears...The getColl return an empty
collection.
Does someone has an idea ?
All,
I'm using OJBRC4 with Oracle.
Often I have this error message :
0WARN [Finalizer]
accesslayer.ConnectionFactoryNotPooledImpl - Connection.close() failed,
message was Exception d'E/S: Socket closed
I don't understand why.
I do not use a connection
All,
I am working with Ojb RC4, Oracle 9i.
I have a table with a PK with char[5] size. When I update with the value
FR OJB tries to insert FR . And so it does an insert instead of an
update when I still have a FR value in my PK.
I didn't have this trouble with SQLServer..I quiet
Thanks a lot Martin !!
-Message d'origine-
De : Martin Kalén [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 4 décembre 2003 19:08
À : OJB Users List
Objet : Re: Oracle and Char[size]
Emmanuel Dupont wrote:
I have a table with a PK with char[5] size. When I update with the value
FR OJB
All,
Should we all times use the Read lock when we manipulate a jdo for reading?
If yes, should we have to commit in order to release all locks or should we
abort the current transaction?
I thought it was important to systematically use the lock with all mode
(even READ) in order to
All,
What is the best solution to control the field length of a JSP application
with OJB.
The repository. Xml doesn't contain any information about the database field
length.
Anyway if it would do it, I would have the same trouble. All the jdo
attribute I use are String, etc.and in
Y're OJB.properties file is not present.
-Message d'origine-
De : A Leg [mailto:[EMAIL PROTECTED]
Envoyé : lundi 10 novembre 2003 16:18
À : [EMAIL PROTECTED]
Objet : Error at run time by a beginner
Hi
I make my first try, so I arrive to compile and to run it, but it fail
somewhere.
I
XML bellow?
- Original Message -
From: Emmanuel Dupont
To: 'OJB Users List'
Sent: Thursday, October 30, 2003 4:59 AM
Subject: RE : 1:1 navigable EmptyCache bug
Is it because you don't have any Inverse_foreignkey in your reference
descriptor ?
-Message d'origine-
De : Edson
Maybe you have reach the max number limit of connection borrowed.
In ojb.properties check the flag :
ConnectionFactoryClass, it seems you use the ConnectionFactoryPooledImpl
And
whenExhaustedAction=0
Isn't it ?
-Message d'origine-
De : Réda Benzair [mailto:[EMAIL PROTECTED]
Envoyé
of your object against the state when you acquired
the lock to find out whether the object needs to be updated or not.
HTH,
Gerhard
On Fri, 24 Oct 2003 18:02:21 +0200, Emmanuel Dupont
[EMAIL PROTECTED] wrote:
All,
I'm driving nuts. Is there definitely a position for the lock on ODMG ?
I
Please to tell you yhat we are three !
:)
-Message d'origine-
De : Bonnie MacKellar [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 23 octobre 2003 14:33
À : 'Mark Rowell '; ''OJB Users List' '
Objet : RE: problems with batch-mode=true
I have the same problem! I thought I was
the only one.
I read inb the doc but I didn't understood what the batch mode=true means.
Can someone explain it to me ?
Tx !
-Message d'origine-
De : Armin Waibel [mailto:[EMAIL PROTECTED]
Envoyé : mardi 21 octobre 2003 22:58
À : OJB Users List
Objet : Re: problems with batch-mode=true
Hi Bonnie,
!
Bonnie MacKellar
software engineer
Mobius Management Systems, Inc.
[EMAIL PROTECTED]
-Original Message-
From: Emmanuel Dupont [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 2:34 AM
To: 'OJB Users List'; [EMAIL PROTECTED]
Subject: RE : problems with batch-mode=true
I
My only experience is that we have longer time execution with RC4 under
MSSQL than before in RC3...
I don't investigate on it already
-Message d'origine-
De : Axel Hohaus [mailto:[EMAIL PROTECTED]
Envoyé : mardi 21 octobre 2003 16:59
À : [EMAIL PROTECTED]
Objet : Re: Very bad
Get the broker on the ODMG transaction and call getCount(Query query) on the
broker
-Message d'origine-
De : Sukesh Garg [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 16 octobre 2003 03:07
À : OJB Users List
Objet : COUNT support in ODMG
Is there support for get the size of the a
All,
We have changed our database driver. Before it was JTDS and now we are using
MSSql and Oracle. (OJB RC3)
We now have this trouble. When I insert into a table with a nullable foreign
key the SQL order insert a '' value.
Table A
Apk
Bfk (nullable constrainte)
Table B
Bpk
:51
À : [EMAIL PROTECTED]
Objet : RE: RE : How to map optional 1:1 relationship
Hello,
-Original Message-
From: Emmanuel Dupont [mailto:[EMAIL PROTECTED]
No '' should be done.
Sample :
INSERT INTO A (Apk, Bfk) VALUES ('100','');
It should be :
INSERT INTO A (Apk) VALUES
The point is that my insert statement are the same with ORACLE and MSSql as
it was with JTDS.
That is very weird.
-Message d'origine-
De : Emmanuel Dupont [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 15 octobre 2003 15:01
À : 'OJB Users List'
Objet : RE : RE : How to map optional 1:1
Wysocki for this trick
if ((value != null) || !type.isPrimitive())
{
fld.set(ProxyHelper.getRealObject(obj), value);
}
}
...
jakob
Emmanuel Dupont wrote:
Jakob,
What about the fact that the insert statement add a '' value in place
Hi Zhe,
I think you have to find a database tool. Under MsSql we use Profil
Gererator tool)
Check out with your database tools...
Good luck.
-Message d'origine-
De : Zhe Liu [mailto:[EMAIL PROTECTED]
Envoyé : mardi 14 octobre 2003 04:17
À : [EMAIL PROTECTED]
Objet : How to
, the only way to find out
the best driver for your application is do what we've done - test them.
Having said all that, we're still using the MS driver in the development
team, because it works and is free.
Cheers,
Charles.
-Original Message-
From: Emmanuel Dupont [mailto:[EMAIL PROTECTED
All,
I have this strange behaviours. When I call getCollectionByQuery I retrieve
a collection of proxy objects.
Now, I want to modify some attributes of these objects and after I lock with
the UPGRADE mode and commit.
No update is generated. The object is not make as dirty.
Why
All,
It is normal that the OJB RC4 version release is really slower than the OJB
RC3 ?
What can I do ?
Tx !
All,
Should i put a transaction.join() call each time I use an inner transaction.
Tx1.begin()
Tx2.begin()
Tx2.commit()
Tx1.join()- Oblige
Tx1.commit()
In the commit, a Transaction.close() is done on the current
All,
Should i put a transaction.join() call each time I use an inner transaction.
Tx1.begin()
Tx2.begin()
Tx2.commit()
Tx.join()-Oblige
Tx1.commit()
In the commit, the a close Transaction is done on the current
All,
Should i put a transaction.join() call each time I use an inner transaction.
Tx1.begin()
Tx2.begin()
Tx2.commit()
Tx.join()-Oblige
Tx1.commit()
In the commit, the a close Transaction is done on the current
All,
I have one repository.xml file witch point to numerous repository_user.xml
files.
My trouble is I want to put theses files in another folder of my
repository.xml.
It seems that it is not possible because eatch time the path of the
repository.xml path is put before the real path
(Smith);
tx.lock (objA);
tx.checkpoint();
loadObjectByQuery();
checkpoint writes to DB but keeps the tx open and also maintains the lock on
objA.
The DB should be able to find ojbA by an SQL query then...
cheers,
Thomas
-Original Message-
From: Emmanuel Dupont [mailto:[EMAIL PROTECTED
BIGINT for my primary keys and Long for class fields and
everything goes ok.
Ricardo.
-Original Message-
From: Emmanuel Dupont [mailto:[EMAIL PROTECTED]
Sent: viernes, 08 de agosto de 2003 18:29
To: 'OJB Users List'
Subject: RE : BIGINT to Long, FieldConversion ?
More information
Message-
From: Emmanuel Dupont [mailto:[EMAIL PROTECTED]
Sent: 07 August 2003 14:51
To: 'OJB Users List'
Subject: RE : Qury on an object Locked but not in Db
Thanks a lot for your reply Thomas,
I'm oK to your solution; the only trouble is that I can't do a
Rollback avec
the checkpoint if I need
More information : it faills on the FK key (not null column), null is put in
the assignReferenceFKs method from PersistenceBrokerImpl...
-Message d'origine-
De : Emmanuel Dupont [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 8 août 2003 17:35
À : OJB Users List
Objet : BIGINT to Long
You have forgot the at the end of the line :
driver=org.postgresql.Driver
-Message d'origine-
De : Met @ Uber [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 10 juillet 2003 03:15
À : OJB User
Objet : jdbc-connection-descriptor Tag Error.
Does anyone see whats wrong with the following XML
All,
I have a table with a Foreign Key witch is null able. The JDO's java
object's attribute associated to this table's column is a long.
My trouble is that OJB insert 0 each time nothing is specified in the JDO
attribute. But '0' is not a good thing for my application; I would like to
8 juillet 2003 12:36
À : 'OJB Users List'
Objet : RE: How to insert a long / FK nullable with a null value ?
make it a Long object and set it to null
-Original Message-
From: Emmanuel Dupont [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 12:33 PM
To: OJB Users List
Subject
with the conversion of the database type to
the java type you can always use a home made
FieldConversion to do it the right way. (done it my self with Strings and
Clobs in oracle, dont use the oracle driver but a 3e party driver and it
works great)
-Original Message-
From: Emmanuel Dupont
/jdbc-types.html
-Original Message-
From: Emmanuel Dupont [mailto:[EMAIL PROTECTED]
Sent: 08 July 2003 16:30
To: 'OJB Users List'
Subject: RE : How to insert a long / FK nullable with a null value ?
Hi Thomas !
Where can I find some sample with the FieldCompletion ? I
don't knopw how
- Original Message -
From: Emmanuel Dupont [EMAIL PROTECTED]
To: OJB Users List [EMAIL PROTECTED]
Sent: Monday, June 30, 2003 4:24 PM
Subject: LocalTxManager delete the only current Thread available ???
All
I think I found a bug or my implementation doesn't create thread
properly
All
I think I found a bug or my implementation doesn't create thread properly.
Here is my code sample with ODMG API:
--
T1 = new Transaction();
T1.begin();
[...]
While (isize) {
T2 = new Transaction();
T2.begin();
[...]
All,
I would like to enable the Log debug level trace.
Sample I want this trace to be on :
log.isDebugEnabled()) log.debug(LM.writeLock(tx- + tx.getGUID() + , +
new Identity(obj, tx.getBroker()).toString() + ));
How Can I do that and where the traces will be written ?
Sorry for this stupid question.
I found it..
-Message d'origine-
De : Emmanuel Dupont [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 25 juin 2003 10:22
À : OJB Users List
Objet : How to Enable Log Trace (isDebugEnabled)
All,
I would like to enable the Log debug level trace
All,
Is it possible to add the Key = ODMG.LogLevel, in the load() method af the
class OjbConfiguration.
If you don't use Log4j it doesn't work, you can't trace ODMG with
Level=debug by simply change the Ojb.properties.
I had to modify the source code..
Tx !
Some more information :
I have used : QueryBySQL
But there a prepare statement also. I would like to send a request without a
prepare statement.
Is it possible ?
-Message d'origine-
De : Emmanuel Dupont [mailto:[EMAIL PROTECTED]
Envoyé : lundi 23 juin 2003 11:34
À : OJB Users List
All what is a Commit on underlying connection
I have this on a commit. I update only one table where there is a Clob
column type.
No read-only option in the repository .
???
Tx !
[org.apache.ojb.broker.accesslayer.ConnectionManagerImpl] ERROR: Commit on
underlying
Hi Thomas, Hi Eric
I understand that OJB doesn't mind about this update method but what about
the database?
If I create a new Object with the same Id (witch is the corresponding
primary key ID) and I persisting it, I have a Double PRIMARY KEY constraint
ERROR in my database.
So it is not
the existence or not
for each object Updated in database via ODMG API before insert it) must be
preferred ?
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 19 juin 2003 11:28
À : OJB Users List
Objet : Re: RE : Updating Objects
Hi
Emmanuel Dupont wrote:
Hi
the impression that you work on the same transaction instance and try
to re-use the already closed broker transaction...
cheers,
thomas
-Original Message-
From: Emmanuel Dupont [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 12:53 PM
To: OJB Users List
Subject: Lock bug ??
Hi all
All,
Here is my code
// Criterias...
Criteria crit = new Criteria();
crit.addEqualTo(Alt_log.LOG_ID_PK,Essai );
Query q = QueryFactory.newQuery(Alt_log.class, crit);
// Start the Db transaction
broker.beginTransaction();
altLogEdited =
All,
I would like to know how Ojb drives the Date format. I have this trouble :
When I use in Java :
String strDate = 2003-06-13 15:01:01.555;
SimpleDateFormat dformat = new SimpleDateFormat(-MM-dd
HH:mm:ss.S);
java.util.Date date = dformat.parse(strDate);
Hi,
I am implementing a layer to hide all the ODMG and Persistence broker
classes, package.
In the PersistenceBroker Interface, the method : getClassDescriptor return a
org.apache.ojb.broker.metadata.ClassDescriptor.
I wanted to create a MyClassDescriptor by I wasn't able because of
Yes but in the reference-descriptor of an object witch has a reference to
the proxy, should you put InterfaceArticle ?
reference-descriptor
name=aArticle
element-class-ref=InterfaceArticle
[..]
-Message d'origine-
De : Gelhar, Wallace J. [mailto:[EMAIL PROTECTED]
Envoyé :
Apologize or this invalid text format.
AverBgra CasdDcat Esas
--- ------ ---
aVER_ID_PK gRA_ID_PK aSD_ID_PK cAT_ID_PK sAS_ID_PK
gRA-NAME aSD_NAMEcAT_NAME sAS_NAME
aVER_ID_FK aVER_ID_FK
All,
As the maillist is out of order, I would like to know if there are some
trouble with the dynamic proxy ?
I have two objects A, B who work fine with Ojb and since I have been puting
the dynamic proxy in the repository.xml it haven't been working.
I only do this :
Object A
I used : build reverse-db
It is in the tutorial
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 27 mars 2003 15:56
À : OJB Users List
Objet : jaxb
Hi,
I generated classes using sun jaxb mapping.
I would like to know which is the easiest way to
All,
After a while, I am not sure that I have really understood the difference
between ODMG transactions and PersistenceBroker Transactions.
I know there is a FAQ (What is the difference between the PB API and ODMG .)
but I don't understand completely (The PB keeps no transactional
Same trouble.
Nothing in the body of the mails.
Only : $msgHeaders
??
-Message d'origine-
De : Joerg Lensing [mailto:[EMAIL PROTECTED]
Envoyé : mardi 25 mars 2003 10:09
À : OJB Users List
Objet : view mail archive: try
http://archives.apache.org/eyebrowse/SummarizeList?listId=107;
All,
What is the best way to perform a select * request.
QuesryByCriteria is not wonderful is there anything else ??
Tx !
All,
I have a table OID with only one column witch is an unique ID for all my
tables.
Each time I have to insert a raw in a table I read the id stored in the OID
table and increment it.
I have this trouble :
I read the OID I increment the value and I want to Update it but Ojb doesn't
All,
I'm playing with Ojb and the Kategorien/Artikel tutorial. I noticed that
when I ask 3 times the same request to the database, I have this error
below.
Why it is not possible to request more than3 time the same request to the
database? ???
java.sql.SQLException: Network error-
All,
How can I activate the P6Spy in an IDE tool? I don't use the
build.properties file ans I would like top activate the P6Spy ..
Tx !
All,
All my primary Key are in the BigInt type.
In my repository.xml I have a 'BIGINT' jdbc-type, in my javaObjects I have
the type Long and all the ojb-requests are like it is a Varchar type.
SELECT A0.OBVID FROM Table WHERE A0.OBVID = '15'
Is There a trouble with the jdbc
All,
Where can I find the repository.xml with the sample Artikel and Kategorien
(Article/ Productgroup) ?
I would prefer to download it instead of typing it with errors..
Does this sample still working ?
I didn't manage to make a join works yet .
Tx !
All,
How can I activate the P6Spy tool in WSAD ?
I don't have any build.properties file there...
Tx !
I have the same problem.
Any help ?
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 20 mars 2003 08:50
À : [EMAIL PROTECTED]
Objet : What happens when an insert with ODMG fails?
Hi,
following question about storing a new object:
I have an Object
Yes !
-Message d'origine-
De : TINE Houari (OBJECTIVA) [mailto:[EMAIL PROTECTED]
Envoyé : mardi 18 mars 2003 14:18
À : 'OJB Users List'
Objet : how to manipulate many repository
Hi,
I want to handle many repository in the same projet. But the first parameter
of
All,
1)
I am going to choose OJB for our new persistence implementation. I would
like to how if it is possible for one JDO object (one .class object) to
access to different databases ?
It is possible by calling different factory, that it ?
But what about the profile file and
All,
I would like to have different jdbc-connection-descriptor declaration for
different jcd-alias. But each time I try to put a second one, I have the
error in websphere : The markup in the document following the root element
must be well formatted.
I don't understand ?? I also wonder
I apologize, i made a mistake, the tutorial2 is oK !!!
Have a good day.
-Message d'origine-
De : Emmanuel Dupont [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 27 février 2003 15:13
À : 'OJB Users List'
Objet : Tutorial2 still doesn't work ?
All,
Sorry again
I have the same trouble but my database is not large.
In fact I didnt' understood what I have to put in the fields :
Enter regular expression to match catalogs
Enter regular expression to match schemas
What did you put ?
-Message d'origine-
De : Ebersole, Steven [mailto:[EMAIL
Objet : Re: RE : RE : reverse-db
If I remember right, the first popup put the name of your db, the
second leave blank. If that doesn't work flip the info, blank first db
name second.
On Thursday, Feb 27, 2003, at 11:41 US/Eastern, Emmanuel Dupont wrote:
Mysql with mysql-connector-java-3.0.6
75 matches
Mail list logo