dbproxy
This commit is contained in:
parent
6fd2beda57
commit
fcda5d8b6c
|
@ -1,10 +1,10 @@
|
||||||
package com.loafle.overflow.proxy.db;
|
package com.loafle.overflow.proxy.db;
|
||||||
|
|
||||||
|
|
||||||
|
import com.loafle.overflow.commons.dao.JPABaseDAO;
|
||||||
import com.loafle.overflow.db.api.DBGrpc;
|
import com.loafle.overflow.db.api.DBGrpc;
|
||||||
import com.loafle.overflow.db.api.DBInput;
|
import com.loafle.overflow.db.api.DBInput;
|
||||||
import com.loafle.overflow.db.api.DBOutput;
|
import com.loafle.overflow.db.api.DBOutput;
|
||||||
import com.loafle.overflow.commons.dao.JPABaseDAO;
|
|
||||||
import com.loafle.overflow.member.dao.JPAMemberDAO;
|
import com.loafle.overflow.member.dao.JPAMemberDAO;
|
||||||
import io.grpc.ServerBuilder;
|
import io.grpc.ServerBuilder;
|
||||||
import org.codehaus.jackson.map.ObjectMapper;
|
import org.codehaus.jackson.map.ObjectMapper;
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
|
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
|
||||||
|
|
||||||
<persistence-unit name="overflow">
|
<persistence-unit name="overflow">
|
||||||
|
<class>com.loafle.overflow.member.model.Member</class>
|
||||||
<properties>
|
<properties>
|
||||||
<property name="javax.persistence.jdbc.url" value="jdbc:postgresql://192.168.1.106:5432/postgres" />
|
<property name="javax.persistence.jdbc.url" value="jdbc:postgresql://192.168.1.106:5432/postgres" />
|
||||||
<property name="javax.persistence.jdbc.driver" value="org.postgresql.Driver" />
|
<property name="javax.persistence.jdbc.driver" value="org.postgresql.Driver" />
|
||||||
|
|
Loading…
Reference in New Issue
Block a user