Обсуждение: UpdateableResultSet patch (not finished yet!)
Hello, I have, for some time, now, been working on the updateable resultset class. Please have a look at http://www.miranda.org/~ola/jdbcupr.diff, and let me know what you think. It is only rudimentary at the moment. Things to consider: * Parsing of query. Very hackish at the moment. * Concurrency check. Things that need work: * Documentation * Inserting - nothing done as of yet. * The test case needs to be more elaborate. Ola -- Ola Sundell ola@miranda.org - olas@wiw.org - ola.sundell@personalchemistry.com http://miranda.org/~ola
Your patch has been added to the PostgreSQL unapplied patches list at: http://candle.pha.pa.us/cgi-bin/pgpatches I will try to apply it within the next 48 hours. > Hello, > > I have, for some time, now, been working on the updateable resultset > class. Please have a look at http://www.miranda.org/~ola/jdbcupr.diff, and > let me know what you think. It is only rudimentary at the moment. > > Things to consider: > > * Parsing of query. Very hackish at the moment. > * Concurrency check. > > Things that need work: > * Documentation > * Inserting - nothing done as of yet. > * The test case needs to be more elaborate. > > Ola > > -- > Ola Sundell > ola@miranda.org - olas@wiw.org - ola.sundell@personalchemistry.com > http://miranda.org/~ola > > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Sorry, wrong message. This is not in the patch queue. > Hello, > > I have, for some time, now, been working on the updateable resultset > class. Please have a look at http://www.miranda.org/~ola/jdbcupr.diff, and > let me know what you think. It is only rudimentary at the moment. > > Things to consider: > > * Parsing of query. Very hackish at the moment. > * Concurrency check. > > Things that need work: > * Documentation > * Inserting - nothing done as of yet. > * The test case needs to be more elaborate. > > Ola > > -- > Ola Sundell > ola@miranda.org - olas@wiw.org - ola.sundell@personalchemistry.com > http://miranda.org/~ola > > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Ola, I don't think this logic should be coded into the JDBC driver. Instead I think it makes much more sence to have this logic coded into the backend and then exposed via JDBC and the other interfaces. I know that someone is working on doing the same thing in ODBC. Having the same code done in two or more places is a bad idea. thanks, --Barry Ola Sundell wrote: > Hello, > > I have, for some time, now, been working on the updateable resultset > class. Please have a look at http://www.miranda.org/~ola/jdbcupr.diff, and > let me know what you think. It is only rudimentary at the moment. > > Things to consider: > > * Parsing of query. Very hackish at the moment. > * Concurrency check. > > Things that need work: > * Documentation > * Inserting - nothing done as of yet. > * The test case needs to be more elaborate. > > Ola > >