Пример #1
0
 {
   _currentDBDef = DBDef.codeOf("h2");
   if (_currentDBDef == null) {
     _currentDBDef = DBDef.Unknown;
   }
 }
Пример #2
0
 /**
  * Is the current DB specified DB?
  *
  * @param currentDBDef The DB definition of current DB. (NullAllowed: if null, returns false)
  * @return The determination, true or false.
  */
 public boolean isCurrentDBDef(DBDef currentDBDef) {
   return _currentDBDef.equals(currentDBDef);
 }