Package util

Source Code of util.Config

package util;

import org.orm.cfg.JDBCConnectionSetting;

public class Config {

  public static JDBCConnectionSetting init(){
    JDBCConnectionSetting setting = new JDBCConnectionSetting();
    setting.setConnectionURL("jdbc:mysql://localhost:3306/mercadopublico2");
    setting.setDriverClass("com.mysql.jdbc.Driver");
    setting.setUserName("root");
    setting.setDialect("org.hibernate.dialect.MySQLInnoDBDialect");
    setting.setPassword("123456");
    return setting;
}
}
TOP

Related Classes of util.Config

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.