uCosminexus Application Server, API Reference Guide

[Contents][Index][Back][Next]

2.7.7 @ColumnResult

Organization of this subsection
(1) Description
(2) Element

(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