Re: [BUGS] BUG #6293: JDBC driver performance

2011-11-16 Thread Kris Jurka
On Tue, 15 Nov 2011, Teun Hoogendoorn wrote: > > The following bug has been logged online: > > Bug reference: 6293 > PostgreSQL version: 9.1 > Description:JDBC driver performance > Details: > > Using the postgresql-9.1-901.jdbc3.jar driver instead of > postgresql-9.0-801.jdbc3.j

Re: [BUGS] BUG #6292: java.sql.PreparedStatement.setNull() throws PSQLException

2011-11-16 Thread Kris Jurka
of your if statement. If the valor variable is a String, the JDBC driver is assigning it a string type. You may want to do setObject(1, valor, Types.INTEGER) or convert it prior to doing the setObject call to an appropriate numeric type. Kris Jurka -- Sent via pgsql-bugs mailing list (pgsql-

Re: [BUGS] BUG #6445: PreparedStatement.setObject(1,java.util.String)

2012-02-08 Thread Kris Jurka
ypes.OTHER) to indicate that you don't know that the Java type you are passing is correct. 3) Use the stringtype=unspecified URL parameter to indicate that all String bindings may not really be strings. Kris Jurka -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [BUGS] JDBC Driver can't read UUID from database

2012-06-06 Thread Kris Jurka
esultSet and call getString() on a UUID field, it will certainly work. Mapping the UUID to BLOB or CLOB is incorrect. I'm not sure why your attempt to map it to a String didn't work, but you are not convincing Hibernate to use a plain getString call. Kris Jurka -- Sent via pgsql-bu

Re: [BUGS] JDBC Driver can't read UUID from database

2012-06-11 Thread Kris Jurka
return a UUID object. Kris Jurka -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

Re: [JDBC] [BUGS] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception

2013-01-11 Thread Kris Jurka
cuteBatch%28%29 > > It seems better to report no number at all rather than a number (INT_MAX) that > is known to be wrong. What about Statement.executeUpdate? It has provision for returing a batch execution response code. Kris Jurka -- Sent via pgsql-bugs mailing list (pgsql-bugs@po

Re: [JDBC] [BUGS] BUG #7766: Running a DML statement that affects more than 4 billion rows results in an exception

2013-01-11 Thread Kris Jurka
> INT_MAX while still throwing an exception if we get something that is truly undecipherable? Kris Jurka -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

<    1   2   3