Re: [hibernate-dev] New metamodel and NamingStrategy

2012-02-21 Thread Steve Ebersole
We discussed this a little in the meeting. There is another, contradictory "requirement" that the sources (org.hibernate.metamodel.spi.sources) be able to report back all logical names. Initially we had decided to try and have sources return null to indicate that the naming strategy should b

Re: [hibernate-dev] New metamodel and NamingStrategy

2012-02-20 Thread Steve Ebersole
Grrr, of course that last line should have read: Essentially replaces NamingStrategy#classToTableName On Fri 17 Feb 2012 01:01:09 PM CST, Steve Ebersole wrote: > As an example to start discussions, here is my first method proposal: > > public interface LogicalNamingStrategy { > /** > * Determin

Re: [hibernate-dev] New metamodel and NamingStrategy

2012-02-17 Thread Steve Ebersole
As an example to start discussions, here is my first method proposal: public interface LogicalNamingStrategy { /** * Determine the logical table name to use for the specified entity in cases where the mapping did * not specify one explicitly. * * @param