[
https://issues.apache.org/jira/browse/ISIS-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17574231#comment-17574231
]
Andi Huber commented on ISIS-3107:
----------------------------------
Java's String.format(...) allows for referencing arguments by index!
https://stackoverflow.com/questions/1915074/understanding-the-in-javas-format-strings
> For JDO, autocreate schema, allow multiple placeholders in string
> -----------------------------------------------------------------
>
> Key: ISIS-3107
> URL: https://issues.apache.org/jira/browse/ISIS-3107
> Project: Isis
> Issue Type: Improvement
> Components: Isis Persistence JDO
> Affects Versions: 2.0.0-M7
> Reporter: Daniel Keir Haywood
> Assignee: Daniel Keir Haywood
> Priority: Trivial
> Fix For: 2.0.0-M8
>
>
> for example, on SQL Server we need to use a string such as:
> if not exists (select 1 from INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME =
> '%s') exec('create schema %s')
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)