From f8744c4e6859c42c3e11e3c5044315e4e578c25c Mon Sep 17 00:00:00 2001 From: qi_liang Date: Wed, 14 Aug 2019 21:31:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E4=B9=89=E8=8E=B7=E5=8F=96jdbc?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=B1=9E=E6=80=A7=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../panda/jdbc/helper/DbConfigInterface.java | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 panda-jdbc/src/main/java/org/panda/jdbc/helper/DbConfigInterface.java diff --git a/panda-jdbc/src/main/java/org/panda/jdbc/helper/DbConfigInterface.java b/panda-jdbc/src/main/java/org/panda/jdbc/helper/DbConfigInterface.java new file mode 100644 index 0000000..9352f00 --- /dev/null +++ b/panda-jdbc/src/main/java/org/panda/jdbc/helper/DbConfigInterface.java @@ -0,0 +1,33 @@ +package org.panda.jdbc.helper; + +/** + * @Author: qi + * @Description: 数据库配置文件接口 + * @Date: Create in 9:00 AM 2019/8/14 + */ +public interface DbConfigInterface { + + /** + * 返回数据库驱动 + * @return + */ + String getJdbcDriver(); + + /** + * 返回数据库连接地址 + * @return + */ + String getJdbcUrl(); + + /** + * 返回数据库用户 + * @return + */ + String getJdbcUser(); + + /** + * 返回数据库密码 + * @return + */ + String getJdbcPassword(); +}