2 months ago |
Martin van Dinther |
Corrected the returned integer values of Statement methods executeUpdate(...), executeLargeUpdate(...), getUpdateCount() and getLargeUpdateCount() and PreparedStatement methods executeUpdate() and executeLargeUpdate(). They returned -2 for DDL statements, which was not in compliance with the JDBC API documentation.
|
3 months ago |
Sjoerd Mullender |
Spell check.
|
3 months ago |
Joeri van Ruth |
Prefer getters of class Target.Validated over class Target
|
4 months ago |
Martin van Dinther |
Update Copyright year.
|
9 months ago |
Martin van Dinther |
In close() also set clientInfoAttributeNames = null; so it can be gc-ed.
|
9 months ago |
Martin van Dinther |
Add utility method checkMinimumDBVersion(int major, int minor). Will be used in more classes.
|
9 months ago |
Martin van Dinther |
Check for rs == null to prevent NullPoinerExceptions.
|
10 months ago |
Joeri van Ruth |
Older servers don't have clientinfo_properties yet
|
10 months ago |
Joeri van Ruth |
Implement ClientInfo API
|
10 months ago |
Joeri van Ruth |
Send ClientInfo on startup
|
14 months ago |
Joeri van Ruth |
Implement the new schema= option of the jdbc URL
|
14 months ago |
Joeri van Ruth |
Target timezone is in minutes, setTimeZone is in seconds
|
15 months ago |
Martin van Dinther |
Remove not needed/used internal method checkValidProperty()
|
15 months ago |
Martin van Dinther |
Resolve some javadoc errors and warnings
|
15 months ago |
Martin van Dinther |
Move non JDBC API method to the end where the other add methods are placed.
|
16 months ago |
Joeri van Ruth |
Merge 'default' into 'monetdbs'
monetdbs
|
16 months ago |
Joeri van Ruth |
formatting
monetdbs
|
16 months ago |
Joeri van Ruth |
convert space indents to tabs
monetdbs
|
16 months ago |
Joeri van Ruth |
Merge 'default' into 'monetdbs'
monetdbs
|
16 months ago |
Joeri van Ruth |
Move timeZoneSet and sizeHeaderEnabled into Callback
monetdbs
|
16 months ago |
Joeri van Ruth |
Comments and formatting
monetdbs
|
16 months ago |
Sjoerd Mullender |
Update copyright for the new year, move to MonetDB Foundation, add SPDX.
|
16 months ago |
Martin van Dinther |
correct indentation
|
16 months ago |
Joeri van Ruth |
Use intrinsics rather than manual flow control
|
16 months ago |
Joeri van Ruth |
Add interface to MonetConnection for retrieving connection info as Properties
monetdbs
|
17 months ago |
Joeri van Ruth |
TLS seems to work
monetdbs
|
17 months ago |
Joeri van Ruth |
replysize -> replySize
monetdbs
|
17 months ago |
Joeri van Ruth |
Use the new url parser
monetdbs
|
17 months ago |
Joeri van Ruth |
Get rid of MONETURL constant
monetdbs
|
22 months ago |
Martin van Dinther |
Improve the implementation of abort() by using the provided Executor object.
|
22 months ago |
Martin van Dinther |
Corrected implementation of Connection methods getClientInfo() and setClientInfo().
|
2023-03-23 |
Martin van Dinther |
Correct setQueryTimeout(secs) implementation. It was changed to match the web documentation (see https://dev.monetdb.org/hg/monetdb-java/rev/849f99124e32 ) but it appears the web documentation was wrong. So revert the changes made.
|
2023-02-16 |
Martin van Dinther |
In MonetCallableStatement constructor skip calling removeEscapes() when the connected server supports ODBC/JDBC escape sequence syntax.
|
2023-01-19 |
Martin van Dinther |
Small improvements.
|
2023-01-05 |
Martin van Dinther |
Updated Copyright year.
|
2022-12-15 |
Martin van Dinther |
Resolve javac and javadoc warnings when compiled with JDK19.
|
2022-12-15 |
Martin van Dinther |
Resolve javadoc errors.
|
2022-12-14 |
Martin van Dinther |
Correcting a typo in comment
|
2022-12-09 |
Joeri van Ruth |
Fix file transfers
|
2022-12-08 |
Martin van Dinther |
Add method boolean inRawStringsMode() to check if iconnected server is running in raw_strings mode.
|
2022-12-08 |
Martin van Dinther |
Some improvements.
|
2022-12-08 |
Joeri van Ruth |
Fix a problem with PREPARE INSERT
mclreader
|
2022-12-08 |
Joeri van Ruth |
Refactor BufferedMCLReader
|
2022-11-23 |
Martin van Dinther |
Inline isValidProperty() in checkValidProperty() as it is the only place the method is called. Also add javadoc comments.
|
2022-11-23 |
Martin van Dinther |
Eliminate hardcoded value 250 in the constructor of MonetPreparedStatement. For this an internal package method MonetConnection.getDefaultFetchSize() is added.
|
2022-11-17 |
Martin van Dinther |
Add checks for sql String parameter to prevent NullPointerException or executing an empty sql String.
|
2022-11-16 |
Martin van Dinther |
Extend error messages with the linetype to give more info.
|
2022-11-10 |
Martin van Dinther |
Optimise check on existence of specific tables. Instead of doing a query per table name, combine them in one query.
|
2022-11-07 |
Joeri van Ruth |
Fix Xlint warnings
|
2022-10-31 |
Joeri van Ruth |
Do not forget to update the autoCommit bookkeeping
|
2022-10-28 |
Joeri van Ruth |
Refactor Handshake options
|
2022-10-20 |
Martin van Dinther |
Fixes related to adding autocommit=true/false option to jdbc url
|
2022-10-20 |
Martin van Dinther |
Improved implementation of methods ResultSetMetaData.getPrecision() and ResultSetMetaData.getScale().
|
2022-10-11 |
Joeri van Ruth |
Adapt the cacheSize to the actual fetch size instead of using the default fetch size.
|
2022-09-09 |
Joeri van Ruth |
Add autocommit=true/false option to jdbc url
|
2022-09-09 |
Joeri van Ruth |
Demonstrate how to enable the size header
|
2022-09-09 |
Joeri van Ruth |
Refactor HandshakeOptions
|
2022-06-30 |
Martin van Dinther |
Correcting implementation of Statement.setQueryTimeout(int seconds).
|
2022-01-20 |
Martin van Dinther |
Resolve javadoc error and warnings :
|
2022-01-20 |
Martin van Dinther |
Do more cleanup in the close() methods such as calling clearWarnings(), clearParameters(), clearBatch() and dereferencing cached objects.
|
2022-01-19 |
Martin van Dinther |
Some small improvements
|
2022-01-19 |
Joeri van Ruth |
Only close the writer after the loop has finished
|
2022-01-19 |
Joeri van Ruth |
Implement line ending conversion for downloads
|
2022-01-18 |
Joeri van Ruth |
Normalize CRLF on upload
|
2022-01-05 |
Martin van Dinther |
Updated Copyright year.
|
2021-10-14 |
Joeri van Ruth |
Reencode downloads if necessary
onclient
|
2021-10-06 |
Martin van Dinther |
Updated comments. Improved code. Added final keywords
onclient
|
2021-10-04 |
Joeri van Ruth |
Downgrade "neither data nor error" from IOException to error
onclient
|
2021-09-23 |
Joeri van Ruth |
Remove SQLStates from error messages sent upstream
onclient
|
2021-09-22 |
Martin van Dinther |
Small updates
onclient
|
2021-09-22 |
Martin van Dinther |
only comment improvements
onclient
|
2021-09-16 |
Joeri van Ruth |
fixup doc comment fixes
onclient
|
2021-09-16 |
Joeri van Ruth |
Add a cancellation callback to UploadHandler
onclient
|
2021-09-16 |
Joeri van Ruth |
Misc. changes suggested by analysis tool
onclient
|
2021-09-16 |
Joeri van Ruth |
Doc comment fixes
onclient
|
2021-09-16 |
Joeri van Ruth |
Process suggestions from Martin
onclient
|
2021-09-14 |
Joeri van Ruth |
Doc comment improvements
onclient
|
2021-09-14 |
Joeri van Ruth |
Last minute API fix: 'int offset' -> 'long linesToSkip'
onclient
|
2021-09-14 |
Joeri van Ruth |
Never forget to close the download handle
onclient
|
2021-09-02 |
Joeri van Ruth |
Various changes suggested by Martin van Dinther
onclient
|
2021-09-02 |
Joeri van Ruth |
Make the MonetUploadHandler and MonetDownloadHandler interfaces part of MonetConnection
onclient
|
2021-09-02 |
Joeri van Ruth |
Handle case where in.readLine() returns null
onclient
|
2021-09-02 |
Joeri van Ruth |
Move {get/set}{Down/Up}loadHander further down the file
onclient
|
2021-08-27 |
Joeri van Ruth |
Javadoc and some minor changes
onclient
|
2021-08-26 |
Joeri van Ruth |
Add test for uploadFrom methods
onclient
|
2021-08-26 |
Joeri van Ruth |
Allow MonetUploadHandler to configure the chunk size
onclient
|
2021-08-24 |
Joeri van Ruth |
Removing error-flush makes it much better
onclient
|
2021-08-23 |
Joeri van Ruth |
Also implement downloadTo(), and use it in FileTransferHandler
onclient
|
2021-08-23 |
Joeri van Ruth |
More renaming. user registers MonetUploadHandler which is handed an Upload
onclient
|
2021-08-23 |
Joeri van Ruth |
rename insertFakeFlushes to insertFakePrompts
onclient
|
2021-08-19 |
Joeri van Ruth |
add getStream to DownloadHandle
onclient
|
2021-08-19 |
Joeri van Ruth |
Improve flushing around error responses
onclient
|
2021-08-19 |
Joeri van Ruth |
Add stub code for downloading
onclient
|
2021-08-19 |
Joeri van Ruth |
Register upload handler and download handler separately
onclient
|
2021-08-18 |
Joeri van Ruth |
Succesful file uploading
onclient
|
2021-08-17 |
Joeri van Ruth |
Upload fake data when an upload request is received
onclient
|
2021-08-13 |
Joeri van Ruth |
Stub implementation of FILETRANSFER handling
onclient
|
2021-08-13 |
Joeri van Ruth |
Include lineType in error message
onclient
|
2021-08-13 |
Joeri van Ruth |
Refactor LineType to be an enum
onclient
|
2021-08-12 |
Joeri van Ruth |
Introduce temp var for debugging convenience
onclient
|
2021-06-10 |
Martin van Dinther |
Optimise code by reducing local variables which are used only once, replacing complex string concatenation by using StringBuilder, replacing some ternairy operators.
|
2021-06-01 |
Martin van Dinther |
Correct comment, we never released version 2.30. It was 3.0.
|
2021-04-30 |
Martin van Dinther |
Reduce the number of MonetDatabaseMetaData objects created via getMetaData() to maximum 1 per connection as it can be reused.
|
2021-03-04 |
Martin van Dinther |
Correcting typos in documentation text. Also improved the readability of the generated javadoc documents.
|
2021-02-10 |
Martin van Dinther |
Optimise composing the "SET TIME ZONE ..." string by using a StringBuilder. Less String copying.
|
2021-02-10 |
Joeri van Ruth |
default server reply size is 100, not -1
|
2021-02-10 |
Joeri van Ruth |
fetchsize is allowed to be -1
|
2021-02-09 |
Joeri van Ruth |
fix misrenaming
|
2021-02-08 |
Joeri van Ruth |
Add fetchsize to the list of valid client props
|
2021-02-08 |
Joeri van Ruth |
Catch and warn about invalid fetch sizes.
|
2021-02-03 |
Martin van Dinther |
Restructured code (incl removal of duplicate code) for utility functions dq() and sq() which add double or double quotes and add escapes to string values.
|
2021-02-02 |
Joeri van Ruth |
Allow to set fetchsize from the connection url
mapihandshake
|
2021-02-02 |
Joeri van Ruth |
Send reply size and time zone during initial handshake
|
2021-01-20 |
Martin van Dinther |
Improved performance of ResultSetMetaData methods getSchemaName(), getTableName(), getPrecision(), getScale(), isNullable() and isAutoIncrement().
|
2021-01-14 |
Martin van Dinther |
Small improvements: adding some final keywords, removing unnecesary initialisations, improve comments.
|
2021-01-07 |
Martin van Dinther |
Improve code when setting query timeout. It used to call the sys.settimeout(bigint) which is deprecated as of release Jun2020 (11.37.7) and replaced by new sys.setquerytimeout(int).
|
2021-01-07 |
Martin van Dinther |
Optimise code, reduce duplicate code, cache major and minor version nrs of connected database server and max nr of clients so conversion of strings to ints is only done once.
|
2021-01-06 |
Martin van Dinther |
Update Copyright year.
|
2020-11-12 |
Martin van Dinther |
Moved Java classes from packages starting with nl.cwi.monetdb.* to package org.monetdb.*
base
src/main/java/nl/cwi/monetdb/jdbc/MonetConnection.java@d7fa33d323c0
|