1 10 11 package com.triactive.jdo; 12 13 14 20 21 public interface DatabaseProperties 22 { 23 27 public static final String DRIVER_PROPERTY = "database.driver"; 28 29 32 public static final String URL_PROPERTY = "database.url"; 33 34 38 public static final String USER_PROPERTY = "database.user"; 39 40 44 public static final String PASSWORD_PROPERTY = "database.password"; 45 46 47 48 public static final String dbDriver = System.getProperty(DRIVER_PROPERTY); 49 50 51 public static final String dbURL = System.getProperty(URL_PROPERTY); 52 53 54 public static final String dbUser = System.getProperty(USER_PROPERTY); 55 56 57 public static final String dbPassword = System.getProperty(PASSWORD_PROPERTY); 58 } 59 | Popular Tags |