Ver Mensaje Individual
  #24 (permalink)  
Antiguo 10/06/2009, 09:17
emelote
 
Fecha de Ingreso: junio-2009
Mensajes: 1
Antigüedad: 14 años, 11 meses
Puntos: 0
Respuesta: Conectar hibernate con postgreSQL

hola yo tengo puesto esto


<hibernate-configuration>
<session-factory>

<property name="hibernate.dialect">org.hibernate.dialect.Pos tgreSQLDialect</property>
<property name="hibernate.connection.driver_class">org.postg resql.Driver</property>
<property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/ejemplo</property>
<property name="hibernate.show_sql">true</property>
<property name="hibernate.connection.username">nombre</property>
<property name="hibernate.connection.password">pass</property>
<mapping resource="PersonaBean.hbm.xml"/>

</session-factory>

</hibernate-configuration>

espero haber ayudado a alguien