openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinkar Rao" <dinkar.d91411...@gmail.com>
Subject Re: Trouble with Constructor Expressions
Date Thu, 16 Oct 2008 22:01:22 GMT
Another possibility is that because ConfExtended is not an entity, and
because the results are all scalars, the native query might need to
use the @SqlResultSetMapping with the @ColumnResult clause.

Thanks,
Dinkar

On Thu, Oct 16, 2008 at 2:12 PM, Jeremy Bauer <techhusky@gmail.com> wrote:
> Roops..  I missed the key statement:  "The constructed object, which
> is not an entity, ..."  :-)
>
> I haven't verified, but there could be a problem with using the int
> primitives (non-nullable) on the constructor.  Changing them to
> Integer (nullable) may correct the problem.  I'll try a few variations
> as well.
>
> -Jeremy
>

Mime
View raw message