Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <parent>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>2.0.0.RELEASE</version>
- <relativePath />
- </parent>
- OracleDataSource dataSource = new OracleDataSource();
- Properties p = new Properties();
- p.put("useUnicode", "true;");
- p.put("characterEncoding", "UTF-8;");
- dataSource.setConnectionProperties(p);
- dataSource.setUser("user");
- dataSource.setPassword("pass");
- dataSource.setURL("jdbc:oracle:thin:@0.0.0.0:00:x");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement