1. maven 引入神通数据库依赖
引入之前一定要maven仓库中的路径配置好,检查好后再执行以下命令!!!
mvn install:install-file -Dfile=oscarJDBC16-1.0.jar -DgroupId=com.oscar.Driver -DartifactId=oscarJDBC16 -Dversion=1.0 -Dpackaging=jar
mvn install:install-file -Dfile=包名(包含版本信息) r -DgroupId=maven依赖中的groupId -DartifactId=原始包名 -Dversion=版本号 -Dpackaging=jar
2. 导入数据
osrimp -uSYSDBA/szoscar55 -hlocalhost -p2003 -dosrdb level=schema file=d:/backup/20210127.osr log=d:/input20210127.log schema=mySchemaignore=true
3. 导出数据
导出命令: osrexp -uSYSDBA/szoscar55 -hlocalhost -p2003 -dosrdb level=schema file=d:/backup/20210127.osr log=d:/output20210127.log schema=mySchema
4. 驱动包,以及开发工具
oscarJDBC16-1.0.jar
DataGrip ,参考网上的安装破解教程,参考 https://www.cnblogs.com/chenhaoblog/p/13414122.html
DataGrip 神通数据库连接教程 ,参考https://blog.csdn.net/weixin_41880210/article/details/99547991
5. SpringBoot项目中的分页插件的配置修改项
application.properties
pagehelper.helperDialect=oracle
pagehelper.reasonable=true
pagehelper.supportMethodsArguments=true
pagehelper.params=count=countSql