Eclipse’s Awesome Block Selection Mode

This post is about an awesome Eclipse feature, that is completely underestimated and hidden in the menu. Yet, it is so useful in so many situations. The awesome "Block Selection Mode" which can be toggled through Alt-Shift-A on Windows. Here's an example challenge for the Block Selection Mode: Is there any way I can write … Continue reading Eclipse’s Awesome Block Selection Mode

jOOQ Newsletter October 10, 2013

Subscribe to this newsletter here. jOOQ 3.2 Released After a bit of time, jOOQ 3.2 has finally been released. This interesting release mainly includes two new SPIs (Service Provider Interfaces), which allow for: Injecting pre and post CRUD operation behaviour, which is useful for global ID generators. Injecting behaviour into the SQL rendering lifecycle allowing … Continue reading jOOQ Newsletter October 10, 2013

jOOQ™ 3.2 Offering Commercial Licensing and Support

Four years ago, the Java database middleware market was dominated by a variety of ORMs implementing JPA. This paradigm was hardly challenged by alternatives. There was a gap for an API making SQL a first-class citizen in the Java language ecosystem and jOOQ had come to fill this gap. With jOOQ, developers who engage heavily … Continue reading jOOQ™ 3.2 Offering Commercial Licensing and Support

SQL Trick: row_number() is to SELECT what dense_rank() is to SELECT DISTINCT

The SQL:2003 standard ranking functions are awesome companions and useful tools every now and then. The ones that are supported in almost all databases are: ROW_NUMBER(): This one generates a new row number for every row, regardless of duplicates within a partition. RANK(): This one generates a new row number for every distinct row, leaving gaps … Continue reading SQL Trick: row_number() is to SELECT what dense_rank() is to SELECT DISTINCT

Java Auto-Unboxing Gotcha. Beware!

What do you think that the following code snippet will print? Object o = true ? new Integer(1) : new Double(2.0); System.out.println(o); Yes! It will print: 1.0 What? 1.0? But I have assigned an Integer to my o variable. Why does it print 1.0? It turns out that there is a subtle little specification section … Continue reading Java Auto-Unboxing Gotcha. Beware!

On MongoDB’s Success. Or Do Not Let Cynicism Kill Your Spirit

Success is a strange beast. On the bright side and true to entrepreneurial spirit, people admire those who are obviously successful. In the theory of our mostly capitalist societey, successful people worked hard for their success, and thus deserve it. In practice, there may be other mechanisms of success than working hard, but that's another story … Continue reading On MongoDB’s Success. Or Do Not Let Cynicism Kill Your Spirit

The Premature Return to SQL

In online communities, the NoSQL topic (much like the ORM topic) is a guarantee to stir emotions. Many emotions are stirred by evangelists on either side for ideological or marketing reasons. Here's an interesting post by Alex Popescu, a passionate NoSQL and polyglot persistence evangelist, claiming that the recent trend to return to SQL is … Continue reading The Premature Return to SQL

This Beats Everything: Koding in the Cloud

OK, now this beats everything I've seen so far. I can now code in the cloud with Koding.com. From a first, very quick glance, I get: A VM with a terminal (looks like a Debian distribution) PHP and all sorts of stuff that is already installed An app store for apps like PostgreSQL or MySQL … Continue reading This Beats Everything: Koding in the Cloud

Will Another Play-Style Framework Make its Way to Java?

I've just discovered the Ninja Web Framework. This one isn't "yet another framework", it's actually heavily based on the very popular Play Framework ideas. It seems to provide a substitute for the latter, since Zenexity and Typesafe have formed an alliance to further support Play primarily in the Scala ecosystem. Some people may feel that this … Continue reading Will Another Play-Style Framework Make its Way to Java?

Why do We Need RDBMS?

There was this recent Quora question about why we need RDBMS: Why not just use text files? What can RDBMS do that a simple text file cannot? Or, why not use several different text files to represent different tables? Heh. Let's challenge that through a witty comparison (also given as an answer to the above … Continue reading Why do We Need RDBMS?