Opened 14 years ago

Last modified 12 years ago

#427 reopened enhancement

DB setup / if no db specific file exist, use the default

Reported by: fxp Owned by: geonetwork-devel@…
Priority: minor Milestone: v2.10.0 RC0
Component: General Version: v2.6.2
Keywords: Cc:

Description

Objectives : reduce the number of SQL files to maintain (at least for data which are equals for all).

The following files are removed:

D       src/main/webapp/WEB-INF/classes/setup/sql/create/create-db-mckoi.sql
D       src/main/webapp/WEB-INF/classes/setup/sql/data/data-db-postgis.sql
D       src/main/webapp/WEB-INF/classes/setup/sql/data/data-db-mckoi.sql
D       src/main/webapp/WEB-INF/classes/setup/sql/data/data-db-mysql.sql
D       src/main/webapp/WEB-INF/classes/setup/sql/data/data-db-oracle.sql
D       src/main/webapp/WEB-INF/classes/setup/sql/data/data-db-postgres.sql
D       src/main/webapp/WEB-INF/classes/setup/sql/data/data-db-sqlserver.sql

Attachments (1)

use-default-sql.patch (5.8 KB ) - added by fxp 14 years ago.

Download all attachments as: .zip

Change History (5)

by fxp, 14 years ago

Attachment: use-default-sql.patch added

comment:1 by mcr, 14 years ago

Please have a look at

http://trac.osgeo.org/geonetwork/ticket/396

I think there is some relationship between these two tickets

comment:2 by fxp, 14 years ago

Resolution: fixed
Status: newclosed

comment:3 by mcr, 14 years ago

Resolution: fixed
Status: closedreopened

GAST support is broken.

https://geonetwork.svn.sourceforge.net/svnroot/geonetwork/trunk/gast/src/main/java/org/fao/gast/lib/DatabaseLib.java

method loadSqlDataFile(String url)

should use data-db-default.sql

comment:4 by ianwallen, 12 years ago

Milestone: v2.7.0v2.9.0
Note: See TracTickets for help on using tickets.