Skip to content

Commit

Permalink
Move non JDBC API method to the end where the other add methods are p…
Browse files Browse the repository at this point in the history
…laced.
  • Loading branch information
mvdvm committed Feb 1, 2024
1 parent 51d04d8 commit 948feac
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/main/java/org/monetdb/jdbc/MonetConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -1243,20 +1243,6 @@ public boolean isValid(final int timeout) throws SQLException {
return isValid;
}

/**
* Construct a Properties object holding all connection parameters such
* as host, port, TLS configuration, autocommit, etc.
* Passing this to {@link DriverManager.getConnection()} together
* with the URL "jdbc:monetdb:" will create a new connection identical to
* the current one.
*
* @return
*/

public Properties getConnectionProperties() {
return target.getProperties();
}

/**
* Returns the value of the client info property specified by name.
* This method may return null if the specified client info property
Expand Down Expand Up @@ -1525,7 +1511,21 @@ public int getNetworkTimeout() throws SQLException {
//== end methods of interface java.sql.Connection


//== internal helper methods which do not belong to the JDBC interface
//== internal helper methods which do NOT belong to the JDBC interface

/**
* Construct a Properties object holding all connection parameters such
* as host, port, TLS configuration, autocommit, etc.
* Passing this to {@link DriverManager.getConnection()} together
* with the URL "jdbc:monetdb:" will create a new connection identical to
* the current one.
*
* @return a Properties object
*/
public Properties getConnectionProperties() {
return target.getProperties();
}


/** Handler for COPY ... INTO ... FROM 'data-file-name' ON CLIENT requests */
private UploadHandler uploadHandler;
Expand Down

0 comments on commit 948feac

Please sign in to comment.