Revision 4335
Added by daigle over 15 years ago
AccessControlList.java | ||
---|---|---|
47 | 47 |
import org.xml.sax.helpers.XMLReaderFactory; |
48 | 48 |
import org.xml.sax.helpers.DefaultHandler; |
49 | 49 |
|
50 |
import edu.ucsb.nceas.metacat.service.DatabaseService; |
|
50 | 51 |
import edu.ucsb.nceas.metacat.service.PropertyService; |
51 | 52 |
import edu.ucsb.nceas.metacat.util.MetaCatUtil; |
52 | 53 |
import edu.ucsb.nceas.metacat.util.SystemUtil; |
... | ... | |
62 | 63 |
{ |
63 | 64 |
|
64 | 65 |
|
65 |
private static String sysdate = MetaCatUtil.dbAdapter.getDateTimeFunction();
|
|
66 |
private static String isnull = MetaCatUtil.dbAdapter.getIsNULLFunction();
|
|
66 |
private static String sysdate = DatabaseService.getDBAdapter().getDateTimeFunction();
|
|
67 |
private static String isnull = DatabaseService.getDBAdapter().getIsNULLFunction();
|
|
67 | 68 |
|
68 | 69 |
private DBConnection connection; |
69 | 70 |
private String parserName; |
Also available in: Unified diff
Move the DBAdaptor accessor into a DatabaseService class