Hibernate – @MappedSuperclass How to override column identifier
In this tutorial I will show how to override an attribute from mapped super class. 1. Sql Script Use the following Sql Script for creating table. create table User( ID int(10) primary key NOT NULL...
View ArticleGet URL Parameter Using Javascript
It is sometimes required to get the query parameters of an URL in JavaScript. So following example demonstrates how to get parameter value from a URL. Source Code <!DOCTYPE html> <html>...
View ArticleNext and Previous Links for same Category in WordPress
I created a category and call it “WordPress”. Then I created some posts and assign “WordPress” as category for the posts. Now I want the next/previous to be shown for the same category only. WordPress...
View ArticleSpring + Hibernate + MySql + Maven Example
In this tutorial, I will show you how to integrate Hibernate with Spring 3. Tools and technologies used : Hibernate Spring MySql Maven Eclipse First create a new Dynamic Web Project and configure it...
View ArticleSpring + Log4j + Maven Example
In this tutorial, I will show you how to integrate Spring 3 with Log4j. Tools and technologies used : Spring Log4j Maven Eclipse Following example demonstrates a simple Hello World web application...
View ArticleJDBC Introduction
The Java Database Connectivity (JDBC) API is the industry standard for database-independent connectivity between the Java programming language and a wide range of databases SQL databases and other...
View ArticleLimit WordPress Search To Post Titles
In this article, you will see how to limit your wordpress search to post titles only. WordPress version WordPress 3.5 Source Code $search .= “{$searchand}(($wpdb -> posts.post_title LIKE...
View ArticleLogback Logging Example
In this article, you will see very basic logging using Logback. First create a new Java Project and configure it as Maven Project. For Reference, Click Here Add the following dependencies in pom.xml...
View ArticleInstalling MySql Workbench in Fedora
In this article, you will see how to install and launch Mysql Workbench in Fedora 18 1. Change root user su – OR sudo -i 2. Install Remi repository ** Remi Dependency on Fedora 18 **rpm -Uvh...
View ArticleHow to change Java Version in Linux?
In this article, you will see how to change default java version to latest version.Check the current version used on your system. [root@localhost /]# java -version Example Output java version...
View Article