public void addDatabaseProperty ( String strKey , String strValue ) { this . setProperty ( strKey , strValue ) ; Environment env = ( Environment ) this . getDatabaseOwner ( ) . getEnvironment ( ) ; if ( env . getCachedDatabaseProperties ( this . getDatabaseName ( true ) ) != null ) // Always if ( env . getCachedDatabaseProperties ( this . getDatabaseName ( true ) ) != Environment . DATABASE_DOESNT_EXIST ) // Always env . getCachedDatabaseProperties ( this . getDatabaseName ( true ) ) . put ( strKey , strValue ) ; }
Add this database property .