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
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
ou in advance!
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]
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und IS
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
roker.util.sequence.HighLowSequence{SEQ_pos_product_group}
As I see in the documentation the table ojb_hl_seq has only changed the type of
max_key from Integer to Bigint. Is there another place where I have to look?
Thanks!
Christian
--
********
Christian Eugst
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 Eugste
}
Thanks
Christian
---- Original-Nachricht
> Datum: Fri, 28 Sep 2007 17:23:29 +0200
> Von: Armin Waibel <[EMAIL PROTECTED]>
> An: OJB Users List
> Betreff: Re: Different behaviour of SequenceManager in rc5 and 1.0.1
> Hi Christian,
>
> Christian Eugster wr
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
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
: in field 6 (sum(quantity) I get a Double where the DB-Type is
INTEGER.
Does somebody know how I can 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!
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 additiona
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 receipt.
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:
ache.ojb.broker.util.sequence.SequenceManagerException:
> > Can't build new sequence
> ...
> > Caused by: org.apache.ojb.broker.OptimisticLockException:
> Object has been
> > modified by someone else
>
> How many threads try to insert the same data?
>
> rega
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 experien
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 Eu
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]
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]
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 opport
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: [EMAIL
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 ide
It works
Thank you!!!
Christian
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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 Utilit
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] ERROR
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)
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 kn
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). wh
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 i
28 matches
Mail list logo