Thread: jdbc notification
I looked at the jdbc source and it doesn't look like there's currently much of a way to get at the notification information. I notice it is read & stored in variables, but this information is not stored anywhere. I assume it is because JDBC does not support it. Is there any way to utilize postgresql notification with the JDBC driver?
On Mon, 20 Jul 1998, Brett McCormick wrote: > I looked at the jdbc source and it doesn't look like there's currently > much of a way to get at the notification information. I notice it is > read & stored in variables, but this information is not stored > anywhere. I assume it is because JDBC does not support it. Is there > any way to utilize postgresql notification with the JDBC driver? The development version of the driver for 6.4 does include methods to get at these variables (they are needed for the object serialization code). Notification shouldn't be too difficult to add, even though it isn't true JDBC. -- Peter Mount (at work) peter@taer.maidstone.gov.uk or peter@maidstone.gov.uk If you mail me here, please cc my home address peter@retep.org.uk
On Tue, 21 July 1998, at 13:28:37, Peter T Mount wrote: > The development version of the driver for 6.4 does include methods to get > at these variables (they are needed for the object serialization code). > > Notification shouldn't be too difficult to add, even though it isn't true > JDBC. Is the development version of the driver available? I'd be interested in getting at these variables, but I'm not much of a java programmer at this point.
On Tue, 21 Jul 1998, Brett McCormick wrote: > On Tue, 21 July 1998, at 13:28:37, Peter T Mount wrote: > > > The development version of the driver for 6.4 does include methods to get > > at these variables (they are needed for the object serialization code). > > > > Notification shouldn't be too difficult to add, even though it isn't true > > JDBC. > > Is the development version of the driver available? I'd be interested > in getting at these variables, but I'm not much of a java programmer > at this point. It should be in the current snapshot on ftp.postgresql.org but be careful - development should be read unstable - some of the new code is not working properly yet. I havent done much since I posted it a couple of weeks ago due to high workload (again) & illness, but it should work. -- Peter T Mount peter@retep.org.uk or petermount@earthling.net Main Homepage: http://www.retep.org.uk ************ Someday I may rebuild this signature completely ;-) ************ Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk