Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 68 for dialects (0.28 sec)

  1. src/main/java/jcifs/config/PropertyConfiguration.java

                this.nativeOs = value;
            }
    
            value = props.getProperty("jcifs.smb.client.nativeLanMan");
            if (value != null) {
                this.nativeLanMan = value;
            }
    
            // Dialect version properties - these should throw exceptions for invalid values
            String minVersion = props.getProperty("jcifs.smb.client.minVersion");
            String maxVersion = props.getProperty("jcifs.smb.client.maxVersion");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  2. tests/group_by_test.go

    		t.Errorf("no error should happen, but got %v", err)
    	}
    
    	if name != "groupby" || active != true || total != 40 {
    		t.Errorf("group by two columns, name %v, age %v, active: %v", name, total, active)
    	}
    
    	if DB.Dialector.Name() == "mysql" {
    		if err := DB.Model(&User{}).Select("name, age as total").Where("name LIKE ?", "groupby%").Having("total > ?", 300).Scan(&result).Error; err != nil {
    			t.Errorf("no error should happen, but got %v", err)
    		}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. migrator/migrator.go

    		if field.DefaultValueInterface != nil {
    			defaultStmt := &gorm.Statement{Vars: []interface{}{field.DefaultValueInterface}}
    			m.Dialector.BindVarTo(defaultStmt, defaultStmt, field.DefaultValueInterface)
    			expr.SQL += " DEFAULT " + m.Dialector.Explain(defaultStmt.SQL.String(), field.DefaultValueInterface)
    		} else if field.DefaultValue != "(-)" {
    			expr.SQL += " DEFAULT " + field.DefaultValue
    		}
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jun 06 02:35:01 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

        @Override
        public boolean canReuse(final CIFSContext tc, final boolean forceSigning) {
            return this.getConfig().equals(tc.getConfig());
        }
    
        /**
         * Returns the index of the selected SMB dialect from the negotiation.
         *
         * @return the dialectIndex
         */
        public int getDialectIndex() {
            return this.dialectIndex;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. schema/schema.go

    	callbackTypeBeforeDelete, callbackTypeAfterDelete,
    	callbackTypeAfterFind,
    }
    
    // Parse get data type from dialector
    func Parse(dest interface{}, cacheStore *sync.Map, namer Namer) (*Schema, error) {
    	return ParseWithSpecialTableName(dest, cacheStore, namer, "")
    }
    
    // ParseWithSpecialTableName get data type from dialector with extra schema table
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 19 06:35:49 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  6. callbacks.go

    			sql, vars := stmt.SQL.String(), stmt.Vars
    			if filter, ok := db.Logger.(ParamsFilter); ok {
    				sql, vars = filter.ParamsFilter(stmt.Context, stmt.SQL.String(), stmt.Vars...)
    			}
    			return db.Dialector.Explain(sql, vars...), db.RowsAffected
    		}, db.Error)
    	}
    
    	if !stmt.DB.DryRun {
    		stmt.SQL.Reset()
    		stmt.Vars = nil
    	}
    
    	if resetBuildClauses {
    		stmt.BuildClauses = nil
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. tests/associations_test.go

    	AssociationEmptyUserID *uint  `gorm:"uniqueIndex:uniq_user_id_name"`
    	Name                   string `gorm:"uniqueIndex:uniq_user_id_name;size:256"`
    }
    
    func TestAssociationEmptyPrimaryKey(t *testing.T) {
    	if DB.Dialector.Name() != "mysql" {
    		t.Skip()
    	}
    	DB.Migrator().DropTable(&AssociationEmptyUser{}, &AssociationEmptyPet{})
    	DB.AutoMigrate(&AssociationEmptyUser{}, &AssociationEmptyPet{})
    
    	id := uint(100)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  8. tests/embedded_struct_test.go

    	}
    
    	type AdvancedUser struct {
    		EmbUser  `gorm:"embedded"`
    		Advanced bool
    	}
    
    	DB.Migrator().DropTable(&AdvancedUser{})
    
    	if err := DB.AutoMigrate(&AdvancedUser{}); err != nil {
    		if DB.Dialector.Name() != "sqlite" {
    			t.Errorf("Failed to auto migrate advanced user, got error %v", err)
    		}
    	}
    }
    
    func TestEmbeddedTagSetting(t *testing.T) {
    	type Tag1 struct {
    		Id int64 `gorm:"autoIncrement"`
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/BaseConfiguration.java

        /** Set of commands that should not be used in compound requests */
        protected Set<String> disallowCompound;
        /** Minimum SMB dialect version to negotiate */
        protected DialectVersion minVersion;
        /** Maximum SMB dialect version to negotiate */
        protected DialectVersion maxVersion;
        /** Whether to require secure negotiate validation */
        protected boolean requireSecureNegotiate = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  10. tests/query_test.go

    						if !strings.Contains(resultType, "int") {
    							t.Errorf("invalid data type for %v, got %v %#v", dbName, resultType, first[dbName])
    						}
    					case "Birthday":
    						if !strings.Contains(resultType, "Time") && !(DB.Dialector.Name() == "sqlite" && strings.Contains(resultType, "string")) {
    							t.Errorf("invalid data type for %v, got %v %#v", dbName, resultType, first[dbName])
    						}
    					}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
Back to top