Já procurei no google e não encontrei nada que me ensine a configurar o arquivo persistence.xml para utilizar uma conexão ao BD via socket e não TCP/IP.O código está abaixo alguem poderia me ajudar?
<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_1_0.xsd"
version="1.0">
<persistence-unit name="jpa-hibernate">
<properties>
<property name="hibernate.hbm2ddl.auto" value="nome" />
<property name="hibernate.format_sql" value="true" />
<property name="hibernate.dialect"
value="org.hibernate.dialect.MySQLDialect" />
<property name="hibernate.connection.driver_class"
value="com.mysql.jdbc.Driver"/>
<property name="hibernate.connection.url" value="jdbc:mysql://localhost:3306/jpa_hibernate"/>
<property name="hibernate.connection.username" value="root" />
<property name="hibernate.connection.password" value="" />
</properties>
</persistence-unit>
</persistence>
Estou utilizando Hibernate + JPA,tentei uma requisição via TCP/IP mas a porta 3306 está bloqueada,se alguem puder em ajudar agradeço!!!
Um abraço