query of attributes that are Collections of Values and arrays fail

Description

The following query to return the attribute "address" that is a collection or an array throws an exception.

select r.Id, r.address from Foo r where r.Id in (:ids) order by r.Id

org.hibernate.QueryException: not an entity [select r.Id, r.address from com.cisco.nm.model.enum.Foo r where r.Id in (:ids) order by r.Id]
at org.hibernate.hql.ast.tree.FromElementType.renderIdentifierSelect(FromElementType.java:143)
at org.hibernate.hql.ast.tree.FromElement.renderIdentifierSelect(FromElement.java:167)
at org.hibernate.hql.ast.tree.SelectClause.renderNonScalarIdentifiers(SelectClause.java:398)

thanks,
jaideep

Environment

oracle 10g

Assignee

Unassigned

Reporter

Jaideep Vasudevan

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure