설정 패키지 구조변경
parent
54c423bfa5
commit
e7288d4ccd
|
|
@ -1,4 +1,4 @@
|
|||
package com.dbnt.faisp.config;
|
||||
package com.dbnt.faisp.config.database;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
|
@ -39,7 +39,7 @@ public class KwmsDatabaseConfig {
|
|||
//Hibernate 설정
|
||||
HashMap<String, Object> properties = new HashMap<>();
|
||||
properties.put("hibernate.hbm2ddl.auto", "none");
|
||||
properties.put("hibernate.dialect", "org.hibernate.dialect.Oracle10gDialect");
|
||||
properties.put("hibernate.dialect", TiberoDialect.class.getName());
|
||||
em.setJpaPropertyMap(properties);
|
||||
return em;
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.dbnt.faisp.config;
|
||||
package com.dbnt.faisp.config.database;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
package com.dbnt.faisp.config.database;
|
||||
|
||||
import org.hibernate.dialect.Oracle10gDialect;
|
||||
|
||||
public class TiberoDialect extends Oracle10gDialect{
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.dbnt.faisp.config;
|
||||
package com.dbnt.faisp.config.tomcat;
|
||||
|
||||
import org.apache.catalina.connector.Connector;
|
||||
import org.apache.coyote.ProtocolHandler;
|
||||
Loading…
Reference in New Issue