clone a postgresql database for testing cleanly

Main menu:

Topics

Recent Posts

Blog

 

February 2012
M T W T F S S
« Jan    
 12345
6789101112
13141516171819
20212223242526
272829  

Past Posts

Java/J2EE

JDBC

Other

Archive for the tag "JDBC"

Memo: Avoid Functions in Database Queries

October 21st, 2010 by Scott Selikoff

The 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 [...]

postgresql and jdbc

June 13th, 2010 by Jeanne Boyarsky

In 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 [...]

clone a postgresql database for testing cleanly

March 28th, 2010 by Jeanne Boyarsky

I’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.  [...]


Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 490237024 bytes) in Unknown on line 0