datasource 如何指定postgresql 连接的schema


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

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

猜你喜欢

转载自www.cnblogs.com/sandyyeh/p/12336857.html
今日推荐