Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for Profiles2 (0.04 sec)

  1. schema/relationship_test.go

    	type Profile struct {
    		gorm.Model
    		Name      string
    		UserRefer uint
    	}
    
    	type User struct {
    		gorm.Model
    		Profiles  []Profile `gorm:"many2many:user_profiles;ForeignKey:Refer;JoinForeignKey:UserReferID;References:UserRefer;JoinReferences:ProfileRefer"`
    		Profiles2 []Profile `gorm:"many2many:user_profiles2;ForeignKey:refer;JoinForeignKey:user_refer_id;References:user_refer;JoinReferences:profile_refer"`
    		Refer     uint
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  2. tests/associations_test.go

    	}
    
    	member.Profile = Profile{}
    	DB.Model(&member).Update("Refer", 100)
    
    	var profile2 Profile
    	if err := DB.First(&profile2, "id = ?", profile.ID).Error; err != nil {
    		t.Fatalf("failed to find profile, got error: %v", err)
    	} else if profile2.MemberID != 100 {
    		t.Fatalf("member id is not equal: expects: %v, got: %v", 100, profile2.MemberID)
    	}
    
    	if r := DB.Delete(&member); r.Error != nil || r.RowsAffected != 1 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 04:33:27 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

            File testPom = getTestFile("src/test/resources/projects/pom-with-profiles/pom.xml");
    
            try (FileSystem fs = Jimfs.newFileSystem(fsName, fsConfig)) {
                Path path = fs.getPath("projects", "pom-with-profiles", "pom.xml");
                Files.createDirectories(path.getParent());
                Files.copy(testPom.toPath(), path);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

            public ModelBuilderRequestBuilder source(ModelSource source) {
                this.source = source;
                return this;
            }
    
            public ModelBuilderRequestBuilder profiles(List<Profile> profiles) {
                this.profiles = profiles;
                return this;
            }
    
            public ModelBuilderRequestBuilder activeProfileIds(List<String> activeProfileIds) {
                this.activeProfileIds = activeProfileIds;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         */
        @Nonnull
        Model getEffectiveModel();
    
        /**
         * Gets the profiles that were active during model building.
         *
         * @return The active profiles of the model or an empty list if the model has no active profiles.
         */
        @Nonnull
        List<Profile> getActivePomProfiles();
    
        /**
         * Gets the profiles that were active during model building for a specific model in the hierarchy.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/projects/plugin-manager/project-with-plugin-classpath-ordering/sub/settings-template.xml

    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    
    <settings xmlns='http://maven.apache.org/SETTINGS/1.0.0'>
      <profiles>
        <profile>
          <id>maven-core-it-repo</id>
          <repositories>
            <repository>
              <id>maven-core-it</id>
              <url>@baseurl@/repo</url>
              <releases>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Jul 21 17:09:50 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java

            }
        }
    
        @Override
        public void setProfiles(List<Profile> profiles) {
            if (profiles != null) {
                this.profiles = new ArrayList<>(profiles);
            } else {
                this.profiles.clear();
            }
        }
    
        @Override
        public void addProfile(Profile profile) {
            profiles.add(profile);
        }
    
        @Override
        public List<Profile> getProfiles() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

        @Nonnull
        Optional<Project> getParent();
    
        /**
         * Returns all profiles defined in this project.
         * <p>
         * This method returns only the profiles defined directly in the current project's POM
         * and does not include profiles from parent projects.
         *
         * @return a non-null, possibly empty list of profiles defined in this project
         * @see Profile
         * @see #getEffectiveProfiles()
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                    + "attribute on the <project> element of your POM.");
        }
    
        private static List<Profile> prune(List<Profile> profiles) {
            return profiles.stream()
                    .map(p -> {
                        Profile.Builder builder = Profile.newBuilder(p, true);
                        prune((ModelBase.Builder) builder, p);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

                            .filter(container -> container.element != null),
                    // Profile dependencies
                    root.child(PROFILES).stream()
                            .flatMap(profiles -> profiles.children(PROFILE))
                            .flatMap(profile -> Stream.of(
                                            new DependencyContainer(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 22.2K bytes
    - Viewed (0)
Back to top