datasource 如何指定postgresql 连接的schema


##9.4开始通过关键字currentSchema指定
jdbc:postgresql://localhost:5432/mypgsql?currentSchema=myschema

##旧版本通过searchpath指定
jdbc:postgresql://localhost:5432/mypgsql?searchpath=myschema

posted @ 2020-02-20 18:29  江南叶少  阅读(5515)  评论(0编辑  收藏  举报