Howdy all - 

I need to integrate some pre-existing DB connection pooling code into
Castor. Ideally, I'd like to be able to specify something like the following
in the database mapping file:

<database name="dev1" engine="oracle" type="pool">
    <pool provider = "database.pool.class.name.Here"/>
    <mapping href="user.xml" />        
    <mapping href="permissions.xml" />
    <mapping href="group_roles.xml" />
</database>

I'm thinking the following things would need to happen:

1) Define a common database pool interface (to eliminate the use of
reflection to locate the alloc/free methods on the pool object)

2) Enhance the existing XML configuration parsing code to understand the
change

3) Modify TransactionContextImpl to use the pool class.

I think I can do #1 and #3, but I'm running into problems figuring out
how/where the XML configuration file is parsed. Can someone shed some light
on this?

Thanks,
Kevin

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to