shjung 2 年 前
コミット
865d0c722b

+ 1 - 1
pom.xml

@@ -34,7 +34,7 @@
         <maven.compiler.target>1.8</maven.compiler.target>
         <!--main 함수가 있는 class 경로-->
         <start-class>com.its.op.ItsOpServerApplication</start-class>
-        <webapp.lib>C:\DEV\ITS\01.WINDOWS\22.01.YONGIN\JAVA\repository</webapp.lib>
+        <webapp.lib>C:\java\repository</webapp.lib>
         <maven.test.skip>true</maven.test.skip>
     </properties>
 

+ 2 - 4
src/main/java/com/its/op/config/JasyptConfig.java

@@ -1,16 +1,14 @@
 package com.its.op.config;
 
-import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties;
 import org.jasypt.encryption.StringEncryptor;
 import org.jasypt.encryption.pbe.PooledPBEStringEncryptor;
 import org.jasypt.encryption.pbe.config.SimpleStringPBEConfig;
 import org.jasypt.salt.StringFixedSaltGenerator;
 import org.springframework.beans.factory.annotation.Value;
 import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
 
-@Configuration
-@EnableEncryptableProperties
+//@Configuration
+//@EnableEncryptableProperties
 public class JasyptConfig {
 
     @Value("${jasypt.encryptor.password:asdkjfaslkjflkajslfjkajlkf}")

+ 11 - 5
src/main/resources/application-dev.yml

@@ -1,15 +1,17 @@
 spring:
   devtools:
     livereload:
-      enabled: true
+      enabled: false
   freemarker:
     cache: false
   datasource:
     hikari:
       driver-class-name: oracle.jdbc.OracleDriver
       jdbc-url: jdbc:oracle:thin:@115.91.94.42:1522:HANTE19C
-      username: ENC(JMlDMLqAr4U=)
-      password: ENC(JMlDMLqAr4U=)
+      username: ptatms
+      password: ptatms
+#      username: ENC(JMlDMLqAr4U=)
+#      password: ENC(JMlDMLqAr4U=)
       connection-test-query: SELECT 1 FROM DUAL
       minimumIdle: 5
       maximumIdle: 10
@@ -17,8 +19,12 @@ spring:
       idleTimeout: 30000
       connectTimeout: 10000
   jpa:
-    database-platform: org.hibernate.dialect.Oracle10gDialect
+    database: oracle
+    database-platform: org.hibernate.dialect.Oracle12cDialect
+    #org.hibernate.dialect.Oracle10gDialect
     #org.hibernate.dialect.Oracle12cDialect
+    hibernate:
+      ddl-auto: none
     properties:
       hibernate:
-        dialect: org.hibernate.dialect.Oracle10gDialect
+        dialect: org.hibernate.dialect.Oracle12cDialect

+ 8 - 7
src/main/resources/application.yml

@@ -86,7 +86,8 @@ spring:
 
 logging:
   level:
-    org.hibernate.SQL: ERROR
+    org.hibernate.SQL: DEBUG
+    org.hibernate.type: TRACE # 파라미터 보여준다.
     org:
       springframework:
         #security: DEBUG
@@ -100,9 +101,9 @@ logging:
             sql:
               BasicBinder: ERROR
 
-jasypt:
-  encryptor:
-    bean: jasyptStringEncryptor
-    property:
-      prefix: ENC(
-      suffix: )
+#jasypt:
+#  encryptor:
+#    bean: jasyptStringEncryptor
+#    property:
+#      prefix: ENC(
+#      suffix: )