Some rebranding
This commit is contained in:
parent
4ef7cd2bc0
commit
d0f4cae6e6
|
@ -136,7 +136,7 @@ public class JasperViewer extends javax.swing.JFrame {
|
|||
try {
|
||||
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
|
||||
//this is for test only prefer testingby calling org.compiere.report.JaserViewer JDBC_CONNECTION JDBC_USER JDBC_PASS
|
||||
return DriverManager.getConnection("jdbc:oracle:thin:@abalone.lesmuids.com:1521:abalone", "compiere", "compiere");
|
||||
return DriverManager.getConnection("jdbc:oracle:thin:@abalone.lesmuids.com:1521:abalone", "adempiere", "adempiere");
|
||||
} catch (SQLException e) {
|
||||
e.printStackTrace();
|
||||
return null;
|
||||
|
|
|
@ -516,7 +516,7 @@ public class PDFViewerBean extends JPanel {
|
|||
}
|
||||
|
||||
try {
|
||||
tmpFile = File.createTempFile("compiere", ".pdf");
|
||||
tmpFile = File.createTempFile("adempiere", ".pdf");
|
||||
tmpFile.deleteOnExit();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
|
|
|
@ -1,16 +1,20 @@
|
|||
/******************************************************************************
|
||||
* The contents of this file are subject to the Compiere License Version 1.1
|
||||
* ("License"); You may not use this file except in compliance with the License
|
||||
* You may obtain a copy of the License at http://www.compiere.org/license.html
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
|
||||
* the specific language governing rights and limitations under the License.
|
||||
* The Original Code is Compiere ERP & CRM Smart Business Solution. The Initial
|
||||
* Developer of the Original Code is Jorg Janke. Portions created by Jorg Janke
|
||||
* are Copyright (C) 1999-2005 Jorg Janke.
|
||||
* All parts are Copyright (C) 1999-2005 ComPiere, Inc. All Rights Reserved.
|
||||
* Product: Adempiere ERP & CRM Smart Business Solution *
|
||||
* Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* under the terms version 2 of the GNU General Public License as published *
|
||||
* by the Free Software Foundation. This program is distributed in the hope *
|
||||
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
||||
* See the GNU General Public License for more details. *
|
||||
* You should have received a copy of the GNU General Public License along *
|
||||
* with this program; if not, write to the Free Software Foundation, Inc., *
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
|
||||
* For the text or an alternative of this public license, you may reach us *
|
||||
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
|
||||
* or via info@compiere.org or http://www.compiere.org/license.html *
|
||||
* Portions created by Victor Perez are Copyright (C) 1999-2005 e-Evolution,S.C
|
||||
* Contributor(s): Victor Perez
|
||||
* Contributor(s): Victor Perez *
|
||||
*****************************************************************************/
|
||||
package org.compiere.db;
|
||||
|
||||
|
@ -409,22 +413,22 @@ public class DB_PostgreSQL implements AdempiereDatabase
|
|||
if (CMD_CREATE_USER == cmdType)
|
||||
return new String[]
|
||||
{
|
||||
"CREATE USER compiere;",
|
||||
"CREATE USER adempiere;",
|
||||
};
|
||||
//
|
||||
if (CMD_CREATE_DATABASE == cmdType)
|
||||
return new String[]
|
||||
{
|
||||
"CREATE DATABASE compiere OWNER compiere;",
|
||||
"GRANT ALL PRIVILEGES ON compiere TO compiere;" ,
|
||||
"CREATE SCHEMA compiere;",
|
||||
"SET search_path TO compiere;"
|
||||
"CREATE DATABASE adempiere OWNER adempiere;",
|
||||
"GRANT ALL PRIVILEGES ON adempiere TO adempiere;" ,
|
||||
"CREATE SCHEMA adempiere;",
|
||||
"SET search_path TO adempiere;"
|
||||
};
|
||||
//
|
||||
if (CMD_DROP_DATABASE == cmdType)
|
||||
return new String[]
|
||||
{
|
||||
"DROP DATABASE compiere;"
|
||||
"DROP DATABASE adempiere;"
|
||||
};
|
||||
//
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue