[
https://issues.apache.org/jira/browse/ISIS-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17574258#comment-17574258
]
Andi Huber commented on ISIS-3107:
----------------------------------
So pattern
"if not exists (select 1 from INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME =
'%1$s') exec('create schema %1$s')"
should have done the trick as well ;}
> 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)