Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 590 for session1 (0.08 sec)

  1. tests/prepared_stmt_test.go

    		tx.Session(&gorm.Session{PrepareStmt: true}).Create(&user)
    		return errors.New("test")
    	}); err == nil {
    		t.Error(err)
    	}
    
    	var result User
    	if err := DB.First(&result, user.ID).Error; err == nil {
    		t.Errorf("Failed, got error: %v", err)
    	}
    }
    
    func TestPreparedStmtReset(t *testing.T) {
    	tx := DB.Session(&gorm.Session{PrepareStmt: true})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractRepositoryTestCase.java

            session.withLocalRepositories(new LocalRepository(new File("target/local-repo"), "simple"));
            session.setTransferListener(new ConsoleTransferListener());
            session.setRepositoryListener(new ConsoleRepositoryListener());
    
            return session.build();
        }
    
        public static RemoteRepository newTestRepository() throws MalformedURLException {
            return new RemoteRepository.Builder(
                            "repo",
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

        }
    
        class ArtifactDeployerRequestBuilder {
            Session session;
            RemoteRepository repository;
            Collection<ProducedArtifact> artifacts;
            int retryFailedDeploymentCount;
    
            ArtifactDeployerRequestBuilder() {}
    
            @Nonnull
            public ArtifactDeployerRequestBuilder session(Session session) {
                this.session = session;
                return this;
            }
    
            @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                return null;
            });
        }
    
        private OptionalThing<HttpSession> getSession() {
            final HttpSession session = request.getSession(false);
            if (session != null) {
                return OptionalEntity.of(session);
            }
            return OptionalEntity.empty();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

    public class DefaultProject implements Project {
    
        private final InternalMavenSession session;
        private final MavenProject project;
        private final Packaging packaging;
    
        public DefaultProject(InternalMavenSession session, MavenProject project) {
            this.session = session;
            this.project = project;
            ClassLoader ttcl = Thread.currentThread().getContextClassLoader();
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

            TaskSegment mergedSegment = new TaskSegment(false);
    
            for (TaskSegment taskSegment : taskSegments) {
                mergedSegment.getTasks().addAll(taskSegment.getTasks());
            }
    
            return lifecycleExecutionPlanCalculator.calculateExecutionPlan(
                    session, session.getCurrentProject(), mergedSegment.getTasks(), setup);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                metadataRequest.setTrace(trace);
                metadataRequests.add(metadataRequest);
            }
    
            List<MetadataResult> metadataResults = metadataResolver.resolveMetadata(session, metadataRequests);
    
            WorkspaceReader workspace = session.getWorkspaceReader();
            if (workspace != null) {
                List<String> versions = workspace.findVersions(request.getArtifact());
                for (String version : versions) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

    @SessionScoped
    public class DefaultArtifactManager implements ArtifactManager {
    
        @Nonnull
        private final InternalMavenSession session;
    
        private final Map<String, Path> paths = new ConcurrentHashMap<>();
    
        @Inject
        public DefaultArtifactManager(@Nonnull InternalMavenSession session) {
            this.session = session;
        }
    
        @Nonnull
        @Override
        public Optional<Path> getPath(@Nonnull Artifact artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

          initOauthSession(session);
          System.out.printf("session granted: %s\n", session);
        });
    
        System.out.printf("open this URL in a browser: %s\n", authorizeUrl);
      }
    
      /** Set the OAuth session for this client. */
      public synchronized void initOauthSession(OAuthSession session) {
        this.session = session;
        this.notifyAll();
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

            if (Features.consumerPom(session.getUserProperties()) && consumerPomPresent(request.getArtifacts())) {
                request.setArtifacts(replacePom(request.getArtifacts()));
            }
            return request;
        }
    
        public DeployRequest remapDeployArtifacts(RepositorySystemSession session, DeployRequest request) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top