Entity inheritance models in Hibernate 4
Last time we have taken a look at mapping entity relations to the database. Now it is time to focus on the main object-orinented relation: inheritance.
Last time we have taken a look at mapping entity relations to the database. Now it is time to focus on the main object-orinented relation: inheritance.
In the last, introductory article I mentioned the so-called “XML-Hell” which is the massive usage of XML to do Hibernate configuration. In this article, I will introduce the annotation-based configuration, where you can use Hibernate’s annotations on the entities to…
An introduction to Hibernate 4 In this article I will show you how can you use Hibernate 4, along with a simple example application available to try out what you read about.
grep command is used to display lines matching with given pattern. grep has 3 different variants available.
JavaScript’s Operators Operators are used for JavaScript’s arithmetic, comparison, logical, assignment expressions and more. Most operators are represented by punctuation characters such as + and =, some, however, are represented by keyword such as delete and instanceof.
A programming language’s lexical structure specifies set of some basic rules about how a code should be written in it. Rules like what variable names looks like, the delimiter characters for comments, and how one program statement is separated from…
JavaScript, the programming language of the web, is mainly a client-side scripting language, mostly used as a part of modern web browsers. It is high-level, dynamic, and multi-paradigm in nature, supporting object–oriented, imperative and functional programming styles.
Have you ever wanted to clean up your code? Remove unused imports or variables? Eclipse provides this feature, all you have to do is to create a profile !! Here’s how it’s done.
You must have heard about the Singleton Design Pattern in Java. One of the most common question in Interviews. So here I will discuss Singleton pattern and try to resolve all queries you might have for Singleton pattern.
In this topic we will learn how to calculate difference between two dates in java in terms of Second/ Minutes / Hours / Days. By Using java class. In next section we will use Java api(JODA) to perform the same…