constaints.add(check);
return true;
}
OracleConstraintNull nullable;
if (lexer.token() == (Token.NOT)) {
lexer.nextToken();
accept(Token.NULL);
nullable = new OracleConstraintNull();
nullable.setName(constaintName);
nullable.setNullable(false);
nullable.setState(parseConstraintState());
constaints.add(nullable);
return true;
}
if (lexer.token() == (Token.NULL)) {
lexer.nextToken();
nullable = new OracleConstraintNull();
nullable.setName(constaintName);
nullable.setNullable(true);
nullable.setState(parseConstraintState());
constaints.add(nullable);
return true;
}