-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathrpsdbSQL.cmd
More file actions
35 lines (22 loc) · 1.12 KB
/
rpsdbSQL.cmd
File metadata and controls
35 lines (22 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@rem ******************************************
@rem this script starts the ij tool
@rem ******************************************
@rem change the following line to 'echo on' for debugging
@echo off
setlocal
@rem call dbSetenv.cmd script to set up the Derby environment
@rem *************************************************
@rem this script sets up the environment for Derby
@rem *************************************************
@echo off
@rem This environment variable names the databse
set DB_NAME=jdbc:derby://localhost:1527/rpsdb
@rem This environment variable points to the Derby install directory
set DERBY_INSTALL=../DerbyLib
@rem We use the following in dbStart.cmd to deal with Java 7 security issues
set DERBY_PORT=1527
set CLASSPATH=.;%DERBY_INSTALL%\derby.jar;%DERBY_INSTALL%\derbytools.jar;%DERBY_INSTALL%\derbynet.jar;%DERBY_INSTALL%\derbyclient.jar;%CLASSPATH%
title ij
@rem start ij, connecting as username/password: guest/password
java -Dij.driver=org.apache.derby.jdbc.ClientDriver -Dij.database=%DB_NAME% -Dij.user=guest -Dij.password=password org.apache.derby.tools.ij
endlocal