Is there a means by which to configure Hibernate Dialect Based on jta-data-source?
问题 Assuming an ejb-jar with the following persistence.xml configuration: <?xml version="1.0" encoding="UTF-8"?> <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" version="2.0"> <persistence-unit name="com.mystrotv.mdn.admanager.entity"> <jta-data-source>/dataSource/MystroDS_Tx</jta-data-source> <properties>