JBoss Community

Re: using Cloudscape/Derby as Datasource

created by Sakari Isoniemi in IronJacamar - View the full discussion

Hello,

 

This problem is solved in my case.

 

The Derby was in separate process (JVM) so in seam-gen databse driver

must be given as 'org.apache.derby.jdbc.ClientDriver' and

hibernate.connection.dataSource_class=org.apache.derby.jdbc.ClientDataSource

 

Now the application works with other tables but not with table Component, because it is reserved for Seam, JSF ?
The name of this table must be changed.

Good articles relatde to JBoss Derby configurations are

http://alistairisrael.wordpress.com/2009/03/31/creating-derby-datasource-in-jboss/
http://www.coderanch.com/t/217343/ORM/java/help-configuring-Jboss-EJB-Derby      
http://beatgates.blogspot.com/2009/04/run-glassfish-v2-ejb3-example-on-jboss.html
http://sites.google.com/site/olivabianco/java-blog/jbossderbyhowtoconfigure

 

Remember this EmbeddedDriver vs. ClientDriver matter.   ( See from Derby docs)

 

 

 

Reply to this message by going to Community

Start a new discussion in IronJacamar at Community