HHH-3510 : bad rollback

git-svn-id: https://svn.jboss.org/repos/hibernate/core/branches/Branch_3_2@15504 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2008-11-04 21:42:39 +00:00
parent a6f9da8688
commit 9ceb107ee2
1 changed files with 0 additions and 12 deletions

View File

@ -129,18 +129,6 @@ public class IdentNode extends FromReferenceNode implements SelectExpression {
// 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.