> +
> +import java.util.Properties;
> +
> +import org.jclouds.jdbc.config.JdbcBlobStoreContextModule;
> +
> +import com.google.inject.persist.jpa.JpaPersistModule;
> +
> +public class H2JdbcBlobStoreContextModule extends JdbcBlobStoreContextModule
> {
> +
> + private static final String DEFAULT_FILE = "./jclouds-db";
> +
> + protected void configure() {
> + super.configure();
> +
> + Properties properties = new Properties();
> + properties.setProperty("hibernate.connection.url", "jdbc:h2:" +
> DEFAULT_FILE);
Agree. Thinking about it I reworded the comment (and it seems that was *during*
your reply). I don't know if it is possible at the Guice config time, so it is
not a strong requirement.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/193/files#r35515533