This is a re-send after the dev mailing list subscription:

 

Hi,

Using this conf file:

 

<database name="myDb engine="oracle">

    <data-source class-name="oracle.jdbc.pool.OracleConnectionCacheImpl" >

     <params URL="" user="user” password="pwd”

            minLimit="5" maxLimit="10" cache-scheme="1" />

    </data-source>

    <mapping href="" />

</database>

 

I get a NullPointerException indicating that the pool is not active when I insert a row through this set of instructions:

 

jdo = new JDO("myDb");

            db.begin();

            db.create(row);

            db.commit();

            db.close();

 

If a change something about the sintax (i.e. minLimit -> min-limit) I get a parsing exception

 

Obviously without using the pooling it works

 

Please, anyone can tell me where is the error?

Thanks

 

Marco

 

 

 

 

 

 

 

 

====================================================================
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please contact us by
replying to [EMAIL PROTECTED] Thank you
====================================================================

Reply via email to