Geek Articles

Categories

 

Subscribe

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

 
GeekArticles Java J2SE

Don't Let Hibernate Steal Your Identity

Author: onjava.com | Published: 14th Sep 2006 | Visited: 333 times | Add Comment
Filed in: J2SE

Hibernate has one set of ideas about how to make something unique, such as using a database sequence number as an ID. But this clashes with Java's need for implementations of equals() and hashCode() that determine identity for objects, even those that haven't yet made a trip to the database and thus can't have a sequence number. James Brundege has an option that should satisfy both Hibernate and Java.

Read Article
 

Sponsored Links

 


Related Articles

 Sun Technical Specialist on Identity and OpenSSO Extensions Paul Bryan talks with Marina Sum about his background in identity development, the history and future of Sun Java System Access Manager, OpenID, the subproject OpenSSO Extensions, and the solutions for phish ...

 Federated Identity Through the Eyes of the Deployer What identity-related challenges do application deployers face? What questions must you ponder before adopting a standardized solution? Find the answers, along with tips and guidelines, in this artic ...

 From the Trenches at Sun Identity, Part 1: Access Management for Web Applications In this interview, Jamie Nelson, Sun's director of engineering for access and federation management, points out a major oversight in Web development, elaborates on the current state of single sign-on, and suggests the right tool and the right platform for securing application acc ...

 From the Trenches at Sun Identity, Part 2: OpenSSO, a Thriving Community Sun federation architect Pat Patterson reflects on OpenSSO, Sun's open-source project for single sign-on, outlining its mission, adoption, challenges, future, and an unexpected boon to Sun. OpenSSO is a twin of Sun Java System Access Mana ...

 Add a 'Dont show this dialog again' CheckBox with minimal effort A control to let the user select to never see a dialog ag ...

 Project Options dont work QC#: 57335 Version: 11.2 Status: Closed defect, no action required Resolution: Bug could not be reproduced as submitted Description: New clean install, no previous install on new machine. HP notebook Core 2 duo + 2GB RAM, Vista Business. Attached: - ...

 Securing Applications With Identity Services, Part 2: Authorization Learn how to configure OpenSSO with identity services so as to allow users to perform tasks for which they have been authorized. Identity services are interfaces that support authentication, authorization, and other related services with SOAP or REST technology. Also read Part 1, which describes how ...

 Article :: The Future of Identity David Chisnall looks at the growing problem of identity theft and wonders whether the Internet can give us some ideas for addressing ...

 Securing Applications With Identity Services, Part 1: Authentication By configuring OpenSSO, Sun's open-source project for Sun Java System Access Manager, you can authenticate users with identity-service interfaces that support SOAP/WSDL and REST. This article describes the procedure through an example application built with the NetBeans I ...

 The Java EE Application as an EJB/Spring/Hibernate Hybrid Java EE 5 provides all the features you need to build a robust enterprise application right in an EJB 3.0 container, but incorporating the relative strengths of Spring and Hibernate can further improve the productivity and quality of your applicat ...



Next: Separation of Concerns in Web Service Implementations



Post Comment

Name:


Email:
 (Optional. Used for Notification)

Title:

 
Comment:


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





Latest Articles

 

Popular Articles

Sponsored Links