If you’re looking for a short, sweet, and simple introduction (or reintroduction) to Hibernate, this is the book you want. Through clear real-world examples, you’ll learn Hibernate and object-relational mapping from the ground up, starting with the basics. Then you’ll dive into the framework’s moving parts to understand how they work in action.
Storing Java objects in relational databases is usually a challenging and complex task for any Java developer, experienced or not. This book, like others in the Just series, delivers a concise, example-driven tutorial for Java beginners. You’ll gain enough knowledge and confidence to start working on real-world projects with Hibernate.
Compare how JDBC and Hibernate work with object persistence
Learn how annotations are used to create Hibernate applications
Understand how to persist and retrieve Java data structures
Focus on the fundamentals of associations and their mappings
Delve into advanced concepts such as caching, inheritance, and types
Walk through the Hibernate Query Language API, with examples
Develop Java Persistence API applications, using Hibernate as the provider
Work hands-on with code snippets to understand the technology
Madhusudhan Konda is an experienced Java consultant working in London, primarily with investment banks and financial organizations. Having worked in enterprise and core Java for the last 12 years, his interests lie in distributed, multi-threaded, n-tier scalable, and extensible architectures. He is experienced in designing and developing high-frequency and low-latency application architectures. He enjoys writing technical papers and is interested in mentoring.
The animal on the cover of Just Hibernate is a garden dormouse (Eliomys quercinus), a rodent in the dormouse family. Garden dormice grow to about 3.9–5.9 in (10–15 cm) in length not counting the tail, which can add up to 3–5.7 in (8–14.5 cm). They weigh from 2–5 oz (60–140 g). Their outer coat is gray brown and they have a white underside. The garden dormouse is recognizable by its black eye markings, large ears, short hair, and white tassel at the end of its tail.Garden dormice mostly live in the forest, despite the name, found throughout southern Europe—the Alps, the Bavarian Forest, and the Ore Mountains. The species can also be found in small quantities in northern Germany and is nearly extinct in the Netherlands, where in 2007, researchers reported finding only nine dormice in two woods in Limburg where species used to be common.The species is nocturnal and sleeps in spherical nests in trees during the day. They hunt for food at night, feeding mostly on large insects like grasshoppers and beetles, snails, eggs, small rodents, spiders, and vegetation such as berries, fruit, and nuts. They consume slightly more animal protein than vegetation.Garden dormice mate from April to June. The female squeaks loudly, indicating she is ready to mate. During mating season, it is not unusual for a dormouse to eat a rival in the mating process. There is also occasional cannibalism noted when dormice are coming out of hibernation. Gestation periods are about 23 days, and young are born in litters of 3 to 7. Another 18 days after birth, the young open their eyes and are nursed until they are one month old. At two months, they are independent, and within a year after birth, they are sexually mature. A garden dormouse usually lives up to five years.The cover image is from Lydekker's Royal Natural History. The cover fonts are URW Typewriter and Guardian Sans. The text font is Adobe Minion Pro; the heading font is Adobe Myriad Condensed; and the code font is Dalton Maag's Ubuntu Mono.