File: derby.java

package info (click to toggle)
libgda5 5.2.10-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 76,168 kB
  • sloc: ansic: 495,319; xml: 10,486; yacc: 5,165; sh: 4,451; makefile: 4,095; php: 1,416; java: 1,300; javascript: 1,298; python: 896; sql: 879; perl: 116
file content (15 lines) | stat: -rw-r--r-- 337 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import java.sql.*;

class org_apache_derbyMeta extends GdaJMeta {
	public org_apache_derbyMeta (Connection cnc) throws Exception {
		super (cnc);
		ResultSet rs;
		Statement stmt;
		stmt = cnc.createStatement();
		rs = stmt.executeQuery ("values current schema");
		while (rs.next ()) {
			schemaAddCurrent (rs.getString (1));
		}
	}
}