Working with stateless session in hibernate and jpa
This post was originally published on this siteWhen doing heavy read-only operations in with the database it can be a good idea to take advantage of using Hibernate’s Stateless Session As it name indicates this session does not keep state of the entities that it…
Hadoop HDFS maximum number of files
This post was originally published on this siteJust a short blog about HDFS directory file and memory limits. I’ve recently faced an issue with Hive with the following error message org.apache.hadoop.ipc.RemoteException: The directory item limit of /tmp/hive/hive is exceeded: limit=1048576 items=1048576 The parameter which caused…
ODC Appreciation Day: Cursor Variables
This post was originally published on this siteYou know everything is Tim Halls fault, right? Including this blog post? Oh yes it is, he came up with the idea of OTN ODC Appreciation Day – a day where Oracle Bloggers all over the world show their…
Integrate haproxy service in MapR Control System
This post was originally published on this siteIf you would like to create your own MapR Service under the control of warden here’s an example based on a haproxy configuration how to achieve this. The method should work for any other service as well create…
Serving angular2 content from Spring Boot application
This post was originally published on this siteRecently I had to ship an Angular2/Angular4 application within a Spring boot WAR packaged application and I was having some issues when dealing with the the urls in the angular routes, since it goes through the DispatcherServlet I…
Avoiding reinventing the wheel – use MULTISET EXCEPT to get set relative complement
This post was originally published on this site Today in an application I stumbled upon a PL/SQL function created to return those elements of one nested table that did not exist in another nested table. Not a huge function, but still a bit of work…
Partitioning external tables in 12.2
This post was originally published on this siteOne of the new features in Oracle 12.2 is partitioning of external tables – a quite useful feature if you have multiple identical files of data, for example from multiple sources. But how can you partition external files,…
Editable combobox in HTML5 and bootstrap
This post was originally published on this siteCreating an editable combobox in HTML5 Recently while reading the HTML5 specification I found out a new cool feature called datalist element Which basically allows you to create an editable select form element by providing a list of…
Custom converter for Mongodb and Spring Data for BigDecimal type
This post was originally published on this siteRecently I found that MongoDB does not support java’s java.math.BigDecimal as you can read in the official spring data mongodb documentation As it turns out java.math.BigDecimal will be converted to java.lang.String when saved to the database and parsed…