Search code examples
postgresqlxpageslotus-dominolotus

How to write from Xpages to PostgreSql database?


I have to create an Xpage web application which directly inputs data in a PostgreSql database. I've never worked with a PostgreSql database so I have absolutely no idea on how to approach this.

The application will be used through a browser if that matters.

Any help would be highly appreciated.


Solution

  • or, if you do not want to use the extLib for this purpose only, take a look at http://www.eknori.de/2011-07-03/using-mysql-data-in-xpages/ The article describes, how to access MySQL, but you can use the same code even for PstGreSQL with the correct JDBC drive. The article also contains a link to OpenNTF where you can download the full source code.