Example #1
0
 /**
  * Try to find a constraint with this name. This method returns null if no object with this name
  * exists.
  *
  * @param session the session
  * @param name the object name
  * @return the object or null
  */
 public Constraint findConstraint(ServerSession session, String name) {
   Constraint constraint = constraints.get(name);
   if (constraint == null) {
     constraint = session.findLocalTempTableConstraint(name);
   }
   return constraint;
 }