Hitachi

uCosminexus Application Server Compatibility Guide


8.12.7 @ColumnResult

Organization of this subsection

(1) Description

This annotation specifies the column for mapping the query results of an SQL to the entity class

The applicable targets are the columns of @SqlResultSetMapping.

(2) Element

The following table lists the elements of @ColumnResult:

Element name

Optional/Required

Element description

name

Required

This element specifies the name or optional name of the columns of SELECT clause.

The details of attributes that are supported with Cosminexus JPA provider are as follows:

(a) name element

Type

String

Description

This element specifies the name or optional name of the columns of SELECT clause.

The column name that can be specified depends on the database specifications.

Default value

None