O'Reilly logo

NetBeans IDE 8 Cookbook by Rhawi Dantas, David Salter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Connecting to PostgreSQL

PostgreSQL is a cross-platform object-relational database system that, like MySQL, is also open source and free. It is supported and used by a consortium of companies such as Red Hat, Skype, and HP. As with MySQL, PostgreSQL features a GUI for management activities—pgAdmin.

Setting up PostgreSQL with NetBeans is not as straightforward as with MySQL, but NetBeans still comes with the appropriate JDBC driver, so don't worry, it's still not rocket science.

Getting ready

For this recipe, we will be using PostgreSQL version 9.3.2 and pgAdmin III.

Installation and configuration of PostgreSQL and components onto the operating system is beyond the scope of this recipe. What will be learned here is how to configure PostgreSQL with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required