me ajudem com esse erro
Quando mando gravar no banco da o seguinte erro
javax.servlet.ServletException: javax.persistence.PersistenceException: [PersistenceUnit: database_pu] Unable to build EntityManagerFactory
javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
meu persistence.xml
[code]
<?xml version="1.0" encoding="UTF-8"?><persistence-unit name="database_pu">
<class>br.com.senac.modelo.Caminhao</class>
<class>br.com.senac.modelo.Carro</class>
<class>br.com.senac.modelo.Marca</class>
<class>br.com.senac.modelo.Modelo</class>
<class>br.com.senac.modelo.Moto</class>
<class>br.com.senac.modelo.Veiculo</class>
<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/>
<property name="hibernate.connection.url" value="jdbc:postgresql://localhost/senauto2410_database"/>
<property name="hibernate.connection.driver_class" value="org.postgresql.Driver"/>
<property name="hibernate.connection.password" value="postgres"/>
<property name="hibernate.connection.username" value="postgres"/>
<property name="hibernate.hbm2ddl.auto" value="update"/>
<property name="hibernate.show_sql" value="true"/>
</properties>
</persistence-unit>
[/code]
ja tenho o senauto2410_database cadastrado no postgres