[hibernate-issues] [Hibernate-JIRA] Assigned: (HHH-2226) org.hibernate.hql.ast.tree.FromElementType contains warning log message that should be debug instead

Scott Marlow (JIRA) noreply at atlassian.com
Thu Nov 9 11:02:06 EST 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2226?page=all ]

Scott Marlow reassigned HHH-2226:
---------------------------------

    Assign To: Scott Marlow

> org.hibernate.hql.ast.tree.FromElementType contains warning log message that should be debug instead
> ----------------------------------------------------------------------------------------------------
>
>          Key: HHH-2226
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2226
>      Project: Hibernate3
>         Type: Bug

>   Components: query-hql
>     Versions: 3.2.0.ga
>  Environment: JBoss 4.0.5.GA, Hibernate 3.2.0.ga, Linux, MySQL Connector/J 5.0.4
>     Reporter: Don Smith
>     Assignee: Scott Marlow
>     Priority: Minor

>
>
> The org.hibernate.hql.ast.tree.FromElementType logs warnings about HQL statements it apparently doesn't like, similar to the one below:
> 16:01:36,406 WARN  [FromElementType] Using non-qualified column reference [startTime -> ([STARTTIME])]
> This warning comes from the following code (lines 347-351):
> 			else {
> 				String[] columns = propertyMapping.toColumns( path );
> 				log.warn( "Using non-qualified column reference [" + path + " -> (" + ArrayHelper.toString( columns ) + ")]" );
> 				return columns;
> 			}
> This message should be a debug level message, not warn. It seems impossible to get around it, whether aliases are used for the object & properties in the query or not.
> Furthermore, could this message be removed completely, is it even valid?

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list