Hello!
yep. my problem was the surrounding {} ...
thx, Chris
Am Tue, Mar 02, 2004 at 09:37:41AM +0100, Kostyantyn Shchekotykhin meinte:
> with this method all is ok, the problem was that Chris wanted to add
> dicertly a List with Records and not Integers. When BasePeer composes
> query each Criterion value is converted to String. Village's
> Record.toString() is implemented so that each Record field is surrounded
> with {}. E.g. if it contains an Integer it will be something like "WHERE
> ID = {1000}".
>
> Sperlich, Tino wrote:
> >
> >you have probably fixed the problem; but just for my info:
> >in the API of criteria there is a method like this
> >
> >public Criteria addNotIn(java.lang.String column,
> > java.util.List values)
> >
> >is there something wrong with this or would that do the job,
> >too?
--
mit freundlichen Gr��en / with kind regards
Ing. Christian J�lly @ Solutions
unycom Information Technology Services GmbH
A-8042 Graz | Schmiedlstra�e 1 / III
Tel: ++43 (0)316 / 818 828 - 30
Fax: ++43 (0)316 / 818 828 - 38
[EMAIL PROTECTED]
http://www.unycom.com
Du warst noch nie 45 Minuten am St�ck in einem Raum mit 30
pubertierenden Siebkl�sslern, die partout alles, was Du sagst,
zweideutig interpretieren wollen, gell?
-- Oliver Gassner
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]