create-table & drop-table doesn't honor naming strategy

Description

create-table & drop-table doesn't take the current naming strategy into account.

Environment

None

Activity

Show:

Sean Corfield September 15, 2013 at 9:39 PM

Will be in alpha5

Matt Oquist May 13, 2013 at 2:56 AM

Thanks for the update; looking forward to it!

Sean Corfield May 12, 2013 at 5:20 AM

The replacement is entities and identifiers (as keyword arguments in java.jdbc functions and as macros in java.jdbc.sql). You can see some examples here:

http://clojure.github.io/java.jdbc/doc/clojure/java/jdbc/NameMapping.html

Replacements for create-table / drop-table will be added before beta1. I'm not sure right now how many more alphas we'll have. There's a lot of churn in the code right now and I want it to be feature complete and fairly settled before the first beta.

import May 12, 2013 at 2:51 AM

Comment made by: davidj

Any update on this? I noticed the deprecations while reading the code. Could you say a few words or add a few docs on the 0.3 way of doing naming strategies?

Sean Corfield April 24, 2013 at 5:08 PM

Just to note: the naming strategy stuff, based on dynamically bound globals, is all deprecated in 0.3.0. Alternatives to create-table and drop-table, which respect the new entities function approach, will be provided in an upcoming alpha build of 0.3.0.

Completed

Details

Assignee

Reporter

Priority

Created April 24, 2013 at 2:47 PM
Updated June 1, 2016 at 6:41 PM
Resolved June 1, 2016 at 6:41 PM

Flag notifications