persistence@glassfish.java.net

Re: EJBQL: default trim specification

From: Linda DeMichiel <Linda.Demichiel_at_Sun.COM>
Date: Thu, 08 Dec 2005 08:50:31 -0800

Michael Bouschen wrote:

> Hi Linda, hi Mike,
>
> the EJBQL TRIM function has an optional trim specification (LEADING,
> TRAILING or BOTH). What is the default in case the trim specification is
> omitted? I'm assuming BOTH to be the default. Should the spec explicitly
> define the default?
>

Yes to both, since BOTH is also SQL default. I'll make this explicit
in the spec.

> Regards Michael
>