Springboot connect Greenplum, paging query

springboot greenplum data paging query error:

org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
### Error querying database Cause:. Com.github.pagehelper.PageException : Unable to get automatic database type, specify the parameters by helperDialect ! 
### in the Cause: com.github.pagehelper.PageException: Unable to get the database type automatically, by helperDialect parameter specifies ! 
    AT org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible (MyBatisExceptionTranslator.java: 77 )
    at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:446)
    at com.sun.proxy.$Proxy151.selectList(Unknown Source)
    at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:230)
    at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:139)
    at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:76)
    at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:59)
    at com.sun.proxy.$Proxy171.searchBloomInfoListByDate(Unknown Source)

Adding follows the application.properties ( must be arranged in the profile can not be configured in a custom class Config ):

pagehelper:
helper-dialect: postgresql
reasonable: true
support-methods-arguments: true
params: true
default-count: true

 

Guess you like

Origin www.cnblogs.com/zengming/p/11677184.html