Version 1.0.0 released to Maven Central; new package names

Version 1.0.0 of Hibernate Generic DAO (http://code.google.com/p/hibernate-generic-dao/) was released today. It has a few small bug fixes, but the big changes are the new build and deployment strategy and the new package names.

New Package Name

The root package name has been changed from com.trg to com.googlecode.genericdao. There area couple of considerations in this. First, TRG was a shortcut for The Revere Group, but The Revere Group’s domain is reveregroup.com not trg.com. Secondly, since this is an open source project, it makes sense to decouple it from the company where it originated, especially since none of the active developers work for that firm anymore.

Deployment to Maven Central

With version 1.0.0, the framework is finally available for your projects via the Maven central repository. This means all you have to do is add the dependency tag to your pom.xml–no more need to specify our custom repository. (See http://code.google.com/p/hibernate-generic-dao/wiki/MavenRepo for instructions.) Perhaps more importantly, it means we will be able to easily release snapshot builds from time to time between major releases. This is important when you need the latest bug fixes without waiting for the next major release (which tend to be few and far between). As part of this the whole release process has also been greatly simplified which means those major builds might actually come more often as we can spend more time developing fixes and features and less time messing with building and copying files and documentation around.

New Build Structure

The project used to be composed of about seven different components, each needing to be built separately (unless and IDE was used to build them all at once). The new set-up includes a single parent maven project that builds all of the seven individual components. The components are still available for individual use in other projects that depend on them, but when it comes to building the actual framework itself, it’s now just one command. This, again, will simplify releases, making them more frequent and robust.

Advertisements

About David

IT Consultant at Vodori in Chicago. Do mostly web apps Java and CMS. I love frameworks that make it easy for developers to give their users powerful, streamlined, easy and fun GUIs to do what they need to do. I'm also on LinkedIn http://www.linkedin.com/pub/david-wolverton/9/518/884
This entry was posted in Uncategorized. Bookmark the permalink.

2 Responses to Version 1.0.0 released to Maven Central; new package names

  1. Ricardo says:

    Hi,

    I realy like your generic dao project, but I wil need the lock mode feature. Do you have any snapshot version with this feature?

    Tanks,

    Ricardo

    • dwolvert says:

      We do not. However, you can create your own base GenericDAO interface and implementation that extend GenericDAO and GenericDAOImpl. You can add whatever methods you want to those and then use them as the base for the rest of the DAOs in your project.

      Also, are you referring specifically to http://code.google.com/p/hibernate-generic-dao/issues/detail?id=47 ? If not, please specify exactly what it is you would like to see us add so we can consider it for future releases.

      Thanks.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s