Squeryl is very smart, but some time you want to alter a bit of its logic. Here is one of the methods.
Read more…The error "class XXX inherits conflicting members" is almost obvious by the compiler message, but stop just one step short of the full solution.
Read more…It is possible to create a generic class, that would have parts of it aware of the actual class of its type argument. Without reflection and linked in compile time. Here is how.
Read more…Ever seen "Failed to initialize compiler: object scala.runtime in compiler mirror not found." error? Delete a corrupted JAR file.
Read more…Am I using Scala's string interpolation too much?
s"${ph.firstName} ${ph.lastName}${ph.credentials.map(", " + _).getOrElse("")}"
JVM engineers published JMH to Maven recently, it is finally simple to benchmark java code performance
Read more…There is a simple command to remove a prefix in a camelCase formatted string keeping the format correct
Read more…Documentation on the Squeryl site is a bit outdated, so I decided to write a short howto on the topic.
Read more…