From: Markus KARG <markus@headcrashing.eu>
To: 'List' <pgsql-jdbc@postgresql.org>
Subject: Re: Adding new dependencies for in-core
Date: Tue, 30 Jun 2015 22:22:09 +0200
Message-ID: <014501d0b372$7118f8d0$534aea70$@eu> (raw)
In-Reply-To: <CAB=Je-Eo=ihwhxGZXE=AJZpE0Qviu52t4Avv-d2-3YZLATr0fw@mail.gmail.com>
References: <CAB=Je-GR+Qs85tUsGAD+5UtyTgYPdAvb8NOmThni5heUhOzT+Q@mail.gmail.com>
<011501d0b357$26f1eca0$74d5c5e0$@eu>
<3A641C7E-04D2-4554-8CDC-37A11E0178AB@gmail.com>
<013001d0b35e$253ae9a0$6fb0bce0$@eu>
<0DC27A9D-1556-427B-91FF-4D4FBD1F52E2@gmail.com>
<CAB=Je-Eo=ihwhxGZXE=AJZpE0Qviu52t4Avv-d2-3YZLATr0fw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
I won't say it is over-engineering: I think it is always a good idea to *explicitly* pick a strategy instead of taking one *for granted* just because it comes with the box. For example, at the JCP we discuss the intensive use of the Java Cache API for various endavious exactly like this one. :-)
-----Original Message-----
From: Vladimir Sitnikov [mailto:sitnikov.vladimir@gmail.com]
Sent: Dienstag, 30. Juni 2015 20:14
To: Steven Schlansker; Markus KARG
Cc: List
Subject: Re: [JDBC] Adding new dependencies for in-core
>I'm having trouble believing any end user will replace the caching strategy for prepared statements.
My wild guess is Markus a bit over-engineers _internal_ implementation of the driver.
I think he hints best practices of coding so the driver does not get tied to the single cache implementation.
Markus, did I get you right?
Vladimir
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: markus@headcrashing.eu
Subject: Re: Adding new dependencies for in-core
In-Reply-To: <014501d0b372$7118f8d0$534aea70$@eu>
References: <CAB=Je-GR+Qs85tUsGAD+5UtyTgYPdAvb8NOmThni5heUhOzT+Q@mail.gmail.com> <011501d0b357$26f1eca0$74d5c5e0$@eu> <3A641C7E-04D2-4554-8CDC-37A11E0178AB@gmail.com> <013001d0b35e$253ae9a0$6fb0bce0$@eu> <0DC27A9D-1556-427B-91FF-4D4FBD1F52E2@gmail.com> <CAB=Je-Eo=ihwhxGZXE=AJZpE0Qviu52t4Avv-d2-3YZLATr0fw@mail.gmail.com> <014501d0b372$7118f8d0$534aea70$@eu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox