Spring Framwork Testing v5.3.36 SNAPSHOT
Management One common issue in tests that access a real database is their effect on the state of the persistence store. Even when you use a development database, changes to the state may affect future tests. Also running within the transaction managed for the test, the transaction rolls back by default, and the database returns to its state prior to execution of the test. Transactional support is provided to a test commit (unusual, but occasionally useful when you want a particular test to populate or modify the database), you can tell the TestContext framework to cause the transaction to commit instead of roll back0 码力 | 193 页 | 2.53 MB | 1 年前3Spring Framework Reference Documentation 4.3.26.RELEASE
19. Data access with JDBC Introduction to Spring Framework JDBC Choosing an approach for JDBC database access Package hierarchy Using the JDBC core classes to control basic JDBC processing and error SQLExceptionTranslator Executing statements Running queries Updating the database Retrieving auto-generated keys Controlling database connections DataSource DataSourceUtils SmartDataSource AbstractDataSource calls Embedded database support Why use an embedded database? Creating an embedded database using Spring XML Creating an embedded database programmatically Selecting the embedded database type Using HSQL0 码力 | 1323 页 | 4.08 MB | 1 年前3Spring Framework Reference Documentation v4.3.2
19. Data access with JDBC Introduction to Spring Framework JDBC Choosing an approach for JDBC database access Package hierarchy Using the JDBC core classes to control basic JDBC processing and error SQLExceptionTranslator Executing statements Running queries Updating the database Retrieving auto-generated keys Controlling database connections DataSource DataSourceUtils SmartDataSource AbstractDataSource calls Embedded database support Why use an embedded database? Creating an embedded database using Spring XML Creating an embedded database programmatically Selecting the embedded database type Using HSQL0 码力 | 1311 页 | 4.07 MB | 1 年前3Spring Framework Reference Documentation 4.3.26.RELEASE
JDBC .......................................................... 408 Choosing an approach for JDBC database access ........................................... 408 Package hierarchy ..................... ............................................................................. 418 Updating the database .................................................................................... 419 Retrieving keys ....................................................................... 419 19.3. Controlling database connections .................................................................... 419 DataSource0 码力 | 916 页 | 5.52 MB | 1 年前3Spring Framework Reference Documentation v4.3.2
JDBC .......................................................... 400 Choosing an approach for JDBC database access ........................................... 400 Package hierarchy ..................... ............................................................................. 410 Updating the database .................................................................................... 411 Retrieving keys ....................................................................... 411 19.3. Controlling database connections .................................................................... 411 DataSource0 码力 | 907 页 | 5.46 MB | 1 年前3Spring Framwork Data Access v5.3.36 SNAPSHOT
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 3.1. Choosing an Approach for JDBC Database Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 3.2. Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 3.3.6. Updating the Database. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 3.4. Controlling Database Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 197 页 | 2.76 MB | 1 年前3Spring Boot 2.6.0-m2 Reference Documentation
216 Embedded Database Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216 Connection to a Production Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 Embedded Database Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 Connecting to a MongoDB Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 708 页 | 13.90 MB | 1 年前3Spring Boot 2.5.13 Reference Documentation
159 Embedded Database Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159 Connection to a Production Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172 Embedded Database Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 Connecting to a MongoDB Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 702 页 | 13.82 MB | 1 年前3Spring Boot 2.5.3 Reference Documentation
153 Embedded Database Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 Connection to a Production Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 Embedded Database Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 Connecting to a MongoDB Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 692 页 | 13.67 MB | 1 年前3Spring Boot 2.5.10 Reference Documentation
157 Embedded Database Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 Connection to a Production Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169 Embedded Database Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 Connecting to a MongoDB Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 695 页 | 13.72 MB | 1 年前3
共 315 条
- 1
- 2
- 3
- 4
- 5
- 6
- 32