Description:
PostgreSQL JDBC Driver
|
|
|
Maven JDBC driver 9.2-1002-jdbc4 - Unsupported major.minor version 51.0 is back
|
| |
Hi,
I've added to my POM the following dependency:
<dependency>
<groupId>org.postgresql</group Id>
<artifactId>postgresql</artifa ctId>
<version>9.2-1002-jdbc4</versi on>
</dependency>
When i try to use the driver i get the following error:
Unsupported major.minor version 51.0
I've read this has already happened in the past and was because the driver was compiled with java 1.7 instead of 1.6.... more »
|
|
Improvements for statement cancellation
|
| |
Hi.
I have a nasty issue which involves WebLogic, pgpool-II and Postgres JDBC.
WebLogic has a habit on calling Statement.cancel() on all cached (by
itself) statements, when closing it's connection pools. It also calls
Statement.cancel() in some other circumstances, as far as I can understand,... more »
|
|
Update on new driver progress
|
| |
Thought I'd give an update for those who are interested. Work has progressed nicely and I have been migrating the original project's unit tests to attempt to reach some level of compatibility between the implementations. Currently about 80% of the unit test have been migrated and only 6 the test are not passing. The failing or erring tests are mostly due to, as yet uncommitted to differences, in the way the drivers work; once permanent decisions are made the driver will be fixed to conform or the test will be updated. Up until now the focus has been on features and conformance but I will be departing from that for a bit to do some performance analysis and enhancement before adding any new features.... more »
|
|
single quotation confusion
|
| |
R10 wrote
...
In short you do not build queries by directly concatenating user-supplied
data. You use a PREPARED STATEMENT with placeholders and then use the
setXXX methods to map the data.
SQL: INSERT INTO test VALUES (?)
Others may be able to provide more concrete suggestions but otherwise find... more »
|
|
Trigger of Transaction
|
| |
Hi everyone! I need your help with this problem.
I'm using PostgreSQL *9.2 Server* & the latest jdbc
driver: postgresql-9.2-1002.jdbc4.jar
I have a many to one relation. I have this piece of code:
con.setAutoCommit(false); //transaction block start
// Make an insert to one table (Vector)... more »
|
|
JDBC Array double precision [] error
|
| |
Hi everyone! I need your help with this problem.
I'm using PostgreSQL 9.2 Server & the latest jdbc
driver: postgresql-9.2-1002.jdbc4.jar
I have a table with this column array:
-- histograma double precision[]
And I want to retrieve this and cast into java to double[] but I can't.
This is the extract of the code:... more »
|
|
JDBC 9.2 DEV not working with Hex bytea output?
|
| |
Hi!
I've downloaded source code for JDBC driver in order to output warnings during development phase of my application (so I can catch triggers messages at client side of the application).
This is the only change I've made (System.out... in addWarning methods - there is two: one for connection, one for statement).... more »
|
|
type cache info fix
|
| |
I found that type cache info wasn't honoring search path. (I had a
UDT type that shared a name with a table).
This fixed it.
diff --git a/org/postgresql/jdbc2/TypeInf oCache.java
b/org/postgresql/jdbc2/TypeInf oCache.java
index 2e79758..2d26fd0 100644
--- a/org/postgresql/jdbc2/TypeInf oCache.java... more »
|
|
Patch: Force Primitives
|
| |
...
By default the binary transfers for receive kick in only after the 3rd execution of a prepared statement. Do you see the binary transfers activating for array receives if you run your prepared statement select in a loop?
The forceBinary option is for unit tests that do not want to repeat every statement 3 times.... more »
|
|
|