Geek Articles

Categories

 

Subscribe

Daily Updates Subscribe geekarticles update via email Subscribe geekarticles update via RSS

 
GeekArticles Java J2SE

Hibernate Class Generation Using hbm2java

Author: onjava.com | Published: 15th Dec 2005 | Visited: 1281 times | Add Comment
Filed in: J2SE

Hibernate uses mapping files to express the mapping of Java classes to database tables. In a complex project, keeping mappings in sync with your Java code can be burdensome and error-prone. Fortunately, the hbm2java tool can automate this by generating POJO classes from the mapping files. John Ferguson Smart shows how to use hbm2java with Ant and Maven, and how to customize the behavior of the generated classes.

Read Article
 

Sponsored Links

 


Related Articles

 Swing Extreme Testing - The ShowerThread Class The ShowerThread Class Since SaveAsDialog.show() blocks, we cannot call this from our main thread; instead we spawn a new thread. This thread could just be an anonymous inner class in the init()metho ...

 2D Vector Class Wrapper SSE Optimized for Math Operations The article demonstrates a 2D vector wrapper, optimized with SSE intrinsics, for math operations with floating point precis ...

 Validation Across Class Hierarchies and Interface Implementations Dependency injection of validation rules and their application across class Hierarchies and interface Implementat ...

 CWindow (wrapper class for the window API functions) + IuSpy CWindow (wrapper class for the window API functions) + IuSpy(Spy++ ana ...

 Next-Generation Object-Oriented Databases  Object-oriented databases complement relational databases in important ways, says Anat Gafni, VP of Engineering at db4objects, the company behind the open-source object database db4o. In this interview with Artima, Gafni explains how OO databases support agile development, and how they co-exist wit ...

 LINQ TO SQL All Common Operations (Insert,Update,Delete,Get) in ONE BASE Class Base Class to perform all Common LINQ To SQL Operat ...

 CheckBox ComboBox Extending the ComboBox Class and Its Items An article on a CheckBox ComboBox control which extends the ComboBox.It ...

 A class to load and use file associated icons An article about using SHGetFileInfo in C# (simple class and demo are inclu ...

 A New Generation of URL Rewriters ? A URL Rewriter/ Redirector which utilizes new and advanced IIS7 Integrated ASP.NET Pipeline fea ...

 Article :: Core Java Security: Class Loaders, Security Managers, and Encryption Security is a major concern of both the designers and the users of Java technology. Cay S. Horstmann and Gary Cornell describe Java's security mechanis ...



Next: Killer Game Programming in Java: A 3D Checkerboard, Part 2



Post Comment

Name:


Email:
 (Optional. Used for Notification)

Title:

 
Comment:


Validation Code:
 <=>  (Enter this code in text box)





Latest Articles

 

Popular Articles

Sponsored Links