Tag Archives: annotations

Hibernate Naming Strategies

Using Hibernate annotations with the default naming strategy leaves you with camelCasedColumnNames in your database schema. Gavin King provided a good camelCase to underscore_separated naming strategy with org.hibernate.cfg.ImprovedNamingStrategy. The only glitch I found was in foreign key references. I’ve always … Continue reading

Posted in Technical HOWTOs | Tagged , , | Leave a comment