Search

Search results

Where can I get a JDBC driver for Postgres?

Java JDBC / database FAQ: Where can I get a JDBC driver for Postgres/Postgresql? Answer: Look here: http://jdbc.postgresql.org/ (driver, jdbc, postgres, postgresql, postgresql) ...

Blog - alvin - Nov 30 2011 - 7:49pm - 0 comments - 0 attachments

Java PreparedStatement - a SQL UPDATE example

... example? Here's a sample method that performs a JDBC SQL UPDATE using a Java PreparedStatement . If you've never used a ... ! Thnxs GREAAAAAAAAAAAAT ! Thnxs (java, java, jdbc, preparedstatement, query, sql, sql update, update) ...

Blog - alvin - Nov 30 2011 - 7:49pm - 1 comment - 0 attachments

Java PreparedStatement - a SQL INSERT example

... ... here you go. Here's the source code for a Java/JDBC PreparedStatement "INSERT" query example: // // A simple Java JDBC PreparedStatement example using a SQL INSERT. // public void ...

Blog - alvin - Nov 30 2011 - 7:49pm - 0 comments - 0 attachments

A Java PreparedStatement example with a SELECT statement and LIKE clause

Here's a quick example of how to use a JDBC PreparedStatement with an SQL SELECT query when accessing a database. ... parameter.   (database, java, jdbc, jdbc, preparedstatement, sql select, statement) ...

Blog - alvin - Nov 30 2011 - 7:49pm - 0 comments - 0 attachments

HSQLDB timestamp - How to specify a default date/time

...   (create, create table, database, hsqldb, jdbc, now, timestamp) ...

Blog - alvin - Nov 30 2011 - 7:49pm - 0 comments - 0 attachments

Java programming best practices - Create interfaces for your Dao classes

... saying is that if you have a Dao object that uses JDBC behind the scenes to access a database (DB2, SQL Server, MySQL, Oracle, ... class, dao, database, functional, interface, java, jdbc, junit, qa, quality, regression, sql, test, testing, unit test, web) ...

Blog - alvin - Aug 29 2011 - 9:02pm - 0 comments - 0 attachments

How I fixed my JDBC MySQL transaction problem

A JDBC MySQL transactions tip: If your transactions aren't working with your ... like this, and rebuilt my database, my JDBC transactions began working as advertised. Of course in ...

Blog - alvin - Jan 14 2011 - 3:48am - 0 comments - 0 attachments

How to get the generated key from a MySQL auto_increment field after an INSERT

... field.   (auto_increment, identity, insert, jdbc, key, mysql, mysql, primary key) ...

Blog - alvin - Aug 6 2011 - 5:26am - 0 comments - 0 attachments