org.postgresql.jdbc4.AbstractJdbc4Array Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of postgresql Show documentation
Show all versions of postgresql Show documentation
PostgreSQL JDBC Driver JDBC4
/*-------------------------------------------------------------------------
*
* Copyright (c) 2004-2014, PostgreSQL Global Development Group
*
*
*-------------------------------------------------------------------------
*/
package org.postgresql.jdbc4;
import java.sql.*;
import org.postgresql.core.*;
import org.postgresql.jdbc2.AbstractJdbc2Array;
import org.postgresql.jdbc2.ArrayAssistantRegistry;
import org.postgresql.jdbc4.array.UUIDArrayAssistant;
public abstract class AbstractJdbc4Array extends AbstractJdbc2Array
{
static {
ArrayAssistantRegistry.register(Oid.UUID, new UUIDArrayAssistant());
ArrayAssistantRegistry.register(Oid.UUID_ARRAY, new UUIDArrayAssistant());
}
public AbstractJdbc4Array(BaseConnection connection, int oid, byte[] fieldBytes) throws SQLException
{
super(connection, oid, fieldBytes);
}
public AbstractJdbc4Array(BaseConnection connection, int oid, String fieldString) throws SQLException
{
super(connection, oid, fieldString);
}
public void free() throws SQLException
{
connection = null;
fieldString = null;
fieldBytes = null;
arrayList = null;
}
}