Lists: | pgsql-jdbc |
---|
From: | henk de wit <henk53602(at)hotmail(dot)com> |
---|---|
To: | <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | JDBC 4 support |
Date: | 2011-02-15 09:44:39 |
Message-ID: | COL104-W36007E635E6D2D0C542931F5D30@phx.gbl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-jdbc |
Since I'm using Java 6, I normally download the JDBC4 PG driver. Last night I upgraded to JBoss AS 6, and when I used the JDBC 4 driver it crashed with an exception stating something like Connection#createBlob wasn't implemented. Apparently the internal Hibernate tries to call this method.
The download page[1] still lists JDBC 4 support as "limited" saying that "the several of the new methods are stubbed out". This is a step up from last year when it said "the majority". But still, it's hard to believe that this is really still the case. How far off is complete JDBC 4 support?
1] http://jdbc.postgresql.org/download.html
From: | Lukas Eder <lukas(dot)eder(at)gmail(dot)com> |
---|---|
To: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: JDBC 4 support |
Date: | 2011-02-16 09:39:07 |
Message-ID: | ccd58270-883f-40b8-8316-26fc925888f7@1g2000yqq.googlegroups.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-jdbc |
On Feb 15, 10:44 am, henk53(dot)(dot)(dot)(at)hotmail(dot)com (henk de wit) wrote:
> Since I'm using Java 6, I normally download the JDBC4 PG driver. Last night I upgraded to JBoss AS 6, and when I used the JDBC 4 driver it crashed with an exception stating something like Connection#createBlob wasn't implemented. Apparently the internal Hibernate tries to call this method.
> The download page[1] still lists JDBC 4 support as "limited" saying that "the several of the new methods are stubbed out". This is a step up from last year when it said "the majority". But still, it's hard to believe that this is really still the case. How far off is complete JDBC 4 support?
> 1]http://jdbc.postgresql.org/download.html
I'm curious about this as well, as I think that many advanced RDBMS
features, such as UDT's rely on this standard...
From: | Mike Fowler <mike(at)mlfowler(dot)com> |
---|---|
To: | Lukas Eder <lukas(dot)eder(at)gmail(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: JDBC 4 support |
Date: | 2011-02-16 10:27:47 |
Message-ID: | 4D5BA6A3.3080202@mlfowler.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-jdbc |
On 16/02/11 09:39, Lukas Eder wrote:
> On Feb 15, 10:44 am, henk53(dot)(dot)(dot)(at)hotmail(dot)com (henk de wit) wrote:
>> Since I'm using Java 6, I normally download the JDBC4 PG driver. Last night I upgraded to JBoss AS 6, and when I used the JDBC 4 driver it crashed with an exception stating something like Connection#createBlob wasn't implemented. Apparently the internal Hibernate tries to call this method.
>> The download page[1] still lists JDBC 4 support as "limited" saying that "the several of the new methods are stubbed out". This is a step up from last year when it said "the majority". But still, it's hard to believe that this is really still the case. How far off is complete JDBC 4 support?
>> 1]http://jdbc.postgresql.org/download.html
> I'm curious about this as well, as I think that many advanced RDBMS
> features, such as UDT's rely on this standard...
I've just done a grep of the source and found there's quite a number of
unimplemented methods (see attached), not just constrained to JDBC4.
Perhaps it would be worth adding these to the todo list on
http://jdbc.postgresql.org/todo.html? It might draw more developers by
making it known there is lots to do, certainly I will look to lend a
hand now that I know what's not done!
--
Mike Fowler
Registered Linux user: 379787
Attachment | Content-Type | Size |
---|---|---|
unimplemented.txt | text/plain | 25.3 KB |