postgresql « Key « JPA Q&A





1. Hibernate/JPA and PostgreSQL - Primary Key?    stackoverflow.com

I'm trying to implement some basic entities using Hibernate/JPA. Initially the code was deployed on MySQL and was working fine. Now, I'm porting it over to use PostgreSQL. ...

2. Getting Hibernate to generate indexes on foreign keys    stackoverflow.com

I am using Hibernate 3.3.2 in a fairly large project with PostgreSQL 8.4 using the PostgreSQLDialect. The way we have our relationships set up, we end up doing a lot of searching ...

3. Hibernate & postgreSQL with Grails    stackoverflow.com

There is an easy way to set hibernate to use different primary key ids for each table with postgres? I tried to use postgres dialect in DataSource:

dialect = org.hibernate.dialect.PostgreSQLDialect 
or
dialect = net.sf.hibernate.dialect.PostgreSQLDialect
But ...