recognizer.other( c ); if ( '\'' == c ) { inSingleQuotes = false; recognizer.other( c ); if ( '\"' == c ) { inDoubleQuotes = false; recognizer.other( c ); if ( !lastCharacter && '*' == c && '/' == sqlString.charAt( indx+1 ) ) { inDelimitedComment = false; recognizer.other( sqlString.charAt( indx+1 ) ); indx++; recognizer.other( c ); inLineComment = false; if ( !lastCharacter && '\n' == sqlString.charAt( indx+1 ) ) { recognizer.other( sqlString.charAt( indx+1 ) ); indx++; recognizer.other( c ); recognizer.other( sqlString.charAt( indx+1 ) ); indx++; recognizer.other( c ); if ( !lastCharacter && '-' == sqlString.charAt( indx+1 ) ) { inLineComment = true; recognizer.other( sqlString.charAt( indx+1 ) );
inQuote = false; recognizer.other( c ); recognizer.other( c ); ); recognizer.namedParameter( param, indx ); indx = chopLocation - 1; throw new QueryException( "JPA-style positional param was not an integral ordinal" ); recognizer.jpaPositionalParameter( param, indx ); indx = chopLocation - 1; if ( hasMainOutputParameter && !foundMainOutputParam ) { foundMainOutputParam = true; recognizer.outParameter( indx ); recognizer.ordinalParameter( indx ); recognizer.other( c );
inQuote = false; recognizer.other( c ); recognizer.other( c ); ); recognizer.namedParameter( param, indx ); indx = chopLocation - 1; throw new QueryException( "JPA-style positional param was not an integral ordinal" ); recognizer.jpaPositionalParameter( param, indx ); indx = chopLocation - 1; if ( hasMainOutputParameter && !foundMainOutputParam ) { foundMainOutputParam = true; recognizer.outParameter( indx ); recognizer.ordinalParameter( indx ); recognizer.other( c );
private boolean addNamedParameter(String name, int position) { recognizer.namedParameter( name, position ); return true; }
private boolean addPositionalParameter(int identifier, int position) { recognizer.jpaPositionalParameter( identifier, position ); return true; } }