Posts Under ''

HOW TO Subversion+Apache on Fedora

HOW TO Subversion+Apache on Fedora To learn or use Subversion, please read the book. To install subversion run below commands: Then you need to setup at least one repository to test it. Here create the folders.. repos – will contain all the projects users – will contain all the user configs permissions – will contain […]

Read more »

how to find the last insert id in java+mysql?

JDBC 3.0 (MySQL has a JDBC 3 compliant driver) method as such: Statement stat = dbConn.createStatement(); Stat.executeUpdate("Some insert statement here"); ResultSet rs = stat.getGeneratedKeys(); Int insertedKeyValue = rs.getInt(1); Rs.close(); Stat.close();

Read more »