idea连接国产化oceanBase信创改造
一、下载OceanBase的驱动jar
下载oceanbase的jdbc驱动:https://mvnrepository.com/artifact/com.oceanbase/oceanbase-client
二、配置驱动
1.idea的Database窗口,点击左上角的加号,选中如图:
2.添加Oceanbase的驱动jar,选择com.alipay.oceanbase.jdbc.Driver
三、连接数据源
如果出现 ORA-01882:timezone region ‘UTC’ not found.
VM options中添加: Duser.timezone=Asia/Shanghai。