0
I have this file to perform oracle database persistence. However do not connect!
<?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="app_crud_cliente">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<class>br.com.model.ClienteModel</class>
<properties>
<property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver" />
<property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost/bd_cliente" />
<property name="javax.persistence.jdbc.user" value="DBA" />
<property name="javax.persistence.jdbc.password" value="DBA" />
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5InnoDBDialect" />
</properties>
</persistence-unit>
</persistence>
Your connection url, driver and Hibernate dialect refer to Mysql. Here’s a link that can help you: http://www.guj.com.br/t/resolvido-configuracao-arquivo-persistence-xml-oracle/295362
– Andre Gusmao
how to install oracle jdbc ?
– alexjosesilva