I'm not convinced i've got it working yet as all i've done is upgraded in
hope of fixing it.
- Original Message -
From: Robert Crawford [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, July 30, 2004 4:10 AM
Subject: Re: Negative Sequence Numbers?
Charles N. Harvey III said:
It
Hi all;
I want to put by an automatic way the generated idProjectVersion on the
projectversions table as id of the versions related to the projectVersion.
Is it possible only by changing the repository.xml or should i change the structure of
the Database?
Thank you in advance.
that is
I want to give more information about my problem:
when i create a new ProjectVersion , i put in it a Version, the id of the
ProjectVersion is right but the id of the version is 0, how can i do to put
by an automatic way the id of the ProjectVersion in the Version.
- Original Message
Hello,
I was using rc5 andI changed to 1.0.0 today.
I use Criteria.addOrderBy() and now it has been deprecated. How do I order ??
Glauber
IncrediMail - O mundo do correio eletrônico finalmente desenvolveu-se - Clique aqui
I think you should create a QueryByCriteria, and the use the addOrderBy
on the query.
Richter
Em Sex, 2004-07-30 às 11:19, Glauber Andrade escreveu:
Hello,
I was using rc5 and I changed to 1.0.0 today.
I use Criteria.addOrderBy() and now it has been deprecated. How do I
order ??
I don´t understand...
What should I do ?
Criteria crit = new Criteria();crit.addEqualTo("nf", nf);// crit.addOrderBy("company.type", true); // deprecated
Query query = new QueryByCriteria(Note.class, crit);
---Mensagem original---
De: OJB Users List
Data: 07/30/04 11:22:49
Para:
hi,
just do this
sample
QueryByCriteria query = new QueryByCriteria(Note.class, crit);
query.addOrderBy(company.type, true);
/sample
the orderBy methods where moved to the QueryByCriteria class.
gerhard
Am Fre, den 30.07.2004 schrieb Glauber Andrade um 16:45:
I don´t understand...
What
I use
Criteria crit = new Criteria();
crit.addEqualTo(nf, nf);
QueryByCriteria q = new QueryByCriteria(Note.class, crit);
q.addOrderByAscending(company.type);
Richter
Em Sex, 2004-07-30 às 11:45, Glauber Andrade escreveu:
I don´t understand...
What should I do ?
Criteria crit = new
It looks like TransactionImpl.abort is not called when a SQLException is thrown
from ConnectionManagerImpl.localCommit
The call sequence is
* org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.localCommit
* org.apache.ojb.broker.core.PersistenceBrokerImpl.commitTransaction
*
afterCommit is being called before the actual sql commit in ConnectionManagerImpl.
localCommit. Is this the intent?
TransactionImpl.commit calls
* TransactionImpl.prepare indirectly calls
* beforeCommit
* beforeUpdate (or Insert, or Delete)
* sql update, or insert, or
hi zhe,
the RsIterator is closed when it has no more elements or when releaseDbResources
is called. in case the RsIterator is still open, it get's closed during finalize.
hth
jakob
ZZZ Liu schrieb:
Hi,
I am using OJB 1.0.
I found following message appeared a lot of times in
my log file. Could
I double-checked the configuration of my tests and realized I was running
tests on a subclass, not the original User class that gets the wrong
sequence numbers.
So I dropped back and ran just the superclass. Everything worked fine; the
sequence numbers were assigned correctly. So the
12 matches
Mail list logo