jQuery is one of the most popular, if not the most, JavaScript library in use today on the web. It’s been around for a while and web developers have been using it for almost anything from animation to dynamic styling to complex rich user interface applications. I have to be honest, I like jQuery. I’ve...
Author: John Negoita
MySQL backup restore gives “Invalid command” error
Doing the MySQL backup In this short post I would like to share with you a problem I encountered and the solution found while working with the MySQL tool mysqldump. The story is quite simple: doing some maintenance work on one production application server it was standard procedure to make a full MySQL backup before...
Simple Glossy Button CSS Code
Creating a simple glossy button with CSS is quite easy and you only need to know a few CSS tricks. In this post I will show you how to create a glossy button out of an anchor tag using only CSS. At the end of the post you can find the live demo for these...
Hibernate batch insert multiple rows on MySQL
Hibernate batch insert refers to making Hibernate insert multiple records with one query. Some databases support this kind of queries, and some do not. MySQL supports batch inserts, but in order to make Hibernate batch inserts work you need to configure it properly. A batch insert query looks like this: INSERT INTO table (col1, col2)...
Liferay multi-tenancy configuration with shards
Steps to configure a Liferay multi-tenancy environment If you’ve read my previous article Liferay Saas solution – handling multi-tenancy where I describe the principles used to handle a multi-tenancy installation for Liferay, you are probably wondering about the technical details of how to actually configure a Liferay multi-tenancy environment. Well, here is a description of what we...
Liferay Saas solution – handling multi-tenancy
Liferay SAAS Overview While trying to set up an installation of the Liferay Portal (GA 6.0.6) for the company where I currently work there were some requirements that we had to fulfill. The company develops a Liferay Saas solution for supporting various business processes and this has been implemented in the form of portlets deployed...