MCPcopy Index your code
hub / github.com/MaterializeInc/demos / connect

Method connect

connection-examples/java/query.java:19–27  ·  view source on GitHub ↗

Connect to Materialize @return a Connection object

()

Source from the content-addressed store, hash-verified

17 * @return a Connection object
18 */
19 public Connection connect() throws SQLException {
20 Properties props = new Properties();
21 props.setProperty("user", user);
22 props.setProperty("password", password);
23 props.setProperty("ssl","true");
24
25 return DriverManager.getConnection(url, props);
26
27 }
28
29 public void query() {
30

Callers 1

queryMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected