Active Record [Oracle]

18 views
Skip to first unread message

Alan Rodrigues

unread,
Mar 27, 2021, 1:10:13 PM3/27/21
to Castle Project Users

I'm trying to 'Getting Started', but the program is throwing the follow exception:

exception castle oracle.png

The config file:

<?xml version="1.0" encoding="utf-8" ?>
<activerecord>
    <config>
           <add
        key="connection.driver_class"
        value="NHibernate.Driver.OracleClientDriver" />
      <add
        key="dialect"
        value="NHibernate.Dialect.Oracle10gDialect" />
      <add
        key="connection.provider"
        value="NHibernate.Connection.DriverConnectionProvider" />
      <add
        key="connection.connection_string"
        value="Data Source=;User ID=;Password=;" />
      <add
        key="proxyfactory.factory_class"       
value="NHibernate.ByteCode.Castle.ProxyFactoryFactory,NHibernate.ByteCode.Castle" />
    </config>
</activerecord>



Jonathon Rossi

unread,
Mar 27, 2021, 9:50:17 PM3/27/21
to Castle Project Users
That's an NHibernate exception, you'd be best looking at the NHibernate docs on how to use Oracle as those are just passed to NHibernate.

However, more importantly if you aren't aware (since you are using the Getting Started guide), Castle ActiveRecord has been a deprecated/unmaintained project for many years.

--
You received this message because you are subscribed to the Google Groups "Castle Project Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to castle-project-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/castle-project-users/49cbcafc-4364-49cd-8ea3-4478a29cc9cfn%40googlegroups.com.


--
Jono
Reply all
Reply to author
Forward
0 new messages