Untitled

 avatar
unknown
plain_text
2 years ago
1.4 kB
5
Indexable
			<datasources>
				<datasource jndi-name="java:jboss/datasources/ExampleDS"
					pool-name="ExampleDS" enabled="true" use-java-context="true"
					statistics-enabled="${wildfly.datasources.statistics-enabled:${wildfly.statistics-enabled:false}}">
					<connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;MODE=${wildfly.h2.compatibility.mode:REGULAR}</connection-url>
					<driver>h2</driver>
					<security>
						<user-name>sa</user-name>
						<password>sa</password>
					</security>
				</datasource>
				<datasource jndi-name="java:jboss/jdbc/Billing"
					pool-name="Billing" statistics-enabled="true">
					<connection-url>jdbc:postgresql://10.210.20.30:32433/Billing</connection-url>
					<driver>postgresql</driver>
					<security>
						<user-name>postgres</user-name>
						<password>PostgresPass123</password>
					</security>
				</datasource>
				<drivers>
					<driver name="h2" module="com.h2database.h2">
						<xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
					</driver>
					<driver name="oracle" module="com.oracle.ojdbc8">
						<driver-class>oracle.jdbc.OracleDriver</driver-class>
					</driver>
					<driver name="postgresql" module="org.postgresql">
						<xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>
					</driver>
				</drivers>
			</datasources>
Editor is loading...
Leave a Comment