Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "dialect
helps hibernate to generate database specific SQL statements."
A block of code is set as follows:
<hibernate-mapping> <class="Employee" table="employee"> <id name="id" type="long" column="id"> <generator class="increment" /> </id> <property column="firstName" name="firstName" /> <property column="salary" name="salary" /> </class> </hibernate-mapping>
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
@AuditTable(value="emp_history")
public class Employee {
// other fields and setters/getters
}
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.