File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ public boolean[] toArray() {
149149 * @param conn connection
150150 * @throws SQLException exception
151151 */
152- public static void addBitType (Connection conn ) throws SQLException {
152+ public static void registerType (Connection conn ) throws SQLException {
153153 conn .unwrap (PGConnection .class ).addDataType ("bit" , PGbit .class );
154154 }
155155}
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ void bitExample(boolean readBinary) throws SQLException {
138138 setupStmt .executeUpdate ("CREATE EXTENSION IF NOT EXISTS vector" );
139139 setupStmt .executeUpdate ("DROP TABLE IF EXISTS jdbc_items" );
140140
141- PGbit .addBitType (conn );
141+ PGbit .registerType (conn );
142142
143143 Statement createStmt = conn .createStatement ();
144144 createStmt .executeUpdate ("CREATE TABLE jdbc_items (id bigserial PRIMARY KEY, embedding bit(9))" );
You can’t perform that action at this time.
0 commit comments