Revision 51
Added by Matt Jones over 24 years ago
MetaCatUtil.java | ||
---|---|---|
1 |
/** |
|
2 |
* Name: MetaCatUtil.java |
|
3 |
* Purpose: A Class that implements utility methods for a metadata catalog |
|
4 |
* Copyright: 2000 Regents of the University of California and the |
|
5 |
* National Center for Ecological Analysis and Synthesis |
|
6 |
* Authors: Matt Jones |
|
7 |
* |
|
8 |
* Version: '$Id$' |
|
9 |
*/ |
|
10 |
|
|
11 |
package edu.ucsb.nceas.metacat; |
|
12 |
|
|
1 | 13 |
import java.sql.Connection; |
2 | 14 |
import java.sql.DriverManager; |
3 | 15 |
import java.sql.SQLException; |
... | ... | |
8 | 20 |
public class MetaCatUtil { |
9 | 21 |
|
10 | 22 |
static String user = "jones"; |
11 |
static String password = "your-pw-goes-here";
|
|
23 |
static String password = "kinkaj0u";
|
|
12 | 24 |
static String defaultDB = "jdbc:oracle:thin:@localhost:1521:test"; |
13 | 25 |
|
14 | 26 |
/** |
Also available in: Unified diff
changed package name to edu.ucsb.nceas.metacat.*