I officially hate IBM DB2

Posted by Mike Haller on Tuesday, March 2. 2010 at 16:58 in SQL
Caused by: com.ibm.db2.jcc.a.rm: DB2 SQL Error:
SQLCODE=-104,
SQLSTATE=42601,
SQLERRMC=END-OF-STATEMENT;SELECT 1;,
DRIVER=4.0.100
	at com.ibm.db2.jcc.a.yc.a(yc.java:579)
	at com.ibm.db2.jcc.a.yc.a(yc.java:57)
	at com.ibm.db2.jcc.a.yc.a(yc.java:126)
	at com.ibm.db2.jcc.a.wk.c(wk.java:1909)
	at com.ibm.db2.jcc.a.wk.d(wk.java:1897)
	at com.ibm.db2.jcc.a.wk.a(wk.java:1424)
	at com.ibm.db2.jcc.t4.db.g(db.java:138)
	at com.ibm.db2.jcc.t4.db.a(db.java:38)
	at com.ibm.db2.jcc.t4.t.a(t.java:32)
	at com.ibm.db2.jcc.t4.sb.h(sb.java:141)
	at com.ibm.db2.jcc.a.wk.P(wk.java:1395)
	at com.ibm.db2.jcc.a.wk.a(wk.java:2223)
	at com.ibm.db2.jcc.a.wk.a(wk.java:564)
	at com.ibm.db2.jcc.a.wk.executeQuery(wk.java:548)

Extending SQuirreL with plugins

Posted by Mike Haller on Saturday, March 7. 2009 at 16:33 in Java, SQL
SQuirreL is a 100% pure-Java implementation of a generic SQL client. You can browse and analyse any database which provides a JDBC driver. You can execute any kind of SQL statements. SQuirreL provides a plugin mechanism to hook in additional features. The default installation comes with a lot of plugins, for example MySQL-specific plugins, code completion, data import plugins and more.

Squirrel: I'm watching you!

In this article, I'd like to show you how to write your own plugin for SQuirreL and what you need to do to set up your development environment. I'll implement two features for indexing tables and their content into an Apache Lucene index and to make it searchable using full-text search.

Pagination with Apache iBatis SqlMaps

Posted by Mike Haller on Sunday, November 30. 2008 at 17:37 in Java, SQL
Doing pagination with Apache iBatis SqlMaps is really simple and straightforward. Pagination is when a database connection is queried for a sublist of objects instead for the full list of objects. This is often the case for web application when it's not desirable to display the full contents of a database table to the users all at once. Hence the name pagination: the user can "scroll" through the results using pages. Each page contains a collection of objects and the pages usually are ordered.

Unit testing in Oracle PLSQL

Posted by Mike Haller on Tuesday, March 25. 2008 at 18:48 in SQL
As a Java Developer, I love to develop test-driven. The 21st century is all about testing and delivering quality software. Today, my first Oracle PL/SQL Function Unit Test was born. It's not as ugly as I thought it would be, so i'm sharing my experience with you.

About

My name is Mike Haller and I'm a software developer and architect at Innovations Software Technology in Germany. I love programming, playing games and reading books. I like good food, making photos and learning and mentoring about the craftsmanship of commercial software development.

Quicksearch

Archives