Initial SessionFactory creation failed.java.lang.NoClassDefFoundError:...
While working with hibernate this error can be faced. This is because absence of ‘hibernate-jpa-2.0-api-x.x.x.Final.jar’ in your classpath. Initial SessionFactory creation...
View ArticleHow to find hibernate version?
How to find hibernate version? 1. By printing out the it from the org.hibernate.Version class. Like below: public class Driver {/*** @param args*/public static void main(String[] args)...
View ArticleUnable to instantiate default tuplizer...
While working with hibernate this error can be faced. This is because absence of ‘javaassist.jar’ in your classpath. Unable to instantiate default tuplizer...
View ArticleHibernate Hello World Example With XML Mapping
This article is about hibernate practical example. Below is an example of hibernate with my sql using hibernate mapping files. Here is the Student bean class with id and name properties. package beans;...
View ArticleHibernate Hello World Example With Annotation
This article is about hibernate practical example. Below is an example of hibernate with my sql using hibernate annotations. Here is the Student bean class with id and name properties with annotations....
View ArticleHow to install hibernate plugin in eclipse?
This article is about how to install hibernate plugin / tools in eclipse. To install hibernate plugin / tools in eclipse one need to follow below steps. Go to help menu in eclipse Install new software...
View ArticleHibernate plugin in eclipse
In previous post I describe about how to hibernate plugin the eclipse.In this post I am detailing about how that plugin will be helpful in development. While creating any new hibernate related file...
View ArticleHow To Call A Java Script From Java Code?
This post is to describe how to call a java script from java code. Below is java file.In which there is a main method.In this main method a script engine instance is taken.This script engine is...
View ArticlePhp code for twitter interaction
Let’s take a look how php code interacts with twitter. 1.) How to get number of twitter followers. fnction get_followers($twitter_id){...
View ArticleHow to install Oracle libraries for PHP5 on Ubuntu Server
An easy way to Connect Apache server (PHP) with Oracle database. Execute following command in terminal to complete installation of oracle OCI8 extension in php.ini. 1) Get Oracle repository from this...
View ArticleHow To Open New Tab For HTML Hyperlink ?
HTML Hyperlink In HTML, hyperlink can be used by using <a> tag. Hyperlink is a group of word which can be clicked and get executed by opening clicked link. Syntax of HTML hyperlink is as below:...
View ArticleEclipse | Hello World Java Project
This article is abut how to start with eclipse hello world java project. Prerequisite: Java must be installed. In eclipse click on File -> New Project -> Java Project (as below) It will open new...
View ArticleAnt | Hello World Ant Project
Apache Ant is an open source, cross-platform based build tool that is used to describe a build process and its dependencies and implemented in XML scripts using Java classes that ensures its...
View ArticleAnt | How To Create Executable Jar ?
In this article I am going to describe about how to create executable jar file using ant file. For this I am using a java project with an ant file. In my previous post I have detailed how to create ant...
View ArticleHow to get default location for code signing keys BlackBerry10
By default, code signing keys for blackberry10 are stored in a default location in your system. The default locations of code signing keys vary based on operating system on your computer. Below is...
View ArticleInitial SessionFactory creation failed.java.lang.NoClassDefFoundError:...
While working with hibernate this error can be faced. This is because absence of ‘hibernate-jpa-2.0-api-x.x.x.Final.jar’ in your classpath. Initial SessionFactory creation...
View ArticleHow to find hibernate version?
How to find hibernate version? 1. By printing out the it from the org.hibernate.Version class. Like below: public class Driver {/*** @param args*/public static void main(String[] args)...
View ArticleUnable to instantiate default tuplizer...
While working with hibernate this error can be faced. This is because absence of ‘javaassist.jar’ in your classpath. Unable to instantiate default tuplizer...
View ArticleHibernate Hello World Example With XML Mapping
This article is about hibernate practical example. Below is an example of hibernate with my sql using hibernate mapping files. Here is the Student bean class with id and name properties. package beans;...
View ArticleHibernate Hello World Example With Annotation
This article is about hibernate practical example. Below is an example of hibernate with my sql using hibernate annotations. Here is the Student bean class with id and name properties with annotations....
View Article