Hello,
I use Jboss As 6.0.0.Final with EJB 3.0 and my app uses different databases in different droduction servers so i need to configure persistence.xml for each database(dialect for each database),but i am interested in can i avoid configuring dialect in persistence.xml ? in JBoss 4.2.3.GA there was hibernate.properties file in <JBOSS>/server/default/deploy/ejb3.deployer/META-INF but where this configuration in JBoss 6.0.0.Final?
JBOSS_HOME/server/<servername>/deployers/ejb3.deployer/META-INF/jpa-deployers-jboss-beans.xml. Look for the defaultPersistenceProperties in the PersistenceUnitDeployer bean, in that file.