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

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...

Scroll to top