Prabhakar reddy Komatreddy [
https://community.jboss.org/people/prabhakar.komatreddy]
created the discussion
"How to configure ehcache provider in jboss 7 datasource?"
To view the discussion, visit:
https://community.jboss.org/message/764297#764297
--------------------------------------------------------------
Hello,
In my application, i am using hibernate, mysql, ehcache.
hibernate.cfg.xml
-------------------------
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"
http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd
http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="connection.driver_class">oracle.jdbc.driver.OracleDriver
</property>
<property
name="connection.url">jdbc:oracle:thin:@www.java4s.com:1521:XE</property>
<property name="connection.username">system</property>
<property name="connection.password">admin</property>
<property
name="cache.provider_class">org.hibernate.cache.EhCacheProvider</property>
<property
name="dialect">org.hibernate.dialect.OracleDialect</property>
<property name="show_sql">true</property>
<property name="hbm2ddl.auto">update</property>
<mapping resource="Product.hbm.xml"></mapping>
</session-factory>
</hibernate-configuration>
Is it possible to configure application related stuff in jboss datasource?
I would like to configure ehcache provider details in jboss datasource in standalone.xml
file.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/764297#764297]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]