@@ -126,56 +126,56 @@ Binding also allowed positional index (zero-based) references. The parameter in
126
126
127
127
This reference table shows the type mapping between [ PostgreSQL] [ p ] and Java data types:
128
128
129
- | PostgreSQL Type | Supported Data Type |
130
- | :-----------------------------------------------| :----------------------------------------------------------------------------------------------------------------------------------------------|
131
- | [ ` bigint ` ] [ psql-bigint-ref ] | [ ** ` Long ` ** ] [ java-long-ref ] , [ ` Boolean ` ] [ java-boolean-ref ] , [ ` Byte ` ] [ java-byte-ref ] , [ ` Short ` ] [ java-short-ref ] , [ ` Integer ` ] [ java-integer-ref ] |
132
- | [ ` bit ` ] [ psql-bit-ref ] | Not yet supported.|
133
- | [ ` bit varying ` ] [ psql-bit-ref ] | Not yet supported.|
134
- | [ ` boolean or bool ` ] [ psql-boolean-ref ] | [ ` Boolean ` ] [ java-boolean-ref ] |
135
- | [ ` box ` ] [ psql-box-ref ] | Not yet supported.|
136
- | [ ` bytea ` ] [ psql-bytea-ref ] | Not yet supported.|
137
- | [ ` character ` ] [ psql-character-ref ] | [ ` String ` ] [ java-string-ref ] |
138
- | [ ` character varying ` ] [ psql-character-ref ] | [ ` String ` ] [ java-string-ref ] |
139
- | [ ` cidr ` ] [ psql-cidr-ref] | Not yet supported.|
140
- | [ ` circle ` ] [ psql-circle-ref ] | Not yet supported.|
141
- | [ ` date ` ] [ psql-date-ref ] | [ ` LocalDate ` ] [ java-ld-ref ] |
142
- | [ ` double precision ` ] [ psql-floating-point-ref ] | [ ** ` Double ` ** ] [ java-double-ref ] , [ ` Float ` ] [ java-float-ref ] |
143
- | [ ` inet ` ] [ psql-inet-ref ] | [ ** ` InetAddress ` ** ] [ java-inet-ref ] |
144
- | [ ` integer ` ] [ psql-integer-ref ] | [ ** ` Integer ` ** ] [ java-integer-ref ] , [ ` Boolean ` ] [ java-boolean-ref ] , [ ` Byte ` ] [ java-byte-ref ] , [ ` Short ` ] [ java-short-ref ] , [ ` Long ` ] [ java-long-ref ] |
145
- | [ ` interval ` ] [ psql-interval-ref ] | Not yet supported.|
146
- | [ ` json ` ] [ psql-json-ref ] | Not yet supported.|
147
- | [ ` line ` ] [ psql-line-ref ] | Not yet supported.|
148
- | [ ` lseg ` ] [ psql-lseq-ref ] | Not yet supported.|
149
- | [ ` macaddr ` ] [ psql-macaddr-ref ] | Not yet supported.|
150
- | [ ` macaddr8 ` ] [ psql-macaddr8-ref ] | Not yet supported.|
151
- | [ ` money ` ] [ psql-money-ref ] | Not yet supported.|
152
- | [ ` numeric ` ] [ psql-bignumeric-ref ] | [ ` BigDecimal ` ] [ java-bigdecimal-ref ] |
153
- | [ ` path ` ] [ psql-path-ref ] | Not yet supported.|
154
- | [ ` pg_lsn ` ] [ psql-pg_lsn-ref ] | Not yet supported.|
155
- | [ ` point ` ] [ psql-point-ref ] | Not yet supported.|
156
- | [ ` polygon ` ] [ psql-polygon-ref ] | Not yet supported.|
157
- | [ ` real ` ] [ psql-real-ref ] | [ ** ` Float ` ** ] [ java-float-ref ] , [ ` Double ` ] [ java-double-ref ] |
158
- | [ ` smallint ` ] [ psql-smallint-ref ] | [ ** ` Short ` ** ] [ java-short-ref ] , [ ` Boolean ` ] [ java-boolean-ref ] , [ ` Byte ` ] [ java-byte-ref ] , [ ` Integer ` ] [ java-integer-ref ] , [ ` Long ` ] [ java-long-ref ] |
159
- | [ ` smallserial ` ] [ psql-smallserial-ref ] | [ ** ` Integer ` ** ] [ java-integer-ref ] , [ ` Boolean ` ] [ java-boolean-ref ] , [ ` Byte ` ] [ java-byte-ref ] , [ ` Short ` ] [ java-short-ref ] , [ ` Long ` ] [ java-long-ref ] |
160
- | [ ` serial ` ] [ psql-serial-ref ] | [ ** ` Long ` ** ] [ java-long-ref ] , [ ` Boolean ` ] [ java-boolean-ref ] , [ ` Byte ` ] [ java-byte-ref ] , [ ` Short ` ] [ java-short-ref ] , [ ` Integer ` ] [ java-integer-ref ] |
161
- | [ ` text ` ] [ psql-text-ref ] | [ ` String[] ` ] [ java-string-ref ] |
162
- | [ ` time [without time zone] ` ] [ psql-time-ref ] | [ ` LocalTime ` ] [ java-lt-ref ] |
163
- | [ ` time [with time zone] ` ] [ psql-time-ref ] | [ ` LocalTime ` ] [ java-lt-ref ] |
129
+ | PostgreSQL Type | Supported Data Type |
130
+ | :------------------------------------------------ | :----------------------------------------------------------------------------------------------------------------------------------------------|
131
+ | [ ` bigint ` ] [ psql-bigint-ref ] | [ ** ` Long ` ** ] [ java-long-ref ] , [ ` Boolean ` ] [ java-boolean-ref ] , [ ` Byte ` ] [ java-byte-ref ] , [ ` Short ` ] [ java-short-ref ] , [ ` Integer ` ] [ java-integer-ref ] |
132
+ | [ ` bit ` ] [ psql-bit-ref ] | Not yet supported.|
133
+ | [ ` bit varying ` ] [ psql-bit-ref ] | Not yet supported.|
134
+ | [ ` boolean or bool ` ] [ psql-boolean-ref ] | [ ` Boolean ` ] [ java-boolean-ref ] |
135
+ | [ ` box ` ] [ psql-box-ref ] | Not yet supported.|
136
+ | [ ` bytea ` ] [ psql-bytea-ref ] | Not yet supported.|
137
+ | [ ` character ` ] [ psql-character-ref ] | [ ` String ` ] [ java-string-ref ] |
138
+ | [ ` character varying ` ] [ psql-character-ref ] | [ ` String ` ] [ java-string-ref ] |
139
+ | [ ` cidr ` ] [ psql-cidr-ref ] | Not yet supported.|
140
+ | [ ` circle ` ] [ psql-circle-ref ] | Not yet supported.|
141
+ | [ ` date ` ] [ psql-date-ref ] | [ ` LocalDate ` ] [ java-ld-ref ] |
142
+ | [ ` double precision ` ] [ psql-floating-point-ref ] | [ ** ` Double ` ** ] [ java-double-ref ] , [ ` Float ` ] [ java-float-ref ] |
143
+ | [ ` inet ` ] [ psql-inet-ref ] | [ ** ` InetAddress ` ** ] [ java-inet-ref ] |
144
+ | [ ` integer ` ] [ psql-integer-ref ] | [ ** ` Integer ` ** ] [ java-integer-ref ] , [ ` Boolean ` ] [ java-boolean-ref ] , [ ` Byte ` ] [ java-byte-ref ] , [ ` Short ` ] [ java-short-ref ] , [ ` Long ` ] [ java-long-ref ] |
145
+ | [ ` interval ` ] [ psql-interval-ref ] | Not yet supported.|
146
+ | [ ` json ` ] [ psql-json-ref ] | Not yet supported.|
147
+ | [ ` line ` ] [ psql-line-ref ] | Not yet supported.|
148
+ | [ ` lseg ` ] [ psql-lseq-ref ] | Not yet supported.|
149
+ | [ ` macaddr ` ] [ psql-macaddr-ref ] | Not yet supported.|
150
+ | [ ` macaddr8 ` ] [ psql-macaddr8-ref ] | Not yet supported.|
151
+ | [ ` money ` ] [ psql-money-ref ] | Not yet supported.|
152
+ | [ ` numeric ` ] [ psql-bignumeric-ref ] | [ ` BigDecimal ` ] [ java-bigdecimal-ref ] |
153
+ | [ ` path ` ] [ psql-path-ref ] | Not yet supported.|
154
+ | [ ` pg_lsn ` ] [ psql-pg_lsn-ref ] | Not yet supported.|
155
+ | [ ` point ` ] [ psql-point-ref ] | Not yet supported.|
156
+ | [ ` polygon ` ] [ psql-polygon-ref ] | Not yet supported.|
157
+ | [ ` real ` ] [ psql-real-ref ] | [ ** ` Float ` ** ] [ java-float-ref ] , [ ` Double ` ] [ java-double-ref ] |
158
+ | [ ` smallint ` ] [ psql-smallint-ref ] | [ ** ` Short ` ** ] [ java-short-ref ] , [ ` Boolean ` ] [ java-boolean-ref ] , [ ` Byte ` ] [ java-byte-ref ] , [ ` Integer ` ] [ java-integer-ref ] , [ ` Long ` ] [ java-long-ref ] |
159
+ | [ ` smallserial ` ] [ psql-smallserial-ref ] | [ ** ` Integer ` ** ] [ java-integer-ref ] , [ ` Boolean ` ] [ java-boolean-ref ] , [ ` Byte ` ] [ java-byte-ref ] , [ ` Short ` ] [ java-short-ref ] , [ ` Long ` ] [ java-long-ref ] |
160
+ | [ ` serial ` ] [ psql-serial-ref ] | [ ** ` Long ` ** ] [ java-long-ref ] , [ ` Boolean ` ] [ java-boolean-ref ] , [ ` Byte ` ] [ java-byte-ref ] , [ ` Short ` ] [ java-short-ref ] , [ ` Integer ` ] [ java-integer-ref ] |
161
+ | [ ` text ` ] [ psql-text-ref ] | [ ` String ` ] [ java-string-ref ] |
162
+ | [ ` time [without time zone] ` ] [ psql-time-ref ] | [ ` LocalTime ` ] [ java-lt-ref ] |
163
+ | [ ` time [with time zone] ` ] [ psql-time-ref ] | Not yet supported. |
164
164
| [ ` timestamp [without time zone] ` ] [ psql-time-ref ] | [ ` LocalDateTime ` ] [ java-ldt-ref ] |
165
- | [ ` timestamp [with time zone] ` ] [ psql-time-ref ] | [ ` ZonedDateTime ` ] [ java-zdt-ref ] |
166
- | [ ` tsquery ` ] [ psql-tsquery-ref ] | Not yet supported.|
167
- | [ ` tsvector ` ] [ psql-tsvector-ref ] | Not yet supported.|
168
- | [ ` txid_snapshot ` ] [ psql-txid_snapshot-ref ] | Not yet supported.|
169
- | [ ` uuid ` ] [ psql-uuid-ref ] | [ ** ` UUID ` ** ] [ java-uuid-ref ] , [ ` String ` ] [ java-string-ref ] ||
170
- | [ ` xml ` ] [ psql-xml-ref ] | Not yet supported. |
165
+ | [ ` timestamp [with time zone] ` ] [ psql-time-ref ] | [ ` ZonedDateTime ` ] [ java-zdt-ref ] |
166
+ | [ ` tsquery ` ] [ psql-tsquery-ref ] | Not yet supported.|
167
+ | [ ` tsvector ` ] [ psql-tsvector-ref ] | Not yet supported.|
168
+ | [ ` txid_snapshot ` ] [ psql-txid_snapshot-ref ] | Not yet supported.|
169
+ | [ ` uuid ` ] [ psql-uuid-ref ] | [ ** ` UUID ` ** ] [ java-uuid-ref ] , [ ` String ` ] [ java-string-ref ] ||
170
+ | [ ` xml ` ] [ psql-xml-ref ] | Not yet supported. |
171
171
172
172
Types in ** bold** indicate the native (default) Java type.
173
173
174
- Currently supports the following single-dimensional arrays for both read and write.
174
+ Support for the following single-dimensional arrays ( read and write):
175
175
176
176
| PostgreSQL Type | Supported Data Type |
177
177
| :-----------------------------------------------| :-------------------------------------|
178
- | [ ` tex []` ] [ psql-text-ref ] | [ ` String[] ` ] [ java-string-ref ] |
178
+ | [ ` text []` ] [ psql-text-ref ] | [ ` String[] ` ] [ java-string-ref ] |
179
179
| [ ` integer[] or int[] ` ] [ psql-integer-ref ] | [ ` Integer[] ` ] [ java-integer-ref ] , [ ` Long[] ` ] [ java-long-ref ] , [ ` Short[] ` ] [ java-short-ref ] |
180
180
181
181
0 commit comments