core icon indicating copy to clipboard operation
core copied to clipboard

Change Table Name of Container table

Open jtesser opened this issue 10 years ago • 5 comments

This needs to happen because it is a reserved word in the later versions of Oracle 12.1.. c

  1. Need to alter hibernate
  2. Starter
  3. All SQL references Fix and Maintenance Tasks
  4. Junk like this https://github.com/dotCMS/core/blob/master-3.6/src/com/dotmarketing/portlets/containers/action/ViewContainersAction.java#L75

  • Rename to "dot_containers"
  • We also need an startup task for when moving from prior versions

jtesser avatar Jun 22 '16 20:06 jtesser

A few places where we have container hardcoded

  • [ ] Container.java : 63
  • [ ] ViewContainerAction.java : 75
  • [ ] WebAssetFactory.java 83 ?
  • [ ] ContainerFactory.java : all over

wezell avatar Jun 22 '16 20:06 wezell

https://oracle-base.com/articles/12c/multitenant-startup-and-shutdown-cdb-and-pdb-12cr1

brentgriffin avatar Jun 22 '16 21:06 brentgriffin

https://docs.oracle.com/database/121/NEWFT/chapter12102.htm#NEWFT507

jtesser avatar Jun 23 '16 13:06 jtesser

Pull request: https://github.com/dotCMS/core/pull/9339

nollymar avatar Jul 08 '16 22:07 nollymar

Passed QA. Upgrade from old dotcms version (dotcms_3.3) to dotcms_3.6 using H2, MySQL, MSSQL Server and Oracle is working properly; and containers table name changed to dot_containers.

shaydotcms avatar Jul 22 '16 14:07 shaydotcms