[hibernate-commits] Hibernate SVN: r15504 - core/branches/Branch_3_2/src/org/hibernate/hql/ast/tree.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Tue Nov 4 16:42:39 EST 2008


Author: steve.ebersole at jboss.com
Date: 2008-11-04 16:42:39 -0500 (Tue, 04 Nov 2008)
New Revision: 15504

Modified:
   core/branches/Branch_3_2/src/org/hibernate/hql/ast/tree/IdentNode.java
Log:
HHH-3510 : bad rollback

Modified: core/branches/Branch_3_2/src/org/hibernate/hql/ast/tree/IdentNode.java
===================================================================
--- core/branches/Branch_3_2/src/org/hibernate/hql/ast/tree/IdentNode.java	2008-11-04 21:19:25 UTC (rev 15503)
+++ core/branches/Branch_3_2/src/org/hibernate/hql/ast/tree/IdentNode.java	2008-11-04 21:42:39 UTC (rev 15504)
@@ -129,18 +129,6 @@
 					// resolve this...
 					return;
 				}
-				else if ( result == UNKNOWN ) {
-					final SQLFunction sqlFunction = getSessionFactoryHelper().findSQLFunction( getText() );
-					if ( sqlFunction != null ) {
-						String text = sqlFunction.render( Collections.EMPTY_LIST, getSessionFactoryHelper().getFactory() );
-						if ( text.endsWith( "()" ) ) {
-							text = text.substring( 0, text.length() - 2 );
-						}
-						setText( text );
-						setDataType( sqlFunction.getReturnType( null, getSessionFactoryHelper().getFactory() ) );
-						setResolved();
-					}
-				}
 			}
 
 			// if we are still not resolved, we might represent a constant.




More information about the hibernate-commits mailing list