As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hi, Â We've been using Derby in "production" for some time. Â Our use case is a fully contained application with DB baked in, we have experience with Derby and it seems more mature / suitable than H2 (flame suit on). Â Here's our configuration. Â We map "Apache Derby" and "derby" to the DB2 schema, then mess with the DB2 specific settings. Â Not terribly happy with the second part, because it will mess up an actually DB2 install, but our app does not support DB2, so it didn't matter.
Would really love to see official Derby support for Activiti!
-dan
  SpringProcessEngineConfiguration configuration = new SpringProcessEngineConfiguration() {   {    databaseTypeMappings.put("Apache Derby", DATABASE_TYPE_DB2);    databaseTypeMappings.put("derby", DATABASE_TYPE_DB2);    // Derby helps, override DB2 settings    DbSqlSessionFactory.databaseSpecificLimitBeforeStatements.put("db2", "");    DbSqlSessionFactory.databaseSpecificLimitAfterStatements.put("db2", "OFFSET #{firstResult} ROWS FETCH NEXT #{maxResults} ROWS ONLY");    DbSqlSessionFactory.databaseSpecificLimitBetweenStatements.put("db2", "");    DbSqlSessionFactory.databaseOuterJoinLimitBetweenStatements.put("db2", "");    DbSqlSessionFactory.databaseSpecificOrderByStatements.put("db2", "");    DbSqlSessionFactory.databaseSpecificLimitBeforeNativeQueryStatements.put("db2", null);   }  };