Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Liquibase configuration | ||
== | ||
#### _Per avviare una istanza di oracle_ | ||
``` | ||
sudo docker run -d --name oracle-xe -p 1521:1521 -v $PWD/initdb:/etc/entrypoint-initdb.d alexeiled/docker-oracle-xe-11g | ||
``` | ||
#### _Cambiare la variabile di ambiente_ | ||
``` | ||
export SIGLA_CONNECTION_URL=jdbc:oracle:thin:@localhost:1521:xe | ||
``` | ||
#### _Dalla directory sigla-ear lanciare il comando_ | ||
``` | ||
mvn wildfly:run | ||
``` | ||
##**Esempi liquibase** | ||
http://www.liquibase.org/quickstart.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
-- CREATE TABLESPACE | ||
CREATE TABLESPACE tbs_01 DATAFILE 'tbs_f2.dbf' SIZE 500M ONLINE; | ||
|
||
-- USER SQL | ||
CREATE USER "PCIR009" identified by dbform | ||
DEFAULT TABLESPACE "TBS_01" | ||
TEMPORARY TABLESPACE "TEMP" | ||
ACCOUNT UNLOCK; | ||
|
||
-- QUOTAS | ||
ALTER USER "PCIR009" QUOTA UNLIMITED ON TBS_01; | ||
|
||
-- ROLES | ||
GRANT CONNECT, RESOURCE TO "PCIR009"; | ||
|
||
-- SYSTEM PRIVILEGES | ||
GRANT CREATE ANY VIEW TO "PCIR009" WITH ADMIN OPTION; | ||
GRANT SELECT ANY DICTIONARY TO "PCIR009"; | ||
GRANT EXECUTE ON DBMS_PIPE TO "PCIR009"; |