![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
i've two postgres databases. On one the following sql works on the other i got an error. ok, it seems that it has something todo with the used jdbc driver. With version 8.1dev (400) it works. With the current stable version 8.1(407) it fails. As i trcked down the code uses a PreparedStatment SELECT member_id FROM member where Extract( month from ? ) = Extract( month from attribute_44 ) Order by member_id ASC than stmt.setTimeStamp() is called. attribute_44 is a date column. Is this a bug in the jdbc driver? |
#2
| |||
| |||
|
|
i've two postgres databases. On one the following sql works on the other i got an error. ok, it seems that it has something todo with the used jdbc driver. With version 8.1dev (400) it works. With the current stable version 8.1(407) it fails. As i trcked down the code uses a PreparedStatment SELECT member_id FROM member where Extract( month from ? ) = Extract( month from attribute_44 ) Order by member_id ASC than stmt.setTimeStamp() is called. attribute_44 is a date column. Is this a bug in the jdbc driver? |
![]() |
| Thread Tools | |
| Display Modes | |
| |