RE: massive performance problem with q.setStartAtIndex() and q.setEndAtIndex()

2007-03-20 Thread Matthias Roth
sorry I try again, it seam that some filter remove the statment: but the attribute tag at the end of your class descriptor "" regards Matthias >-- Original-Nachricht -- >Reply-To: "OJB Users List" >Date: Tue, 20 Mar 2007 17:07:09 +0100 >From: "Matthias R

RE: massive performance problem with q.setStartAtIndex() and q.setEndAtIndex()

2007-03-20 Thread Matthias Roth
ups the example was corrupted: ... >-- Original-Nachricht -- >Reply-To: "OJB Users List" >Date: Tue, 20 Mar 2007 16:51:24 +0100 >From: "Matthias Roth" <[EMAIL PROTECTED]> >Subject: RE: massive performance problem with q.setStartAtIndex() and

RE: massive performance problem with q.setStartAtIndex() and q.setEndAtIndex()

2007-03-20 Thread Matthias Roth
to change the propertie "SqlGeneratorClass=" to your SQLGenerator Class. In the repository.xml file you can now add suffixes for optimise the sql like this: ... I hope that heps you. If you have more questions about this problem you can conntact me at [EMAIL PROTECTED] regards Mat

RE: Concurrent Users-Please Help!

2006-09-05 Thread Matthias Roth
Hi, In my opinion in your case there is no support from OJB. because it is a problem of normalization of the db table. You have two possibilities if now one sends you a other response ;) 1. normalize the table remove Col1 and declare Col2 and Col3 as primary key. In this case ojb will update t

RE: Concurrent Users-Please Help!

2006-09-04 Thread Matthias Roth
Hi With the default settings from ojb it works. But every thread must have it's one borker! Matthias Roth -Ursprüngliche Nachricht- Von: Vagula [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 5. September 2006 06:31 An: OJB Users List Betreff: RE: Concurrent Users-Please

AW: Concurrent Users-Please Help!

2006-09-04 Thread Matthias Roth
Hi How do you get the broker? In your code snip the statement broker=PersistenceBrokerFactory.defaultPersistenceBroker(); and broker.close is missing. Where do you do this calls? is missing. where do you do this calls? Matthias Roth -Ursprüngliche Nachricht- Von: Vagula [mailto:[EMAIL

AW: Concurrent Users-Please Help!

2006-09-04 Thread Matthias Roth
do not handle transctions broker.store(yourObject); }finaly{ if (broker != null && ! broker.isClosed()) broker.close(); } Matthias Roth -Ursprüngliche Nachricht- Von: Vagula [mailto:[EMAIL PROTECTED] Gesendet

New Verson of the Impart OJB Mapping Tool

2006-09-03 Thread Matthias Roth
Hello OJB Developers I published a new Version of the Impart OJB Mapping Tool http://www.impart.ch/download_ojb.htm The Tool supports you in generate Mapping Files and Java Beans. - You can drag Tables to Package Explorer - You can drag Tables to the Model Tree - You can drag Classes from th

AW: AW: Problems with PersistenceBrokerSyncImpl

2005-04-03 Thread Matthias Roth
: > Armin Waibel wrote: > >> Matthias Roth wrote: >> >>> Hi Armin >>> Should it not be hidden from the user of ojb. With this solution A >>> user of ojb has to implement two different db layers: one for >>> managed Environment and one for not managed

AW: Problems with PersistenceBrokerSyncImpl

2005-04-01 Thread Matthias Roth
here as simple servlet engine without distributed tx, there is no need to use the JTA integration supported by PBFSyncImpl. If you use JTA it's mandatory to use PBFSyncImpl and JTA-tx demarcation. regards, Armin > Can some one Help? > > Matthias Roth > > Bundesamt fü

Problems with PersistenceBrokerSyncImpl

2005-03-29 Thread Matthias . Roth
container one time per day). Can some one Help? Matthias Roth Bundesamt für Informatik und Telekommunikation BIT Office fédéral de l'informatique et de la télécommunication OFIT Ufficio federale dell'informatica e della telecomunicazione UFIT Monbijoustrasse 74, CH-3003 Bern Te

AW: New OJB Generator3.0 based on JET Framework of Eclipse with repository.xml view

2005-01-19 Thread Matthias Roth
of Eclipse with repository.xml view hi matthias, are you working for BIT.admin ? jakob Matthias Roth schrieb: > Hello > there is a new OJB generator with source and structure of a Eclipse > Plug-in > Project: > > http://www.impart.ch/download.htm > > What's new

New OJB Generator3.0 based on JET Framework of Eclipse with repository.xml view

2005-01-18 Thread Matthias Roth
ove of the jdbc driver loader because it was not stable and a lot of user had some problem with. New drivers must be copied to the plug-in lib directory and entered in the plugin.xml file as described in the help. Pleas be free to send me comments, remarks and wishes. Matthias Roth Dipl. I

Date of Version 1.0

2004-05-31 Thread Matthias Roth
Hello I am waiting still one year for the version 1.0. Must we wait again one year or is there a light in the tunnel of RC's xy? Does some body now the date of 1.0? kind regards Matthias Roth Dipl. Ing. HTL in Wirtschaftsinformatik impart Software Engineering GmbH Postgasse 19 CH-3011

dead lock in odmg api

2003-12-10 Thread Matthias Roth
). It is never released if it is one time locket. Have some one an idea what the problem is? regards Matthias Roth Dipl. Ing. HTL in Wirtschaftsinformatik impart Software Engineering GmbH Chasseralstrasse 13 Postfach CH-3063 Ittigen Phone +41 (0)31 922 39 25 Fax +41 (0)31 922

RE: SystemErr unexpected token

2003-12-10 Thread Matthias Roth
introduced to change object value handling. All tests pass without problem (a few days ago), so do you really update all classes and do you remove stuff in target directory (e.g. calliing 'clean' target)? regards, Armin Matthias Roth wrote: > Hi > I get the latest version of

SystemErr unexpected token

2003-12-08 Thread Matthias Roth
Hi I get the latest version of OJB if I make an update I get the follwoing error: SystemErr R line 1: unexpected token: org.apache.ojb.broker.core.ValueContainer but the update is made?!? regards Matthias Roth Dipl. Ing. HTL in Wirtschaftsinformatik impart Software Engineering GmbH

OJB on z/OS with Websphere and DB2

2003-12-05 Thread Matthias . Roth
moving the bboax.jar file from the class path. :-b regards Matthias Roth Bundesamt für Informatik und Telekommunikation BIT Office fédéral de l'informatique et de la télécommunication OFIT Ufficio federale dell'informatica e della telecomunicazione UFIT Monbijoustrasse 74, CH-3003 Be

OJB in a Clusterd Environement

2003-12-05 Thread Matthias . Roth
Hi have some one experience with ojb in a Clustered J2EE Environment (Websphere)? Did OJB work proper with more than 2 clustered servers? If yes which was the settings of OJB (used Sequensmanager, used connectionmanager , settings in OJB.properties) Thanks for your answer regards Matthias Roth

Problem with DB2 on z/OS

2003-12-02 Thread Matthias . Roth
the Websphere is running on NT (DB2 on z/OS) then 50 users works with out problems Thanks for every hint regards Matthias Roth Bundesamt für Informatik und Telekommunikation BIT Office fédéral de l'informatique et de la télécommunication OFIT Ufficio federale dell'informati

what is the reason of LockNotGrantedException

2003-11-14 Thread Matthias . Roth
Hi what is the reason if a LockNotGrantedException is thrown by calling tx.lock(myobject,tx.WRITE): 1. The locking dos not work (some internal error of ojb, config problem, table missing)? 2. a object is still locked, so I have to try later to write my object? regards Matthias Roth

ERROR prepareStatement() attempted on closed ( with OJB rc4 on D B2 on z/OS)

2003-11-04 Thread Matthias . Roth
not with OJB 0.9.7 regards Matthias Roth Bundesamt für Informatik und Telekommunikation BIT Office fédéral de l'informatique et de la télécommunication OFIT Ufficio federale dell'informatica e della telecomunicazione UFIT Monbijoustrasse 74, CH-3003 Bern Tel.++41 (0)31

RE: check Batchmode problem with DB2 on z/OS with ojb 1.0.rc4

2003-10-23 Thread Matthias . Roth
at org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImpl .java:327) ... On Tue, 21 Oct 2003 23:33:03 +0200, "Matthias Roth" <[EMAIL PROTECTED]> wrote: >Hi > >does the SequenceManagerHighLowImpl check for batchmode by creating &g

RE: check Batchmode problem with DB2 on z/OS with ojb 1.0.rc4

2003-10-23 Thread Matthias . Roth
, 21 Oct 2003 23:33:03 +0200, Matthias Roth <[EMAIL PROTECTED]> wrote: > Hi > > does the SequenceManagerHighLowImpl check for batchmode by creating > a new broker instance in getSequence(...){ > ... > PersistenceBrokerFactory.createPersistenceBroker(brokerForSequence.getPBK

check Batchmode problem with DB2 on z/OS with ojb 1.0.rc4

2003-10-21 Thread Matthias Roth
error tells that batch mode is not suported. But in the repository.xml file I set batch-mode="false". Have had some body also this problem? regards Matthias Roth Dipl. Ing. HTL in Wirtschaftsinformatik impart Software Engineering GmbH Chasseralstrasse 13 Postfach CH-3063 Itti

RE: Problem with configuration

2003-09-18 Thread Matthias . Roth
Thanks for the answer. witch CVS version is rc3? (1.10?,1.11? ..?) regards Matthias Roth -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 18. September 2003 12:01 To: OJB Users List Subject: Re: Problem with configuration - Original Message

RE: Problem with configuration

2003-09-18 Thread Matthias . Roth
seen this message and know the reason? > The OJB 1.0.rc3 version is used. > > Regards > Matthias Roth > > > > > - > To unsubsc

Problem with configuration

2003-09-18 Thread Matthias . Roth
reason? The OJB 1.0.rc3 version is used. Regards Matthias Roth - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ConnectionProxy is closed

2003-09-06 Thread Matthias Roth
R at org.apache.ojb.broker.util.WrappedConnection.prepareStatement(WrappedConnect ion.java:205) my repository.xml settings: Thanks for your help Regards Matthias Roth

RE: WebSphere Transaction Manager

2003-08-24 Thread Matthias Roth
Hi, The problem is: In WAS5 the class JTSXA has been moved to another package (not "com.ibm.EJCS.jts.jta" but "com.ibm.EJS.jts.jta") and its method "getTransactionManager" is renamed to "instance". So the WebSphereTransactionManagerFactory should be change

not case sensitve search in DB2

2003-08-14 Thread Matthias . Roth
Hi, has some body made an SqlGenerator Class that generates a where claus like this: select x,y,z from a where upper(z) like upper(?) this is helpful if the database like claus is case sensitiv, like in oracle or db2. regards Matthias Roth

RE: ojb + struts webapp question

2003-07-29 Thread Matthias . Roth
Hi, 2. open the file OJB.properties and set the line:org.apache.ojb.broker.accesslayer.sql.SqlGeneratorDefaultImpl.LogLevel= WARN to:org.apache.ojb.broker.accesslayer.sql.SqlGeneratorDefaultImpl.LogLevel=DE BUG regards Matthias Roth -Original Message- From: Charles Anthony [mailto

New Version 1.2 of OJB Generator

2003-07-01 Thread Matthias Roth
in your OS. - Now it is possible to edit and manipulate the sql statment in the OJB Data view. - The DB2 and Oracle drivers are removed from the dirver list in the plugin.xml and lib directory URL: http://www.impart.ch/download.htm Regards Matthias Roth

RE: OJBGenerator

2003-04-04 Thread Matthias . Roth
Hi, it seams that you have not set correctly the connection properties in the ImpartOJBGenerator.properties file. Or you have not put the db library files into com.impart.ojbgenerator_0.7.1\lib directory. If you do this then you must also add this library to the plugin.xml file under the tag:

new eclipse plugin for OJB version 1.0.rc1

2003-04-03 Thread Matthias Roth
ImpartOJBGenerator.properties file: - jcd-alias= - default-connection= - batch-mode= regards Matthias Roth Dipl. Ing. HTL in Wirtschaftsinformatik impart Software Engineering GmbH Chasseralstrasse 13 Postfach CH-3063 Ittigen Phone +41 (0)31 922 39 25 Fax +41 (0)31

RE: Default Cache - bug? design catostrophe? user error?

2003-04-03 Thread Matthias . Roth
Hi, I allso have this problem. It is because you have since some version after 0.9.6 a direct reference to the objects in the cash of OJB. If you have an object A with attribute a,b,c and you save this, then the object in the cach is a reference to A. So if you now change the attribute b, then on

How is the ODMG Transaction related to the broker Transaction

2003-03-25 Thread Matthias . Roth
Hello, because the update of ODMG is complicate to use, I lake to use the store method of the broker. Every thing works fine. Only the rollback of a transaction do not work be this mix. Have some body expirience with this topic? Regards Matthias -

RE: What happens when an insert with ODMG fails?

2003-03-21 Thread Matthias . Roth
t(); > if I set the ID to a valid number the every thing works fine. > if I set the ID to a number witch still exists then no insert > is made, but also not exception is thrown. > Is there a way to find out if the ins

What happens when an insert with ODMG fails?

2003-03-19 Thread Matthias . Roth
still exists then no insert is made, but also not exception is thrown. Is there a way to find out if the insert was successful or not? regards Matthias Roth - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

How to handle OJB.properties on IBM Webspher 5.0?

2003-02-16 Thread Matthias . Roth
deploy the OJB.properties also in the .ear file!? regards Matthias PS: the archiv link on the new location on OJB home page dos not work! Matthias Roth Dipl. Ing. HTL in Wirtschaftsinformatik impart Software Engineering GmbH Chasseralstrasse 13 Postfach CH-3063 Ittigen Phone +41 (0

AW: Could not found autoincement attribute for class: org.apache.ojb.odmg.collections.DListImpl

2003-02-14 Thread Matthias . Roth
the problem is? > With the old 0.9.7 Version every thing works fine. > > regards > Matthias > > Matthias Roth > Dipl. Ing. HTL > in Wirtschaftsinformatik > > impart Software Engineering GmbH > Chasseralstrasse 13 > Postfach > CH-3063 Ittigen >

Could not found autoincement attribute for class: org.apache.ojb.odmg.collections.DListImpl

2003-02-13 Thread Matthias . Roth
fine. regards Matthias Matthias Roth Dipl. Ing. HTL in Wirtschaftsinformatik impart Software Engineering GmbH Chasseralstrasse 13 Postfach CH-3063 Ittigen Phone +41 (0)31 922 39 25 Fax +41 (0)31 922 39 18 EMail mailto:[EMAIL PROTECTED] Homepagehttp

Error on Platform Suport on DB2 JDBC Driver Type 1 (AbstractMethodError)

2003-02-12 Thread Matthias . Roth
} public boolean supportsBatchOperations() { return false; } regards Matthias Matthias Roth Dipl. Ing. HTL in Wirtschaftsinformatik impart Software Engineering GmbH Chasseralstrasse 13 Postfach CH-3063 Ittigen Phone +41 (0)31 922 39 25 Fax +41 (0)31 922 39 18 EMail

Problem with start broker with OJB 0.9.9 with MsSQLServer

2003-02-12 Thread Matthias . Roth
. Or should there be a new method like PersistenceBrokerFactory.getKey("MyDB")? Work around: broker = PersistenceBrokerFactory.createPersistenceBroker( PersistenceBrokerFactory.getDefaultKey()); my jdbc-connection-descriptor looks like: regards Matthias M

AW: reverse-db (yet again)

2003-02-11 Thread Matthias . Roth
Hi, do you know the eclipse plugin for OJB on http://www.impart.ch/download/? this plugin is based on reverse-db. You can also use it with out eclipse(Start com.impart.ojbgenerator.Main). The Source Code is also includet. In the ImpartOJBGenerator.properties you have some samples to connect to deff