#651 - ENH: Add type support for java.nio.file.Path ... such that it stores the underlying URI as VARCHAR/string

This commit is contained in:
Robin Bygrave
2016-04-21 11:34:33 +12:00
parent 221f5ad879
commit 4eb1aded2d
@@ -14,7 +14,7 @@ public class ScalarTypePathTest {
@Test
public void convertFromDbString() throws Exception {
Path path = Paths.get(".");
Path path = Paths.get("/tmp");
String asString = type.convertToDbString(path);
Path converted = type.convertFromDbString(asString);
@@ -25,7 +25,7 @@ public class ScalarTypePathTest {
@Test
public void formatAndParse() throws Exception {
Path path = Paths.get(".");
Path path = Paths.get("/tmp");
String asString = type.formatValue(path);
Path converted = type.parse(asString);