### Add PageHelper Spring Boot Starter Dependency Source: https://github.com/pagehelper/pagehelper-spring-boot/blob/master/README.md This XML snippet shows the Maven dependency required to include the PageHelper Spring Boot Starter in your project's pom.xml file. It specifies the groupId, artifactId, and version for the starter. ```XML com.github.pagehelper pagehelper-spring-boot-starter 2.1.1 ``` -------------------------------- ### Configure PageHelper Properties in application.properties Source: https://github.com/pagehelper/pagehelper-spring-boot/blob/master/README.md Demonstrates how to configure PageHelper properties using the application.properties file. Note that properties are stored as a Map, so IDE auto-completion is not available for these custom properties. ```properties pagehelper.propertyName=propertyValue ``` -------------------------------- ### Configure PageHelper Async Count Source: https://github.com/pagehelper/pagehelper-spring-boot/blob/master/README.md This properties snippet demonstrates how to enable asynchronous counting for PageHelper in your Spring Boot application's configuration. Setting `pagehelper.async-count` to `true` allows for asynchronous count queries. ```Properties pagehelper.async-count=true ``` -------------------------------- ### Control PageHelper Interceptor Order with Spring Annotations Source: https://github.com/pagehelper/pagehelper-spring-boot/blob/master/README.md Illustrates how to control the loading order of the PageHelper interceptor plugin relative to other Spring AutoConfigurations. This can be achieved using `@AutoConfigureAfter` or `@AutoConfigureBefore` annotations on your configuration class. ```java @AutoConfigureAfter(PageHelperAutoConfiguration.class) //Or @AutoConfigureBefore(PageHelperAutoConfiguration.class) ``` -------------------------------- ### Configure PageHelper Default Count Behavior Source: https://github.com/pagehelper/pagehelper-spring-boot/blob/master/README.md This properties snippet illustrates how to control the default count query behavior in PageHelper. Setting `pagehelper.default-count` to `false` prevents PageHelper from executing a count query by default when no explicit count is requested. ```Properties pagehelper.default-count=false ``` -------------------------------- ### Configure PageHelper Dialect Alias Source: https://github.com/pagehelper/pagehelper-spring-boot/blob/master/README.md This properties snippet shows how to configure a custom dialect alias for PageHelper. It allows mapping a database type (e.g., 'oracle') to a specific dialect implementation class, enabling custom dialect support or overriding existing ones. ```Properties pagehelper.dialect-alias=oracle=com.github.pagehelper.dialect.helper.OracleDialect ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.