home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 November
/
Chip_1998-11_cd.bin
/
tema
/
Cafe
/
ddetour.bin
/
ConnectionManager1.java
< prev
next >
Wrap
Text File
|
1998-03-19
|
837b
|
39 lines
import symantec.itools.db.beans.jdbc.*;
import java.sql.*;
public class ConnectionManager1 extends ConnectionManager
{
public ConnectionManager1()
{
super();
init();
}
public void init()
{
//{{INIT_CONTROLS
jdbcConnection1 = new symantec.itools.db.beans.jdbc.JdbcConnection();
jdbcConnection1.setIdentifier("jdbcConnection1");
jdbcConnection1.setURL("jdbc:dbaw://localhost:8889/Tutorial");
jdbcConnection1.setUserName("dba");
jdbcConnection1.setPassword("sql");
try {
jdbcConnection1.setReadOnly(false);
} catch (java.sql.SQLException e) {
System.out.println(e.getMessage());
return;
}
add(jdbcConnection1);
//$$ jdbcConnection1.move(0,0);
//}}
}
//{{DECLARE_CONTROLS
static symantec.itools.db.beans.jdbc.JdbcConnection jdbcConnection1;
//}}
}