1 package org.wamblee.support.persistence;
3 import java.util.Arrays;
6 public class DerbyDatabaseProvider extends AbstractDatabaseProvider {
9 * Capabilities of this type of database.
11 public static final List<String> CAPABILIITIES =
12 Arrays.asList(DatabaseProvider.CAPABILITY_IN_MEMORY, "DERBY");
15 public DerbyDatabaseProvider() {
19 public Database create() {
20 return new DerbyDatabase();
23 public DatabaseDescription getDescription() {
24 return new DatabaseDescription(CAPABILIITIES.toArray(new String[0]),
25 "Derby", "In-memory, volatile, set breakpoint to debug");
29 protected List<String> getCapabilities() {