Table naming issues with HQL console

Created datasource linked it to JPA facet on module, set in settings org.hibernate.cfg.ImprovedNamingStrategy (same as in persistence.xml). Launched HQL console and got bunch of new table in DB with capitalized names. How to configure hql console and persistance support in idea table naming without manual annotating entity classes?

2 comments

Found a way to do this. Each time after opening hql console press properties button and select right naming strategy. If you forget to do it you'll get bunch of new tables.

0

This is fixed.
The "hibernate.ejb.naming_strategy" value is honored if present.

On 31.03.2010 0:15, Konstantin Hvan wrote:

Found a way to do this. Each time after opening hql console press
properties button and select right naming strategy. If you forget to
do it you'll get bunch of new tables.

>

--- Original message URL:
http://www.jetbrains.net/devnet/message/5259823#5259823


0

Please sign in to leave a comment.