Using a Cloud Database connection.

1. Include the maven dependency


2. Create a Cloud Configuration class

public class CloudConfig extends AbstractCloudConfig {

    public DataSource dataSource() {
        return connectionFactory().dataSource();


3. Optionally, create an file

This file should contain information about the DB used in the cloud if different than test/standalone. For example: = org.hibernate.dialect.MySQL5Dialects
Contact Us