Adempiere 3.1.2 + marekmosiewicz , hengsin

This commit is contained in:
vpj-cd 2006-12-07 23:07:46 +00:00
parent 0c7b34ddd3
commit dee6003f14
3 changed files with 1370 additions and 1331 deletions

View File

@ -622,6 +622,7 @@ public class VPaySelect extends CPanel
// //
ff.pack(); ff.pack();
this.setVisible(false); this.setVisible(false);
AEnv.addToWindowManager(ff);
AEnv.showCenterScreen(ff); AEnv.showCenterScreen(ff);
this.dispose(); this.dispose();
} // unlockUI } // unlockUI

File diff suppressed because it is too large Load Diff

View File

@ -894,7 +894,7 @@ public class CConnection implements Serializable
} // isPostgreSQL } // isPostgreSQL
//end //end
/** /**
* Is PostgreSQL DB * Is Fyracle DB
* @return true if PostgreSQL * @return true if PostgreSQL
*/ */
public boolean isFyracle () public boolean isFyracle ()
@ -1224,7 +1224,15 @@ public class CConnection implements Serializable
{ {
try try
{ {
m_db = Database.getDatabase(m_type); for (int i = 0; i < Database.DB_NAMES.length; i++)
{
if (Database.DB_NAMES[i].equals (m_type))
{
m_db = (AdempiereDatabase)Database.DB_CLASSES[i].
newInstance ();
break;
}
}
} }
catch (Exception e) catch (Exception e)
{ {