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
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
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
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
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
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
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
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
:
> 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
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ü
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
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
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
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
). 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
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
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
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
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
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
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
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
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
, 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
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
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
seen this message and know the reason?
> The OJB 1.0.rc3 version is used.
>
> Regards
> Matthias Roth
>
>
>
>
> -
> To unsubsc
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]
R at
org.apache.ojb.broker.util.WrappedConnection.prepareStatement(WrappedConnect
ion.java:205)
my repository.xml settings:
Thanks for your help
Regards
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
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
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
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
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:
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
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
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
-
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
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
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
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
>
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
}
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
. 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
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
45 matches
Mail list logo