Hello Lasse,

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

> I have two entries in my db-table, the BEN_IDs are "LAMBREC" and
> "AAAAAAA"
> but with the query below I still get both, no matter what I enter
> as benId
> in the query. What am I doing wrong?

Have you tried to enclose LAMBREC in quotes?

> Another question that came up is the sense of the 'asdf' in the
> select
> query. What can it be used for?

In the OQL standard, it is used as a bound variable,
i.e., it is a freely chosen identifier.

Standard OQL allows to make use of it, for example:

select asdf.spouse.name from Person as asfd where ...

would select the names of the spouses of the matching persons.

However, such syntax is not supported by OJB,
so at the moment, that identifier is completely ignored.

Olli

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to