Class MicroTxNonXASqlConnectionFactory
java.lang.Object
com.oracle.microtx.springboot.bean.factory.MicroTxNonXASqlConnectionFactory
NonXA Datasource SQl Connection factory class to create the Connection to the database configured with MicroTx
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a connection to the Non Xa database configured with MicroTx
-
Constructor Details
-
MicroTxNonXASqlConnectionFactory
public MicroTxNonXASqlConnectionFactory()
-
-
Method Details
-
connection
@Bean(name="microTxNonXASqlConnection") @Scope("prototype") public Connection connection() throws SQLExceptionGet a connection to the Non Xa database configured with MicroTx- Returns:
- Connection to the database
- Throws:
SQLException
-