Java type in JDBC to Postgres ltree
问题 Does anyone know what Java type maps to a Postgres ltree type? I create a table like so: CREATE TABLE foo (text name, path ltree); A couple of inserts: INSERT INTO foo (name, path) VALUES ( 'Alice', 'ROOT.first.parent'); INSERT INTO foo (name, path) VALUES ( 'Bob', 'ROOT.second.parent'); INSERT INTO foo (name, path) VALUES ( 'Ted', 'ROOT.first.parent.child'); INSERT INTO foo (name, path) VALUES ( 'Carol', 'ROOT.second.parent.child'); Nothing strange there. Now I want to batch this up using a