* @return UserDatabaseConnection
* @param prop Connection properties
*/
private UserDatabaseConnection buildUserDatabaseConnection(String connectionName, Properties prop) {
if (prop == null || prop.size() == 0)
throw new CreateConnectionFailureException("Failed to create a database connection: connection properties is null.");
UserDatabaseConnection udc = null;
//now find if it is dataSouce type
if (isDataSourceConnectionContext(prop)) {