MCPcopy Create free account
hub / github.com/MaterializeInc/demos / connect

Method connect

connection-examples/java/insert.java:20–28  ·  view source on GitHub ↗

Connect to Materialize @return a Connection object

()

Source from the content-addressed store, hash-verified

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

Callers 1

insertMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected