1 22 23 package testsuite.simple; 24 25 import java.sql.SQLException ; 26 import java.util.Properties ; 27 28 import com.mysql.jdbc.ConnectionPropertiesTransform; 29 import com.mysql.jdbc.NonRegisteringDriver; 30 31 39 public class SimpleTransformer implements ConnectionPropertiesTransform { 40 41 46 public Properties transformProperties(Properties props) throws SQLException { 47 props 48 .setProperty(NonRegisteringDriver.HOST_PROPERTY_KEY, 49 "albequerque"); 50 51 return props; 52 } 53 54 } 55 | Popular Tags |