PostgreSQL, Ubuntu, NetBeans IDE (Part 2)

Posted by Geertjan on Oracle Blogs See other posts from Oracle Blogs or by Geertjan
Published on Sat, 17 Nov 2012 16:33:58 +0000 Indexed on 2012/11/17 17:10 UTC
Read the original article Hit count: 228

Filed under:

Now let's create the start of a CRUD application on the NetBeans Platform, using Hibernate and PostgreSQL to do so. Here's what I see in NetBeans IDE after setting things up as outlined yesterday:


The NetBeans Platform CRUD Tutorial should get you up and started creating the NetBeans Platform application. Open the generated "persistence.xml" in Design mode and then switch the persistence library to Hibernate. The

Here's the application structure:

The Hibernate module that you see above has this content:


Here's the result:

And here's the source code:

http://java.net/projects/nb-api-samples/sources/api-samples/show/versions/7.3/misc/NBPostgreSQL

© Oracle Blogs or respective owner

Related posts about /NetBeans IDE