@Override public String render( Type firstArgumentType, List arguments, SessionFactoryImplementor sessionFactory) { String rendered = super.render( firstArgumentType, arguments, sessionFactory ); //add cast return rendered + "::geometry"; } }
@Override public String render(Type argumentType, List args, SessionFactoryImplementor factory) { return "{fn " + super.render( argumentType, args, factory ) + "}"; }
@Override public String render(Type firstArgumentType, List arguments, SessionFactoryImplementor factory) { if ( arguments.size() > 1 ) { if ( "distinct".equalsIgnoreCase( arguments.get( 0 ).toString() ) ) { return renderCountDistinct( arguments, factory.getDialect() ); } } return super.render( firstArgumentType, arguments, factory ); }
public String render(Type argumentType, List args, SessionFactoryImplementor factory) { return "{fn " + super.render( argumentType, args, factory ) + "}"; }
public String render(Type argumentType, List args, SessionFactoryImplementor factory) { return "{fn " + super.render( argumentType, args, factory ) + "}"; }
@Override public String render(Type firstArgumentType, List arguments, SessionFactoryImplementor factory) { if ( arguments.size() > 1 ) { if ( "distinct".equalsIgnoreCase( arguments.get( 0 ).toString() ) ) { return renderCountDistinct( arguments ); } } return super.render( firstArgumentType, arguments, factory ); }
@Override public String render(Type firstArgumentType, List arguments, SessionFactoryImplementor factory) { if ( arguments.size() > 1 ) { if ( "distinct".equalsIgnoreCase( arguments.get( 0 ).toString() ) ) { return renderCountDistinct( arguments ); } } return super.render( firstArgumentType, arguments, factory ); }