On Wed, Sep 15, 2010 at 8:57 AM, Torsten Curdt <tcu...@vafer.org> wrote: > IMO the thread showed that there are enough ways to get to that > information today. > I would not bother and call for the vote. > <snip/>
+1 to not bothering for digester 2.1. -Rahul > On Wed, Sep 15, 2010 at 14:54, Simone Tripodi <simone.trip...@gmail.com> > wrote: >> I'm going to call a vote for a new Digester release, shall this new >> stuff be included in the release? >> thanks in advance, >> Simo >> >> http://people.apache.org/~simonetripodi/ >> http://www.99soft.org/ >> >> >> >> On Wed, Sep 15, 2010 at 2:41 PM, Jochen Wiedmann >> <jochen.wiedm...@gmail.com> wrote: >>>> James Carman wrote: >>> >>>> We use a method like this: >>>> >>>> public static String versionOf(Class c) { >>>> final String version = c.getPackage().getImplementationVersion(); >>>> return StringUtils.isEmpty(version) ? "n/a" : version; >>>> } >>>> >>>> So, if you want to know what version of Hibernate you're using, you'd do: >>>> >>>> versionOf(org.hibernate.Session.class); >>> >>> Implementation note: getPackage() must be checked against null. >>> >>> Jochen >>> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org