How to automatically backup files and directories in Linux

  • 10 February 2017
  • ADM

How to automatically backup files and directories in Linux using tar to archive and cron jobs.


log4j.properties basic examples

  • 09 February 2017
  • ADM

log4j.properties basic examples. Output to the console and to the file.


How to send emails using JavaMail

  • 08 February 2017
  • ADM

How to send emails using JavaMail. Simple example using a gmail account and proxy settings if needed.


How to reset MySQL / MariaDB Root Password

  • 01 February 2017
  • ADM

How to reset MySQL / MariaDB Root Password. Simple 6 steps to reset the password.


How to generate tables from entities using EclipseLink

  • 15 July 2016
  • ADM

How to generate entities from tables using EclipseLink. Simple example using one-to-one database relationship. @MappedSuperclass example included


How to define one-to-one relationship in MySQL

  • 08 July 2016
  • ADM

How to define one-to-one relationship in MySQL using the foreign key and unique property to limit the row count from the child table