Lukas Eder, devmio

Lukas Eder

devmio

Saint Gallen, SG, Switzerland

Contact Lukas

Discover and connect with journalists and influencers around the world, save time on email research, monitor the news, and more.

Start free trial

Recent:
  • Unknown
Past:
  • devmio
  • DZone
  • SitePoint

Past articles by Lukas:

Truth first, or why you should mostly implement database first designs

You should implement a “database first” design in your application’s data models, rather than a “Java first” design, to prevent a long road of pain. → Read More

Why SQL bind variables are important for performance

A common problem with dynamic SQL is parsing performance in production. Many developers do not have access to production environments. What is the problem? → Read More

Mocking JDBC Using a Set of SQL String/Result Pairs

It's useful to intercept only a few queries and return hard-coded results to any JDBC based caller regardless if they're using jOOQ, Hibernate, or vanilla JDBC. → Read More

Correct Reflective Access to Interface Default Methods in Java 8, 9, 10

See what happens when we try to access interface default methods across JDK versions, focusing on best practices for JDK 8, 9, and 10. → Read More

Do Not GRANT ALL PRIVILEGES to Your Production Users

Using GRANT ALL PRIVILEGES in MySQL is a simple solution for development environments, but when moving to prod, here is some advice on what not to do. → Read More

The Cost of JDBC Server Roundtrips

Let's examine, with benchmarks throughout, the cost of JDBC server roundtrips. We'll also look at some common mistakes developers make and discuss solutions. → Read More

How to ensure your code works with older JDKs

How can you make sure your code works with older JDKs? In this article, Lukas Eder, Java Champion, gives us the solution to a potentially annoying problem. → Read More

A Common Mistake When Caching Nullable Values

See how Eclipse went slightly wrong in the effort to support Java 9 modules. Let's examine what happens when you try to cache nullable values. → Read More

Using JDK 10’s local variable type inference with jOOQ

What's on deck for JDK 10? Lukas Eder explores some of the new features that are planned for the next Java release, including local variable type inference. → Read More

How to Ensure Your Code Works With Older JDKs

Though Java's backward compatibility is famous, there are still problems when mixing JDK versions. Here we see the challenge of using Java 8 tools with Java 6. → Read More

5 Things You May Not Have Known About jOOQ

Learn how to get the most out of jOOQ by seeing how it uses the Java language for everything from nullability to ordering to iterators in a dynamic SQL mindset. → Read More

Are Java 8 streams truly lazy? Not completely!

It's time to talk about Java 8 streams. In this article, Java champion Lukas Eder explains why you should filter first, map later. → Read More

A Curious Java Language Feature and How it Produced a Subtle Bug

Beware subtyping and its effects on visibility when working with Java. A simple refactor in a big code base can introduce a bug that will cause headaches. → Read More

Don’t Extract Everything Into a Method

Simple code is subjective, and following clean code guidelines can prevent you from using all the tools you have. Here we examine break and continue statements. → Read More

Are Java 8 Streams Truly Lazy? Not Completely!

Is it always the case that streams in Java 8 are evaluated lazily? Check out this article and find a possibly surprising result. → Read More

Sunny with a chance of tweetstorms: 32 opinions about Java

Whether it's about open source, Java, or even the endless debate over stateful design vs. stateless design, Java Champion Lukas Eder has a lot of opinions. → Read More

10 tips on how to be a great programmer

Talent can be important, but common sense is vital. In this article, Java champion Lukas Eder shares his top tips on how to code like a great programmer. → Read More

10 Nice Examples of Writing SQL in Kotlin With jOOQ

jOOQ is where Kotlin can meet the database, enabling functionality like multi-line strings, null safe dereferencing, and local variable type inference. → Read More

Don't Use the String Concatenation Trick in SQL Predicates

If you’re ever thinking about concatenating two fields for a comparison, try again. There's (almost) always a better way. → Read More

How to Calculate Multiple Aggregate Functions in a Single Query

Learn how to calculate multiple aggregate functions in a single query with filtered aggregate functions, the FILTER clause, the PIVOT solution, and more. → Read More