Title: Datasource definitions and the meaning of their location attributes

Hi,

A datasource is defined in Orion's data-sources.xml something like this:

        <data-source
                name="Test"
                class="com.evermind.sql.ConnectionDataSource"
                location="jdbc/Test"
                pooled-location="jdbc/TestPool"
                xa-location="jdbc/xa/TestXA"
                ejb-location="jdbc/TestEJB"
                url="jdbc:oracle:thin:@Test:1521:Test"
                connection-driver="oracle.jdbc.driver.OracleDriver"
        />

Could somebody explain what the different types of location attributes are used for? The Orion docs are rather terse in this regard. I've tried making an entity use one of the other locations for getting it's DataSource and thus Connection but I get various exceptions. The entity only works when it uses the name defined in the plain location attribute.

Thanks,
Gordon

--- Codito, ergo sum - "I code, therefore I am" ---
Gordon Tyler <[EMAIL PROTECTED]>
Abraxas IT Services - Component Based Devleopment
Tel: +27-(0)21-6803412
PGP key available on request or finger [EMAIL PROTECTED]

"Official IT Partner to the Two Oceans Marathon"
http://www.twooceansmarathon.org.za


Reply via email to