Thread: How do I use connection pooling?
How can I use the connection pooling stuff in org.postgresql.xa? The Test.java in that directory doesn't even come close to compiling.
Whoops, as I've not got the javax stuff I didn't think of testing it. For now use:javac org/postgresql/xa/*.java I'll sort out the Makefile today. Peter -- Peter Mount Enterprise Support Maidstone Borough Council Any views stated are my own, and not those of Maidstone Borough Council -----Original Message----- From: Joseph Shraibman [mailto:jks@selectacast.net] Sent: Thursday, July 13, 2000 10:29 PM To: pgsql-interfaces@postgreSQL.org Subject: [INTERFACES] How do I use connection pooling? How can I use the connection pooling stuff in org.postgresql.xa? The Test.java in that directory doesn't even come close to compiling.
I didn't mean the Makefile. I can figure out how to compile java programs. But Test.java, which is supposed to be an example, doesn't compile because it is so wrong. So again, how can I use the connection pooling stuff? Sun's site is no help at all. Peter Mount wrote: > > Whoops, as I've not got the javax stuff I didn't think of testing it. For > now use: > javac org/postgresql/xa/*.java > > I'll sort out the Makefile today. > > Peter > > -- > Peter Mount > Enterprise Support > Maidstone Borough Council > Any views stated are my own, and not those of Maidstone Borough Council > > -----Original Message----- > From: Joseph Shraibman [mailto:jks@selectacast.net] > Sent: Thursday, July 13, 2000 10:29 PM > To: pgsql-interfaces@postgreSQL.org > Subject: [INTERFACES] How do I use connection pooling? > > How can I use the connection pooling stuff in org.postgresql.xa? The > Test.java in that directory doesn't even come close to compiling.
Try checking out the connection pooling in Protomatter (protomatter.sourceforge.net)... very slick... I actually needed to put in a little fix in the Protomatter code to get it to play nice with the Postgres driver... if your interested, lemme know and I'll send it to you. -Tim. -----Original Message----- From: Joseph Shraibman [mailto:jks@selectacast.net] Sent: Friday, July 14, 2000 1:35 PM To: Peter Mount Cc: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] How do I use connection pooling? I didn't mean the Makefile. I can figure out how to compile java programs. But Test.java, which is supposed to be an example, doesn't compile because it is so wrong. So again, how can I use the connection pooling stuff? Sun's site is no help at all. Peter Mount wrote: > > Whoops, as I've not got the javax stuff I didn't think of testing it. For > now use: > javac org/postgresql/xa/*.java > > I'll sort out the Makefile today. > > Peter > > -- > Peter Mount > Enterprise Support > Maidstone Borough Council > Any views stated are my own, and not those of Maidstone Borough Council > > -----Original Message----- > From: Joseph Shraibman [mailto:jks@selectacast.net] > Sent: Thursday, July 13, 2000 10:29 PM > To: pgsql-interfaces@postgreSQL.org > Subject: [INTERFACES] How do I use connection pooling? > > How can I use the connection pooling stuff in org.postgresql.xa? The > Test.java in that directory doesn't even come close to compiling.
I am interested. What is the nature of your fix? "Dwelle, Timothy" wrote: > > Try checking out the connection pooling in Protomatter > (protomatter.sourceforge.net)... very slick... > > I actually needed to put in a little fix in the Protomatter code to get it > to play nice with the Postgres driver... if your interested, lemme know and > I'll send it to you. > > -Tim. > > -----Original Message----- > From: Joseph Shraibman [mailto:jks@selectacast.net] > Sent: Friday, July 14, 2000 1:35 PM > To: Peter Mount > Cc: pgsql-interfaces@postgreSQL.org > Subject: Re: [INTERFACES] How do I use connection pooling? > > I didn't mean the Makefile. I can figure out how to compile java > programs. But Test.java, which is supposed to be an example, doesn't > compile because it is so wrong. > > So again, how can I use the connection pooling stuff? Sun's site is no > help at all. > > Peter Mount wrote: > > > > Whoops, as I've not got the javax stuff I didn't think of testing it. For > > now use: > > javac org/postgresql/xa/*.java > > > > I'll sort out the Makefile today. > > > > Peter > > > > -- > > Peter Mount > > Enterprise Support > > Maidstone Borough Council > > Any views stated are my own, and not those of Maidstone Borough Council > > > > -----Original Message----- > > From: Joseph Shraibman [mailto:jks@selectacast.net] > > Sent: Thursday, July 13, 2000 10:29 PM > > To: pgsql-interfaces@postgreSQL.org > > Subject: [INTERFACES] How do I use connection pooling? > > > > How can I use the connection pooling stuff in org.postgresql.xa? The > > Test.java in that directory doesn't even come close to compiling.
Firstly I'm going to have to readup more on the standard extensions (javax.sql). I'm cc'in assaf as he contributed the code. I can't see what's wrong with Test.java, but without knowing how it should work, it's a difficult one. Peter -- Peter T Mount peter@retep.org.uk, peter@retepdigital.com, me@petermount.com Homepage: http://www.retep.org.uk Contact details @ http://petermount.com PostgreSQL JDBC: http://www.retep.org.uk/postgres/ Java PDF generator: http://www.retep.org.uk/pdf/ ----- Original Message ----- From: Joseph Shraibman <jks@selectacast.net> To: Peter Mount <petermount@it.maidstone.gov.uk> Cc: <pgsql-interfaces@postgreSQL.org> Sent: Friday, July 14, 2000 6:34 PM Subject: Re: [INTERFACES] How do I use connection pooling? > I didn't mean the Makefile. I can figure out how to compile java > programs. But Test.java, which is supposed to be an example, doesn't > compile because it is so wrong. > > So again, how can I use the connection pooling stuff? Sun's site is no > help at all. > > Peter Mount wrote: > > > > Whoops, as I've not got the javax stuff I didn't think of testing it. For > > now use: > > javac org/postgresql/xa/*.java > > > > I'll sort out the Makefile today. > > > > Peter > > > > -- > > Peter Mount > > Enterprise Support > > Maidstone Borough Council > > Any views stated are my own, and not those of Maidstone Borough Council > > > > -----Original Message----- > > From: Joseph Shraibman [mailto:jks@selectacast.net] > > Sent: Thursday, July 13, 2000 10:29 PM > > To: pgsql-interfaces@postgreSQL.org > > Subject: [INTERFACES] How do I use connection pooling? > > > > How can I use the connection pooling stuff in org.postgresql.xa? The > > Test.java in that directory doesn't even come close to compiling.