Thread: Robust Postgres/JDBC Example Code

Robust Postgres/JDBC Example Code

From
"Iain"
Date:
Hi All,
 
I'm looking for some sample code or other guidance specifically dealing with java/jdbc/postgres, and preferably I'd like to see something that represents a robust, complete or "production-quality" implemention as opposed to the bits and pieces examples that I've come across so far.
 
I'm working on some batch processing code, and currently, I'm just using default settings for everything and am doing very basic exception handling. I've looked at lots of sample code on the Sun site, but I'm lacking any specific guidence on avoiding potential problems when using postgres.
 
The work I'm doing now will set the standards for quite a bit of java development on postgres, so I'd like to get it right first time, if possible. If you can point me to anything you think is helpful, I'd be eternally grateful,
 
regards
Iain