[hibernate-dev] <meta/> and HBMBinder

Max Rydahl Andersen max.andersen at redhat.com
Mon Oct 18 07:43:07 EDT 2010


It's used to allow injecting global meta tags when generating code via hibernate tools.

Depending on how hibernate 4 refactoring goes we might not need it anymore...i.e. since hibernate tools would need a rewrite anyway ;0)

/max


On Oct 16, 2010, at 21:25, Steve Ebersole wrote:

> HBMBinder.bindRoot excepts a java.util.Map parameters called 'inheritedMetas'.  
> Thing is, that parameter is really useless.  That method is called from a 
> single place in the Hibernate Core code and that value is defined as 
> CollectionHelper.EMPTY_MAP in said caller.
> 
> So either this code changed in such a way that this parameter was no longer 
> needed but never removed, or another project uses it differently.  Do we need 
> this passed in still? 
> 
> ---
> Steve Ebersole <steve at hibernate.org>
> http://hibernate.org
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev





More information about the hibernate-dev mailing list