Hi all.
If I have an interface projection like the following:
interface authorInfo {
String getName()
}
Unless I am doing something wrong, the query created to retrieve the information represented by AuthorInfo retrieve all fields of the table.
Hibernate: select this_.id as id1_0_0_, this_.version as version2_0_0_, this_.name as name3_0_0_, this_.date_of_birth as date_of_4_0_0_ from author this_ where this_.name=? limit ?
Thanks.