pdpotter commented on issue #76:
URL: https://github.com/apache/incubator-age/issues/76#issuecomment-850282617
Did you execute `LOAD 'age';` and `SET search_path = ag_catalog, "$user",
public;` on your connection before executing the query above?
Probably something like this (again, I haven't tried this and I am not
familiar with JDBC):
```
Connection conn = connectionHelper.createConnection();
Statement loadStatement = conn.createStatement();
statement.execute("LOAD 'age'");
statement.execute("SET search_path = ag_catalog, \"$user\", public;");
PreparedStatement pstmt = conn.prepareStatement(
"select * from cypher('a', $$ "+
"match (a) where a.id = $id return properties(a)" +
"$$, ?) as (a agtype););");
pstmt.setString(1, "{\"id\": 281474976710667}");
ResultSet resultset = pstmt.executeQuery();
conn.close();
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]