SLICK, integrating SQL into Scala
Now it’s official – even if version numbers are still preceded by a “zero” major release: SLICK has been publicly announced by Typesafe: http://blog.typesafe.com/introducing-slick...
View ArticleYou never stop learning about Oracle features
Oracle‘s name is no coincidence. It is truly an oracle, telling you mystical, secret things about your database. It may take great expertise and skill to optimally extract that knowledge from this...
View ArticleSerious SQL: A “convex hull” of “correlated tables”
Now THIS is an interesting, and challenging question on the jOOQ user group: https://groups.google.com/d/topic/jooq-user/6TBBLYt9eR8/discussion Say you have a big database with lots of tables and...
View ArticleAlvor: Static SQL analysis in Strings passed to JDBC
I have recently discovered this nice Eclipse plugin here: http://code.google.com/p/alvor/ It evaluates String, StringBuilder, StringBuffer, CharSequence and many other types passed to JDBC method for...
View ArticleHow to get Oracle execution plans with Starts, E-Rows, A-Rows and A-Time columns
This can probably be found elsewhere as well, but here’s a short wrap-up how to get the most out of your execution plans, quickly 1. Be sure the actual rows and time statistics are collected. You can...
View ArticlePublicly available SQL standard documents
For your reference, here is a list of publicly available SQL standard documents. Some are very late draft versions, where the final version is closed source and has to be purchased from ISO or ANSI...
View ArticleElSql, a new external SQL DSL for Java
Stephen Colebourne who is frequently commenting on the lambda-dev and other Java 8 mailing lists, has recently published an idea he has been having for a while: ElSql, a new external SQL DSL for Java....
View ArticleRow value expressions and the NULL predicate
Row value expressions are something very powerful in SQL. They have been around since the early days of standard SQL, e.g. in SQL 1992, even if not all databases implement them correctly, still today....
View ArticleRow value expressions and the BETWEEN predicate
Now this is a simple example of how SQL clause simulation can get nasty if you want to make use of some more advanced SQL clauses that aren’t supported in all databases. Consider the following...
View ArticleA map of all those new NoSQL, NewSQL, post-SQL, structured, unstructured...
So you want to go with the flow and implement your next application on top of some NoSQL, NotJustSQL, NewSQL, AlmostSQL, SQL++, NextGenSQL, and what not, just to be sure not to miss out on some of the...
View ArticleSimulating the SQL standard derived column list
Derived column lists are a fine feature, if your database supports them. The SQL:2008 standard specifies 7.6 <table reference> <table reference> ::= <table factor> | <joined...
View ArticleA Typesafety Comparison of SQL Access APIs
SQL is a very expressive and distinct language. It is one of the few declarative languages which are used by a broad audience in everyday work. As a declarative language, SQL allows to specify what...
View ArticlejOOQ as a PL/Java language
Some people who get in touch with PL/SQL, PL/pgSQL, T-SQL, or any other proprietary procedural language for SQL interaction are probably missing out on a couple of language integration features in the...
View ArticleSQL Query Transformation Fun: Predicates with Row Value Expressions
Recently, I’ve blogged about how well jOOQ’s supported databases implement row value expressions and predicates formed from them. Some sample articles: Row value expressions and the BETWEEN predicate...
View ArticlePinterest and SQL vs. NoSQL
I’ve recently discovered a very interesting read about Pinterest‘s architecture experimentation. One of the key messages is the fact that SQL and NoSQL data storage systems can coexist with each of...
View ArticleA Couple of Reasons Why You Should Use PostgreSQL
Here’s a nice article showing a couple of good reasons why you should consider using PostgreSQL in many of your future projects: http://www.cubrid.org/blog/dev-platform/postgresql-at-a-glance From the...
View ArticleUsing jOOQ with Play Framework
For many users, it may be an obvious choice to use jOOQ along with Play Framework, leveraging simplicity and effectiveness in the Java world. While I do not have any personal experience with Play, some...
View ArticleRedHat and MariaDB
There has been a lot of rumour recently, about RedHat switching from MySQL to MariaDB in RHEL 7. Be careful with these rumours. So far, I have not yet found any official and authoritative statement by...
View ArticleLINQ and Java
LINQ has been quite a successful, but also controversial addition to the .NET ecosystem. Many people are looking for a comparable solution in the Java world. To better understand what a comparable...
View ArticleHigh Complexity and Low Throughput. Reasons for Using an ORM.
I’ve recently stumbled upon an interesting blog post about when to use an ORM. I found it to be well-written and quite objective, specifically with respect to its model complexity and throughput...
View Article