[nbusers] NetBeans Hibernate mapping postgresql

  • From: "technomage" < >
  • To:
  • Subject: [nbusers] NetBeans Hibernate mapping postgresql
  • Date: Sun, 25 Nov 2012 13:17:35 -0500

Hi all,
I'm using postgresql and trying to generate mapping for my database using 
NetBeans wizard "Hibernate Mapping & POJO from db"
but the wizard always generate id on the table as  
<generator class="assigned" />

the id columns on all the tables are serial (int4 auto increment)
is there anyway to make the mapping wizard to recognized it and map it as 
"sequence" or "identity" ???

and also, for one to many relationships, NetBeans wizard seems to map it as 
Set, is it possible to map it as List instead ?


[nbusers] NetBeans Hibernate mapping postgresql

technomage 11/25/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 25 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20150226.965aeb8). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
Please Confirm