The following comment has been added to this issue:
Author: Dominik Roblek
Created: Fri, 14 Nov 2003 11:59 AM
Body:
The following query works fine:
"select new Foo(bar.id, bar.name, bar.age, bar.taxNumber) from eg.Bar as bar where bar.name = :name"
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-471
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-471
Summary: HQL selecting Java object returns null property values
Type: Bug
Status: Unassigned
Priority: Major
Project: Hibernate2
Components:
core
Versions:
2.1 beta 5
Assignee:
Reporter: Dominik Roblek
Created: Fri, 14 Nov 2003 11:57 AM
Updated: Fri, 14 Nov 2003 11:57 AM
Description:
Consider the following query:
"select new Foo(bar) from eg.Bar as bar where bar.name = :name"
In this query are all properties of bar except of it's identity returned as null values. Identity (primary key) is set to correct value.
Dominik
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|