Estou recebendo a seguinte mensagem de erro:
org.postgresql.util.PSQLException: FATAL: autentica??o do tipo password falhou para usu?rio "Pedro"
Ja verifiquei e até troquei a senha, o estranho é que ele esta tentando autenticar no user "Pedro",
não deveria ser "postgres"?
segue o meu persistence.xml
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
version="2.0"
xmlns="http://java.sun.com/xml/ns/persistence"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd" >
<persistence-unit name="default" >
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<properties>
<property
name="javax.persistence.jdbc.url"
value="jdbc:postgresql://localhost:5432/automoveis" />
<property
name="javax.persistence.jdbc.username"
value="postgres"/>
<property
name="javax.persistence.jdbc.password"
value="postgres"/>
<property
name="javax.persistence.jdbc.driver"
value="org.postgresql.Driver" />
<property
name="hibernate.dialect"
value="org.hibernate.dialect.PostgreSQLDialect" />
<property
name="hibernate.hbm2dll.auto"
value="update" />
<property
name="hibernate.show_sql"
value="true" />
<property
name="hibernate.format_sql"
value="true" />
</properties>
</persistence-unit>
</persistence>
Grato,