Class DatabaseConnection


  • public class DatabaseConnection
    extends Object
    DatabaseConnection Class Bean class with database connection
    Author:
    Pablo GARCIA - 03/Aug/2017
    • Constructor Detail

      • DatabaseConnection

        public DatabaseConnection​(String connectionType,
                                  DataSource dataSource,
                                  String alias)
        Constructor
        Parameters:
        connectionType - Connection type
        dataSource - DataSource
        alias - DatabaseAlias
    • Method Detail

      • getConnection

        public Connection getConnection()
        Get Connection
        Returns:
        connection
      • getConfigurationBean

        public String getConfigurationBean()