Package org.yaac.server.egql.exception

Examples of org.yaac.server.egql.exception.EGQLE050Exception


  public void validate() throws EGQLException {
    Set<String> itemNames = newHashSet();
    for (InsertItem item : items) {
      // duplicate insert item is not allowed
      if (itemNames.contains(item.getIdentity())) {
        throw new EGQLE050Exception();
      } else {
        itemNames.add(item.getIdentity());
      }
     
      // aggregation function is not allowed in insert statement without select clause
View Full Code Here

TOP

Related Classes of org.yaac.server.egql.exception.EGQLE050Exception

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.