Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for prepareStatement (0.07 sec)

  1. src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java

        }
    
        /**
         * 実行します。
         *
         * @param ps
         *            {@link PreparedStatement}。{@literal null}であってはいけません
         * @return 結果セットを返すかどうか
         * @throws SQLRuntimeException
         *             {@link SQLException}が発生した場合
         * @see PreparedStatement#execute()
         */
        public static boolean execute(final PreparedStatement ps) throws SQLRuntimeException {
            assertArgumentNotNull("ps", ps);
    
            try {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. tests/prepared_stmt_test.go

    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestPreparedStmt(t *testing.T) {
    	tx := DB.Session(&gorm.Session{PrepareStmt: true})
    
    	if _, ok := tx.ConnPool.(*gorm.PreparedStmtDB); !ok {
    		t.Fatalf("should assign PreparedStatement Manager back to database when using PrepareStmt mode")
    	}
    
    	ctx, cancel := context.WithTimeout(context.Background(), 500*time.Millisecond)
    	defer cancel()
    	txCtx := tx.WithContext(ctx)
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top