7 ms·
> The proper way to build a data layer is one query at a time, as a string, with string interpolation. The closer you are to raw JDBC the better. Or use a quer
by catdog 3y ago
> The proper way to build a data layer is one query at a time, as a string, with string interpolation. The closer you are to raw JDBC the better.
Or use a query builder if a good one exists for your language, e.g. jOOQ for the JVM. After suffering through years of Hibernate I could not have been happier.