Loading...

Blog

A Journey of a Thousand Miles Begins with a Single Step

Constructor expressions in JPQL

In JPA it is possible to create directly a new object from JPQL SELECT statement, instead of fetching the result list and mapping the attributes. The JPA supports the constructor expressions for that.

Read more

Query abstract entities

This post demonstrates a part of inheritance with JPA 2. Abstract entities (classes) can be used to query their concrete subclasses.

Read more

uptime - tell how long the system has been running

uptime gives a one line display of the following information. The current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.

Read more

Copy text from IntelliJ in another theme

IntelliJ allows you to use the Darcula theme, that is in some case better, e.g. coding on a notebook to save power. It may be the taste, that this theme is desired. If you copy and paste code from IntelliJ it will be formatted with the Darcula theme. If you want a printer friendly theme, you can set the option for copying, to use another theme like Default.

Read more

Convert to correct base in Kibana 4

To convert bits to bytes (the base value) in Kibana 4, the usage of scripted fields is possible. Have also a look at

Read more

Arrays vs Lists

A great article explaining the concept of arrays and lists, the advantages and field of use. From the same guy that explains other grokking algorithms very well on http://adit.io./.

Read more