Re: [JDBC] JDBC Pooling driver

2001-04-30 Thread Ned Wolpert

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Don't mean to reply to my own message... but...

Just an additional thought.  Instead of creating a new pooling
technique in PostgreSQL jdbc driver, could we do a specialized select
that would return the 'getInsertedOid()' instead?  (Select
$_gett_inserted_oid) Does that make sense to others?  (Kinda like what
oracle's and other jdbc driver do.)

 Date: Mon, 30 Apr 2001 14:00:32 -0400 (EDT)
 From: Ned Wolpert [EMAIL PROTECTED]
 Folks-
 
   Got a question about using the PostgreSQL JDBC driver with pooling.
 Using 7.1, I noticed the extra functionality with the JDBC driver,
 like getInsertedOid().  I love it, since it helps with sequence
 numbers an integration with Castor.  However, since the PostgreSQL
 JDBC driver doesn't have pooling connections as an option, I use
 PoolMan (or other) to pool connections.  When I do this, I no longer
 have access to these PostgreSQL specific features.  
 
   Is there any plans for adding this functionality into the JDBC
 driver?  Is this something that others are looking for?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Public key at http://www.keyserver.net

iD8DBQE67cjuiysnOdCML0URAmWgAJ46xLa1Qt3g38JatXfPhfZ4kdDvxwCfeu3b
i41kITdbIWdkLXk/8ldZ5Vg=
=/S4b
-END PGP SIGNATURE-


---(end of broadcast)---
TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl



[JDBC] Vectors in 7.1 ResultSets

2001-04-30 Thread Joseph Shraibman

Why do the 7.1 ResultSets use Vectors where they used arrays in 7.0.x? 
Vectors are slower and create more garbage and have the overhead of
synchronization for every method call.  If there is some reason
pre-sized arrays can't be used then ArrayLists should be used instead.



-- 
Joseph Shraibman
[EMAIL PROTECTED]
Increase signal to noise ratio.  http://www.targabot.com

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly