Open-Xchange broken after Update to 7.8.3 Rev5

Today I updated my Open-Xchange instance to the newest version 7.8.3-5. The upgrade worked as normal, except that I had some update-conflicts in the config files, as I adjusted some values in them – but hey, this is unfortunately normal for Open-Xchange. But after the update, I could not log into Open-Xchange because of a “temporary error on the server” (LGI-0003).

weiterlesen…

IntelliJ Error: MissingPropertyException

Today I wanted to do some documentation on a private Java coding project. For this, I decided to use AsciiDoc as this would give me the flexibility to later publish my project e.g. on Github and have the document rendered directly on the project overview page and additionality create some PDFs for the distribution of the program as user documentation. After the first minor changes to my Gradle build-script to generate the PDFs, IntelliJ got me really strange errors when updating the Gradle structure in IntelliJ.

weiterlesen…

How to perform SQL JOINs on a sub-query in Hibernate

Hibernate is a pretty cool ORM framework with lots of features and is probably one of the frameworks, that are used most frequently in Java applications that use a relational database. With the criteria API and the hibernate query language (HQL) it offers both a programmatic and a more SQL-like approach to access data. But unfortunately, both have their limitations and are not as powerful as SQL. In this article, I will show an approach to work around one of this limitations I stumbled upon. weiterlesen…

Faulty (Length-) Validation in JSF

A few days ago, I examined a Java enterprise web application to find out if it would be difficult to extend the internationalization of the application to support japanese. The internationalization of the UI would not have been a problem, as this is done using property-files. The interesting part would be the database, as it is using UTF-8 and the column sizes vary between one and three bytes according to its intended content. weiterlesen…