Added types but it didn't help.
@SqlResultSetMapping(name = "CommentInfoListItemDTOMapping", classes = { @ConstructorResult(targetClass = CommentInfoListItemDTO.class, columns = { @ColumnResult(name = "article_id", type=BigInteger.class), @ColumnResult(name = "article_comment_id", type=BigInteger.class), @ColumnResult(name = "parent_comment_id", type=BigInteger.class), @ColumnResult(name = "article_title", type=String.class), @ColumnResult(name = "article_published", type=Boolean.class), @ColumnResult(name = "article_publish_date", type=Calendar.class), @ColumnResult(name = "article_availability_state", type=String.class), @ColumnResult(name = "article_enable_comments", type=Boolean.class), @ColumnResult(name = "comment_title", type=String.class), @ColumnResult(name = "comment_hide", type=Boolean.class), @ColumnResult(name = "comment_created_timestamp", type=Calendar.class), @ColumnResult(name = "comment_person_id", type=BigInteger.class), @ColumnResult(name = "aticle_party_id", type=BigInteger.class) }
) })
|