should id add something here


  
     <bean id="orsmon"
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
        <property name="driverClassName" value="oracle.jdbc.OracleDriver"/>
        <property name="url" value="jdbc:oracle:thin:@localhost:1521:xe"/>
        <property name="username" value="smon"/>
        <property name="password" value="smon"/>
    </bean>
    
i add the jar file to the classphath , it works fine for mysql but bugs for
oracle

the error that i got

 Property 'driverClassName' threw exception; nested exception is
java.lang.IllegalStateException: Could not load JDBC driver class
[oracle.jdbc.OracleDriver]



--
View this message in context: 
http://camel.465427.n5.nabble.com/what-s-wrong-with-oracle-configuration-tp5732673.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to