> +
> +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);

If I move it to the metadata, how can I inject it to the module? I tried so 
many things to make this work but I just couldn't find a way to do it! :(

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/193/files#r35515364

Reply via email to