Adempiere 3.1.2 + marekmosiewicz , hengsin
This commit is contained in:
parent
0c7b34ddd3
commit
dee6003f14
|
|
@ -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
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue