Skip to content

Instantly share code, notes, and snippets.

@nitindhar7
Created November 5, 2015 03:23
Show Gist options
  • Save nitindhar7/857fa0aa55430ee0df07 to your computer and use it in GitHub Desktop.
Save nitindhar7/857fa0aa55430ee0df07 to your computer and use it in GitHub Desktop.
// Mapping a string array to `varchar[]` in Postgres
String[] tags = ...
Array array = q.getContext().getConnection().createArrayOf("varchar", tags);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment