We're updating the issue view to help you get more done. 

Aggregate Select on @Embedded property produces invalid SQL

Description

Attempting to execute an HQL query containing an aggregate select
(ie. select min(propertyA) from MyClassB) will produce a native sql query with multiple arguments in the aggregate function
(ie. select min( property_a.col1, property_a.col2) from my_table_b ), resulting in a Sql Exception.

Environment

Hibernate 3.6, MSSQL 2008

Status

Assignee

Unassigned

Reporter

Patrick T. Buchheit

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Priority

Major