Examples of execute()


Examples of org.hibernate.tool.hbm2ddl.SchemaExport.execute()

      export.setHaltOnError(haltOnError);
      export.setFormat(format);
      if (drop && create) {
        export.create(scriptToConsole, exportToDatabase);
      } else {
        export.execute(scriptToConsole, exportToDatabase, drop, create);
      }
    }
   
  }
View Full Code Here

Examples of org.hibernate.tool.hbm2ddl.SchemaUpdate.execute()

    if (schemaUpdate) {
      SchemaUpdate update = new SchemaUpdate(configuration);
     
      // classic schemaupdate execution, will work with all releases
      if(outputFileName == null && delimiter == null && haltOnError && format)
        update.execute(scriptToConsole, exportToDatabase);

      // at least one of the parameter unmanaged by
      // hibernate core prior versions is set
      else {
       
View Full Code Here

Examples of org.hibernate.validator.ap.checks.ConstraintChecks.execute()

      try {

        ConstraintChecks constraintChecks = constraintCheckFactory.getConstraintChecks(
            annotatedElement, oneAnnotationMirror
        );
        Set<ConstraintCheckError> errors = constraintChecks.execute( annotatedElement, oneAnnotationMirror );
        messager.reportErrors( errors );
      }
      //HV-293: if single constraints can't be properly checked, report this and
      //proceed with next constraints
      catch ( Exception e ) {
View Full Code Here

Examples of org.hightides.annotations.processor.Processor.execute()

                _log.info("    Found " + className);
                try {
                    Map<String, Object> params = populateParams(annotation
                            .getSimpleName(), className);
                    params.put("annotation", annotation.getName());
                    p.execute(params);
                } catch (Exception e) {
                    _log.error("Failed to process class [" + className
                            + "] for annotation [" + annotation + "]", e);
                }
            }
View Full Code Here

Examples of org.hsqldb.Session.execute()

                        Error.error(ErrorCode.SERVER_DATABASE_DISCONNECTED));
                } else {
                    resultIn.setSession(session);
                    resultIn.readAdditionalResults(session, dataIn, rowIn);

                    resultOut = session.execute(resultIn);
                }
            }

            int type = resultIn.getType();
View Full Code Here

Examples of org.hsqldb.Statement.execute()

        lg.close();

        String sql = (String) map.get("/*lob_schema_definition*/");
        Statement statement = sysLobSession.compileStatement(sql,
            ResultProperties.defaultPropsValue);
        Result result = statement.execute(sysLobSession);

        if (result.isError()) {
            throw result.getException();
        }

View Full Code Here

Examples of org.hsqldb.cmdline.SqlFile.execute()

                throw new IOException("SQL file not present: "
                        + file.getAbsolutePath());
            sqlFile = new SqlFile(file);
            sqlFile.setConnection(conn);
            sqlFile.addUserVars(sqlVarMap);
            sqlFile.execute();

            // The only reason for the following two statements is so that
            // changes made by one .sql file will effect the future SQL files.
            // Has no effect if you only execute one SQL file.
            conn = sqlFile.getConnection();
View Full Code Here

Examples of org.hsqldb.util.SqlFile.execute()

        Connection conn = null;
        try
        {
            conn = getConnection();
            SqlFile userDbSetup = new SqlFile( new File( file ), false, null );
            userDbSetup.execute( conn, true );
        }
        catch( Exception e )
        {
            LOG.error( e.getMessage(), e );
        }
View Full Code Here

Examples of org.hsqldb_voltpatches.Statement.execute()

        lg.close();

        String    sql       = (String) map.get("/*lob_schema_definition*/");
        Statement statement = session.compileStatement(sql);
        Result    result    = statement.execute(session);
        Table table = database.schemaManager.getTable(session, "BLOCKS",
            "SYSTEM_LOBS");

//            table.isTransactional = false;
        getLob        = session.compileStatement(getLobSQL);
View Full Code Here

Examples of org.huihoo.workflow.xpdl.activity.Implementation.execute()

  }
 
  public void    execute()    throws WorkflowException
  {
    Implementation impl=activity.getImplementation();
    impl.execute(this);
  }
 
  public WorkflowCase getWorkflowCase()
  {
    return workflowCase;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.