data-sources.xml

来自「相当板扎,采用贝叶斯公式的垃圾邮件过滤程序」· XML 代码 · 共 31 行

XML
31
字号
<?xml version="1.0" standalone='yes'?>
<!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources-9_04.dtd">

<data-sources>
	<!--
		An example/default DataSource that uses
		Oracle JDBC-driver to create the connections. 
		This tag creates all the needed kinds
		of data-sources, transactional, pooled and EJB-aware sources.
		The source generally used in application code is the "EJB"
		one - it provides transactional safety and connection
		pooling. Oracle thin driver could be used as well,
		like below.
		url="jdbc:oracle:thin:@host:port:sid"
	-->

	<data-source
		class="com.evermind.sql.DriverManagerDataSource"
		name="OracleDS"
		location="jdbc/OracleCoreDS"
		xa-location="jdbc/xa/OracleXADS"
		ejb-location="jdbc/OracleDS"
		connection-driver="oracle.jdbc.driver.OracleDriver"
		username="$db_user"
		password="$db_passwd"
		url="jdbc:oracle:thin:@$db_host:$db_port:$db_sid"
		inactivity-timeout="30"
	/>

</data-sources>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?