creating your own SessionFactoryFactory won't work due to it referencing 
bundle.configure(Configuration configuration) is being called which is a 
protected method on the bundle.

On Friday, November 29, 2013 at 6:46:45 PM UTC-5, Mihai Cazacu wrote:
>
> Hi,
>
> I'm trying to specify in configuration file a naming strategy for my DB 
> model (that prefers embedded underscores to mixed case names):
>
> database:
>>   driverClass: org.h2.Driver
>>   user: sa
>>   password: sa
>>   url: jdbc:h2:target/example
>>   properties:
>>     hibernate.hbm2ddl.auto: create-drop  
>
>     hibernate.ejb.naming_strategy: org.hibernate.cfg.ImprovedNamingStrategy
>
>
> without success. Camel case field name:
>
> @Column
>> Long fullName
>
>
> is generated as a column name 'FULLNAME'.
>
> Am I missing something in order to make this to work?
>
> Thanks,
> Mihai
>
>
>
>  
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to