[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 ?

Thanks






[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 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close