Install WordPress On Ubuntu 16.04 Using LAMP

first install LAMP

References https://www.tecmint.com/install-wordpress-on-ubuntu-16-04-with-lamp/ https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-16-04

Continue reading »

Configure Hibernate With MySQL in Gradle and do CRUD – JPA Persistence Way

Employee.java

resources/META-INF/persistence.xml

EmployeeBL.java

Main.java

References https://github.com/mhdr/HibernateSamples/tree/master/004_Persistent http://docs.jboss.org/hibernate/orm/5.2/quickstart/html_single/#tutorial_jpa https://dzone.com/articles/a-curious-java-language-feature-and-how-it-produce https://www.sitepoint.com/5-reasons-to-use-jpa-hibernate/

Continue reading »

Batch Insert in Hibernate

EmployeeBL.java

References https://docs.jboss.org/hibernate/orm/3.3/reference/en-US/html/batch.html https://github.com/mhdr/HibernateSamples/tree/master/003_BatchInsert

Continue reading »

Configure Hibernate With MySQL in Gradle and do CRUD

build.gradle

Employee.java

resources/hibernate.cfg.xml

ManageEmployee.java

Main.java

References https://github.com/mhdr/HibernateSamples/tree/master/002_CRUD

Continue reading »

Install phpMyAdmin on Ubuntu 16.04

References https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04

Continue reading »

Create an Index using JPA

or

References http://stackoverflow.com/questions/3405229/specifying-an-index-non-unique-key-using-jpa

Continue reading »

Store the result of query into a variable in MySQL

Continue reading »

How to Configure Spring Session with JDBC for MySQL

build.gradle

application.properties

HttpSessionConfig.java

then execute this script on MySQL

References http://docs.spring.io/spring-session/docs/current/reference/html5/#api-jdbcoperationssessionrepository-storage http://stackoverflow.com/questions/37398905/spring-session-with-jdbc-configuration-table-test-spring-session-doesnt-exis

Continue reading »

Install WordPress on Ubuntu

Install Apache

Install MySQL

Install PHP

Create a MySQL Database and User for WordPress

Download WordPress

or

The […]

Continue reading »