Geertjan’s Blog: PostgreSQL, Ubuntu, NetBeans IDE (Part 2)

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:

via Planet NetBeans


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s