Grokbase
x

PostgreSQL - JDBC

 Topics | People | Info | Page 1 of 215: 1 2 3 > >>

[JDBC] Fw: java.lang.IndexOutOfBoundsException when commit long transaction

By Luc1fer Hell at Nov 24, 2007, 06:36 am UTC

Hello. I'm trying to implement data replication mechanism base on OpenJPA and WebServices. When I tried to persist about 200000 objects that references each other i have got an error on commit: Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at... More...

Re: [JDBC] AbstractJdbc2Array - another patch

By Heikki Linnakangas at Nov 24, 2007, 06:07 am UTC

There seems to be a lot of unrelated stylistic changes, whitespace changes, renaming of fields etc. in that new file. That makes it hard to see what the problem is that it's fixing, and what was done to fix it. Please make just the changes required to fix the problem, and if you want to propose any... More...

paperclip

[JDBC] ResultSetMetaData getColumnTypeName()

By Marek Lewczuk at Nov 22, 2007, 2:55 pm UTC

Hi, I would like to discuss an issue ResultSetMetaData.getColumnTypeName(). Within current implementation of PostgreSQL JDBC getColumnTypeName() returns only locale name of a type, even if it is a user-defined type. The JDBC docs says: "...returns type name used by the database. If the column type... More...

[JDBC] Recommendations for Java XA toolkit to use with Postgresql

By Mikhail Garber at Nov 21, 2007, 9:45 pm UTC

I need to run distributed transactions against several PG databases. What d= o people recommend as far as the overall solution: which transaction manage= r, container, etc? Jboss, JOTM, BTM, or what? Easy Spring integration pre= ferred. TIA ---------------------------(end of... More...

[JDBC] NULL values in arrays

By Christian Schröder at Nov 21, 2007, 7:50 pm UTC

This is a multi-part message in MIME format. Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Hi list, since PostgreSQL version 8.2 arrays can contain null values. This doesn't seem to be correctly handled by the driver. (I had a look at the latest CVS... More...

[JDBC] XAResource implementation

By hatman at Nov 18, 2007, 11:15 pm UTC

Dear jdbc users, I'm using Hibernate with a standalone JTA implementation (Atomikos) and it seems I'm having troubles with pgsql-jdbc XA implementation. As I'm not a JTA expert at all, I got help from Atomikos R&D (Thanks to Guy) and it seems that my problem could come from jdbc implementation. Guy... More...

[JDBC] How to get the SQL query from a PreparedStatement?

By Andres Olarte at Nov 11, 2007, 5:46 pm UTC

Hi! Is it possible to get the query string (including the formatted parameters) from a PreparedStatement? The idea is to get the query text, to send it into an stored procedure to be executed within the sp (with some other stuff). This is an idea I had to simulate variable parameter lists in stored... More...

[JDBC] gborg -> pgfoundry

By Kris Jurka at Nov 10, 2007, 6:57 pm UTC

Marc has unilaterally decided it's time for gborg to die and taken it down with very little notice. So the CVS repo has been moved over, but all bugs and feature requests have been lost. I'm not sure what's the status of the commit mailing list. Dave, can you add Oliver and I as admins for the... More...

[JDBC] Bug? report : PreparedStatement.setObject(java.util.Date) don't work

By 雨森郷太郎 at Nov 10, 2007, 10:10 am UTC

Hello. I've faced problem similar to http://archives.postgresql.org/pgsql-jdbc/2007-06/msg00070.php Source: package test; import java.sql.*; import java.util.*; public class TestDate{ public static void main(String[] ags){ try{ Class.forName("org.postgresql.Driver"); Connection con =... More...

[JDBC] Schema in URL

By Daniel Campelo at Nov 8, 2007, 3:29 pm UTC

Hy, Is it possible to restrict the access to a certain schema in the JDBC connection url? I'm asking this because i have a problem that when accessing the names of the fields of a view through the Metadata object i get not only the fields that belong to the view i intended to access but also the... More...

Re: [JDBC] Beginning tuning

By Kris Jurka at Nov 7, 2007, 9:24 pm UTC

The ReceiveChar call is waiting for data from the backend. I'm not sure how you're identifying blocked threads, but ReceiveChar is a blocking call underneath the hood. So this just shows that the driver is waiting while queries are executing which is perfectly expected. Kris Jurka... More...

[JDBC] can i get your help?

By 田忠磊 at Nov 7, 2007, 09:51 am UTC

This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C8214A.09E97350 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Hi, I am a develop of java .and I use postgres ,too.but I want to use the command of =A1=B0copy=A1=B1, but the using the... More...

[JDBC] Parsed Query Trees

By Kevin Neufeld at Nov 6, 2007, 04:47 am UTC

Does anyone know if a parsed query tree object is exposed in the jdbc API? I couldn't find any such thing, nor could I find it in the developers roadmap. My particular requirement is that I need to be able to parse / deconstruct an arbitrary SELECT query (which may be overly complicated) and add... More...

[JDBC] storing large arrays of floats

By KeesKling at Nov 2, 2007, 8:56 pm UTC

HI I have to store an array of 50,000 floats in a postgres database. At firts I tried to store it as float[], but that take s to much time for jdbc to convert the data so that it can be stored in the database. Next I tried to store it as byte[] array in a BYTEA column. This worked ok, but when I... More...

[JDBC] JPA and Postgresql

By Robert Wimmer at Nov 1, 2007, 9:29 pm UTC

My question is - what is the MINIMAL configuration for using the JPA features together with postgresql ? More...

[JDBC] Error codes in SQLException

By Christian Rengstl at Oct 30, 2007, 1:38 pm UTC

Hi list, I was just wondering if there is a overview somewhere with the integer values returned by SQLException when calling getErrorCode(). Thanks! Christian Rengstl M.A. Klinik und Poliklinik für Innere Medizin II Kardiologie - Forschung Universitätsklinikum Regensburg B3 1.388... More...

[JDBC] getXXX throws SQLException while on insert row

By Prasanth at Oct 29, 2007, 7:44 pm UTC

Hi, Should the below code throw an SQLException? rs.moveToInsertRow(); rs.updateInt("account_id", 1023); rs.getInt("account_id"); - shouldn't this return 1023 rather than throwing SQLException? Below is the exception: org.postgresql.util.PSQLException: ResultSet not positioned properly, perhaps you... More...

[JDBC] about function overload,a bug?

By cn...@126.com at Oct 29, 2007, 03:29 am UTC

My English is bad. I write two functions with plpgsql: 1. user_chgpasswd(character varying, character varying, timestamp without time zone) Note:content of the function is just "return 0;" 2.user_chgpasswd(character varying, character varying, character varying) Both of them return integer. I... More...

[JDBC] Question about refcursors

By Thomas Kellerer at Oct 27, 2007, 9:26 pm UTC

Hi, I'm trying to add support for refcursors in my JDBC tool and while trying out the examples in the docs I stumbled over something where I'm not sure whether this is intended or simply something which was never thought of. My generic code to call the procedure does basically a prepareCall() (but... More...

[JDBC] High Availability solution

By Thomas Hallgren at Oct 26, 2007, 06:32 am UTC

Hi, I'm involved in developing a web-site using JBoss, Hibernate, and PostgreSQL. We are trying to find a good replication solution that will give us high availability without a single point of failure. We have been looking at Sequoia but their product doesn't seem very mature. What we need must be... More...

spacer
 Topics | People | Info | Page 1 of 215: 1 2 3 > >>
Home > Groups > postgresql.org > PostgreSQL - JDBC