ojb1.0.4 Iterator slow

2008-07-14 Thread Christian Eugster
as a second. db is mysql 5.0.1 on localhost. Are there any properties I can set? I did not find any answers in the docs. Thank you! Christian -- Christian Eugster Grissian Widum 14 I-39010 Tisens -- Handy Schweiz: 0041 79 594 85 45 Handy

Base table or view not found

2008-01-16 Thread Christian Eugster
-- Christian Eugster Grissian Widum 14 I-39010 Tisens -- Handy Schweiz: 0041 79 594 85 45 Handy Italia: 0039 333 888 77 64 Email: [EMAIL PROTECTED] Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de

Re: Base table or view not found (solution)

2008-01-16 Thread Christian Eugster
that this is the problem why under linux it did not work but under windows it did. Bye Christian -- Christian Eugster Grissian Widum 14 I-39010 Tisens -- Handy Schweiz: 0041 79 594 85 45 Handy Italia: 0039 333 888 77 64 Email

Re: Different behaviour of SequenceManager in rc5 and 1.0.1

2007-09-30 Thread Christian Eugster
Hi Armin, I got it. Thank you very much!!! Regards Christian -- Christian Eugster Grissian Widum 14 I-39010 Tisens -- Handy Schweiz: 0041 79 594 85 45 Handy Italia: 0039 333 888 77 64 Email: [EMAIL PROTECTED] GMX FreeMail: 1

Re: Different behaviour of SequenceManager in rc5 and 1.0.1

2007-09-29 Thread Christian Eugster
Hi Armin, DBResult is useless (an older story). The object is written to the database (a mysql 5.0 database). But the primary key always the value '0'. When I change back to version 1.0.rc5 the values are assigned. Regards Christian -- Christian Eugster Grissian

ReportQueryByCriteria returns unexpected Types in Array

2007-09-28 Thread Christian Eugster
control these types in OJB or have I to convert the types in my own code? Is this a bug in OJB and perhaps fixed in a later version? I did not find any information about that. Thanks in advance! Christian -- Christian Eugster Grissian Widum 14 I-39010 Tisens

Different behaviour of SequenceManager in rc5 and 1.0.1

2007-09-28 Thread Christian Eugster
use org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl as Sequence Manager. Has anybody any suggestion, what i can do? Thanks a lot! Christian -- Christian Eugster Grissian Widum 14 I-39010 Tisens -- Handy Schweiz

Sorry! (ReportQueryByCriteria returns unexpected Types in Array)

2007-09-28 Thread Christian Eugster
I found some information in the mailing-list. Sorry! -- Christian Eugster Grissian Widum 14 I-39010 Tisens -- Handy Schweiz: 0041 79 594 85 45 Handy Italia: 0039 333 888 77 64 Email: [EMAIL PROTECTED] GMX FreeMail: 1 GB Postfach

Re: Different behaviour of SequenceManager in rc5 and 1.0.1

2007-09-28 Thread Christian Eugster
); } Thanks Christian Original-Nachricht Datum: Fri, 28 Sep 2007 17:23:29 +0200 Von: Armin Waibel [EMAIL PROTECTED] An: OJB Users List ojb-user@db.apache.org Betreff: Re: Different behaviour of SequenceManager in rc5 and 1.0.1 Hi Christian, Christian Eugster wrote: Hi

AW: [ann] new release: OJB 1.0

2004-06-30 Thread Christian Eugster
Hi! I want say a big thank you to Thomas Mahler and the whole team of ojb for the really great work and congratulate to the final version 1.0 of ojb! Good job! Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Duplicate key error when inserting a new record

2004-06-15 Thread Christian Eugster
Hi! I use OJB-1.0rc5 with a mysql (innodb) as backend. When we insert concurrently objects that have two 1:n-relations into the same table pos_receipt from e.g. 4 clients, we get the following duplicate-primary-key-message: 14.06.2004 09:40:47 ch.eugster.pos.db.DBResult log SCHWERWIEGEND: 23000:

AW: Duplicate key error when inserting a new record

2004-06-15 Thread Christian Eugster
Hi Armin, hmm difficult to say what's going wrong. I can't find metadata for 'ch.eugster.pos.db.DBResult' class or what does this entry mean? DBResult is just an object that capsulate the information a transaction is providing me. As following: DBResult result = receipt.store(); if

Can not init Identity for given object

2004-06-08 Thread Christian Eugster
Hi! I meet a problem using ojb 1.0rc5 and mysql (innodb): when i try to insert an object with some children in a concurrent environment a ClassNotPersistenceCapableException is thrown if some other clients are doing the same (See the stacktrace below). What am I doing wrong? Has anybody

AW: Can not init Identity for given object

2004-06-08 Thread Christian Eugster
sequence ... Caused by: org.apache.ojb.broker.OptimisticLockException: Object has been modified by someone else How many threads try to insert the same data? regards, Armin Christian Eugster wrote: Hi! I meet a problem using ojb 1.0rc5 and mysql (innodb): when i try to insert

AW: AW: ms access: sqlexception

2004-03-22 Thread Christian Eugster
Hi Pedro, sorry, you are right! There is a datetime field indeed! Christian -Ursprungliche Nachricht- Von: Pedro Salgado [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 21. Marz 2004 12:44 An: OJB Users List Betreff: Re: AW: ms access: sqlexception On 19/03/2004 01:22, Christian Eugster

AW: AW: ms access: sqlexception

2004-03-20 Thread Christian Eugster
hi jakob thank you for the suggestion. i will try that. christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ms access: sqlexception

2004-03-18 Thread Christian Eugster
Hi there unfortunately i have to connect my application for a customer to an access database. I succeeded to connect but i always get exceptions while inserting or updating rows as follows: INTERESTING: the insertstatement shows instead of values just '?' what could this mean? Has anybody any

AW: ms access: sqlexception

2004-03-18 Thread Christian Eugster
Hi Raghu thank you for answering. My english is quit bad, but i try to translate the exception: Syntaxfehler in der INSERT INTO-Anweisung. syntax error in the INSERT INTO-statement. Christian - To unsubscribe, e-mail:

AW: ms access: sqlexception

2004-03-18 Thread Christian Eugster
hi jakob i used the same attributenames in other databases as postgresql and mysql and it works fine there. How can i replace the ? with the desired values? (i just prepare an object - in this case an object of type productGroup with data and call the broker store() method. is there another

AW: ms access: sqlexception

2004-03-18 Thread Christian Eugster
hi Pedro in this case it is not a date or time problem, because there are no fields of such types. But thank you anyway! Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

ojb with mssqlserver2000

2004-03-16 Thread Christian Eugster
Hi after I have succeeded to connect to and work with mysql, postgresql, msaccess i try to use a mssqlserver2000 as backend. when i try to connect to the mssqlserver, that runs locally, i get the following exception message: [org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl]

AW: ojb with mssqlserver2000

2004-03-16 Thread Christian Eugster
Hi Charles, thank you for answering! a) Is the host SERVER your local machine ?YES b) Can windows resolve SERVER to a TCP/IP host address ? (try ping SERVER at the command line) YES c) Is TCP/IP enabled on your MS SQLServer database ? (try Start/Programs/MS Sql Server/Server Network

AW: ojb with mssqlserver2000

2004-03-16 Thread Christian Eugster
It works Thank you!!! Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Question about Sequences

2004-03-11 Thread Christian Eugster
Maybe someone can help me. I run two databases (both mysql) concurrently (one on a server, the other locally to ensure, that the program may run, even the server is down). I want the records of some tables to be identic on both databases (even their primary keys). Every table has a Long (BIGINT)

Failing Connect without Exception

2004-03-10 Thread Christian Eugster
Hi I am using rc4 and I test my application by trying to connect to a shut-down mysql-server to see what happens: broker = PersistenceBrokerFactory.createPersistenceBroker(new PBKey(id)); I thought that a failing connection should throw an exception, but it does not. It is important for me to

1:m-relation

2003-07-07 Thread Christian Eugster
i am working on a mysql-database and ojb rc3. i have an 1:m-relation with the following setting in the collection-desriptor of the parent object: auto-retrieve=true when i try to retrieve an parent-object i get the error-message as follows: (setting auto-retrieve to false there is no error).

ConnectionRepository

2003-03-10 Thread Christian Eugster
Hello everybody! I am a newbie and try to implement a little application by using ojb. Now: I get an error message when I try to run my app: As I see, the error comes up in the ConnectionRepository.class in the getDescriptor(PBKey pbKey) method, where the jcdMap.get(pgKey) returns a NULL result