Should we actually make Connection a TemplateProcessor?

Jim Laskey james.laskey at oracle.com
Fri Sep 15 15:00:11 UTC 2023


I’ve been tinkering with just such an implementation. Here are a few issues that I’m sussing out:

- compound templates (partial templates)
- identifier vs string
- lists of identifiers, strings and values
      - list separators (comma, or, and)
- lack of meta data for some platforms
- odd ball data types (blobs)

There are others but these are the ones I’m starting with. There are lots of options to play with; format specification, DSL, new data types.

I’ll be looking for input from the experts leading to a JEP at some point, but haven’t worked out the forum as yet. Stay tuned.

Cheers,

— Jim




📱

On Sep 15, 2023, at 11:31 AM, Ethan McCue <ethan at mccue.dev> wrote:

strategy.

The reason I think this isn't an obvious yes and ask that last question is this.

Say this is some user's code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20230915/8d9ebee9/attachment-0001.htm>


More information about the core-libs-dev mailing list