All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.genexus.db.OracleConnectionProvider Maven / Gradle / Ivy

Go to download

Core classes for the runtime used by Java and Android apps generated with GeneXus

There is a newer version: 4.7.3
Show newest version
package com.genexus.db;

import java.sql.DriverManager;
import java.sql.SQLException;

import com.genexus.ModelContext;
import com.genexus.ModelContext;
import com.genexus.db.driver.GXConnection;

public class OracleConnectionProvider implements IConnectionProvider
{
	public GXConnection getConnection(ModelContext context, int remoteHandle, String dataStore, boolean readOnly, boolean sticky) throws SQLException
	{
		return new GXConnection(com.genexus.Application.getConnectionManager((ModelContext) context).getUserInformation(remoteHandle).getNamespace().getDataSource(dataStore),
								DriverManager.getConnection("jdbc:default:connection:"));
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy