cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandr Kulik (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-5075) CQL Add support for AS keyword in select
Date Tue, 18 Dec 2012 22:02:13 GMT


Alexandr Kulik commented on CASSANDRA-5075:

Hibernate by default use column alias in select statements. For example this is hibernate
debug log statement:
18.12.2012 23:58:39 *DEBUG* AbstractEntityPersister:  Snapshot select: /* get current state
com.bipper.bsafe.model.safetymode.UserSafetyModeSession */ select,
as active22_, usersafety_.endDate as endDate22_, usersafety_.startDate as startDate22_, usersafety_.user_id
as user9_22_, usersafety_.userTriggeredTimestamp as userTrig6_22_ from user_safety_mode_session
usersafety_ where (, line 2960)

Even if i don't use joins hibernate still will use column and table alias.
> CQL Add support for AS keyword in select
> ----------------------------------------
>                 Key: CASSANDRA-5075
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API
>            Reporter: Alexandr Kulik
>            Priority: Minor
> It would be nice to have support of AS keyword in select statement. It would allow to
use jpa frameworks without writing custom sql/cql's. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message