SQL
-
Software Development
Don’t Format Dates in SQL. Use the DATE Literal!
I’m seeing people do this all the time. They want to hammer a date or timestamp constant into their SQL…
Read More » -
Software Development
Passing Arrays to a PostgreSQL PL/pgSQL Function
It can be handy to pass a collection of strings to a PL/pgSQL stored function via a PostgreSQL array. This…
Read More » -
Software Development
There is no Such Thing as Object-Relational Impedance Mismatch
Much of the ORM criticism of the last decade missed the point, being inaccurate. By the end of this article,…
Read More » -
Software Development
Divided we Stand: Optional
Our recent article “NULL is Not The Billion Dollar Mistake. A Counter-Rant” got us a lot of reads, controversial comments,…
Read More » -
Enterprise Java
Use stored procedures with Hibernate
This article show different ways to call stored procedures from hibernate. JDBC actions will not be covered. Postgresql will be…
Read More » -
Software Development
Setting PostgreSQL psql Variable Based Upon Query Result
When using PostgreSQL‘s psql command-line tool to interact with a PostgreSQL database via operator interaction or script, it is not…
Read More » -
Software Development
Procedure-Like Functions in PostgreSQL PL/pgSQL
PostgreSQL does not support stored procedures in the sense that a database such as Oracle does, but it does support…
Read More » -
Core Java
Common SQL Clauses and Their Equivalents in Java 8 Streams
Functional programming allows for quasi-declarative programming in a general purpose language. By using powerful fluent APIs like Java 8’s Stream…
Read More » -
Software Development
Mysql versions prior to 5.7 do not fully support two phase commit
While doing some tests for the recently released generic JCA adapter which is capable of binding remote calls to microservices…
Read More »