Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @PostConstruct
- void started() {
- TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
- }
- datasource.config.url=jdbc:h2:mem:AZ;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;MODE=ORACLE;
- datasource.config.username=sa
- datasource.config.password=
- datasource.config.driver-class-name=org.h2.Driver
- @Select("Select CURRENT_TIMESTAMP")
- String selectCurrentTimestamp();
- public static void main(String[] args) {
- TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
- SpringApplication.run(Application.class, args);
- }
Add Comment
Please, Sign In to add comment