Archive for the tag "JDBC"
Memo: Avoid Functions in Database Queries
October 21st, 2010 by Scott SelikoffThe most common type of questions in the JavaRanch JDBC forum tends to be about improving performance in a database (that, and “Where can I download a JDBC Driver?”). While remote trouble-shooting performance issues can be tricky, we often spot issues with the presented queries and offer alternatives to improve performance. One issue I see [...]
Posted: 21 October, 2010 in Database, JDBC.
Tags: Database, function, functions, index, javaranch, JDBC, mysql, queries, query
Comments: 2
postgresql and jdbc
June 13th, 2010 by Jeanne BoyarskyIn postgresql – selecting maximum for each group, we saw the actual stored function. That was the easy part. Then there was dealing with Postgresql and JDBC. I encountered a few surprises while doing this. Calling the stored function I expected to use JDBC’s CallableStatement since I was calling a stored procedure. Nope. The proper [...]
Posted: 13 June, 2010 in Database, JavaRanch, JDBC.
Tags: JDBC, postgresql
Comments: 1
clone a postgresql database for testing cleanly
March 28th, 2010 by Jeanne BoyarskyI’m looking at writing integration tests for the back end of JavaRanch‘s JForum install. A few “pesky” requirements/constraints Multiple developers all over the word have their own local test databases filled with data in different states. The tests must work for everyone. Ideally they won’t leave data floating around either. The tests must use PostgreSQL. [...]
Posted: 28 March, 2010 in JavaRanch, JDBC.
Tags: Database, JDBC, jforum, postgresql
Comments: 4
