# MybatisProperties
# Scan the XML file corresponding to the Mapper interface, as shown in the following figure: All files ending in xml in the mapper folder under resources are scanned. Note: If you use the @Mapper annotation throughout, you don't need to use this configuration. SpringBoot advocates "convention is better than configuration"
mybatis.mapper-locations=classpath:mapper/*.xml
# To specify the POJO scanning package to let mybatis automatically scan to the custom POJO
mybatis.type-aliases-package=com.nowcoder.community.entity
# Allow JDBC to support automatic generation of primary keys, which requires driver compatibility
mybatis.configuration.useGeneratedKeys=true
# Automatic camel case conversion
mybatis.configuration.mapUnderscoreToCamelCase=true