Matt RaibleMatt Raible is a Web Developer and Java Champion. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

[Hibernate] Generating composite-id code using XDoclet

It's been a while since I dug into the guts of XDoclet and Hibernate. Now I'm digging in on my new project to figure out the best way to generate a <composite-id> entry in my .hbm.xml files. If you know something about Hibernate and XDoclet, please read my questions on the Hibernate Forums.

Posted in Java at Nov 24 2003, 12:41:12 PM MST 1 Comment
Comments:

I created a DomainObjCompId class for my DomainObj and added this above the setter: @hibernate.id type="domain.package.DomainObjCompId". XDoclet added the correct <composite-id> tag to the DomainObj.hbm.xml. I believe that you must create the custom compid class. XDoclet checks the type to determine if its a comp id. See: http://xdoclet.sourceforge.net/templates/Hibernate.html#ifHasCompositeId Jason

Posted by Jason Boutwell on November 24, 2003 at 05:13 PM MST #

Post a Comment:
  • HTML Syntax: Allowed