core-jgi/sqlj/oracle/create.sh

16 lines
477 B
Bash
Raw Normal View History

2006-11-17 10:14:06 +07:00
# Create Oracle SQLJ
# Author + Copyright 1999-2005 Jorg Janke
# $Id: create.sh,v 1.3 2005/06/28 18:55:38 jjanke Exp $
#
# Parameter: <adempiereDBuser>/<adempiereDBpassword>
# unset CLASSPATH=
echo .
echo Load Oracle SQLJ ...
2006-12-02 02:10:57 +07:00
loadjava -user $1@$ADEMPIERE_DB_SERVER/$ADEMPIERE_DB_NAME -verbose -force -resolve $ADEMPIERE_HOME/lib/sqlj.jar
2006-11-17 10:14:06 +07:00
echo .
echo Create Oracle Functions ...
2006-12-02 02:10:57 +07:00
sqlplus $1@$ADEMPIERE_DB_SERVER/$ADEMPIERE_DB_NAME @$ADEMPIERE_HOME/utils/oracle/createSQLJ.sql