-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Where is the "short name" configuration reference?
PostPosted: Tue Dec 29, 2015 10:00 am 
Newbie

Joined: Fri Aug 01, 2014 5:54 am
Posts: 13
Location: Brazil
the Hibernate 5.0 Migration Guide says:

Quote:
Short-naming

In an effort to insulate applications from refactoring efforts, Hibernate has begun to recognize "short name" values for certain configuration settings. These are discussed in detail in the User Guide in the pertinent sections.


Where are they discussed? I can't find anything in the user guide.


Top
 Profile  
 
 Post subject: Re: Where is the "short name" configuration reference?
PostPosted: Tue Dec 29, 2015 10:46 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
I'm actually working on the new User Guide as we speak and the only sections I could found are these ones:

Quote:
Typically, the value of this parameter would just name the
implementation class to use. For the three out-of-the-box
implementations, however, there are three corresponding short names:
"jta", "thread", and "managed".


also for naming strategies:

Quote:
The default ImplicitNamingStrategy (hibernate.implicit_naming_strategy) has changed to the JPA-compliant one. Additionally I added some short-names for the Hibernate-provided implementations.

"default" → org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl

"jpa" → org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl

"legacy-jpa" → org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl

"legacy-hbm" → org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyHbmImpl

"component-path" → org.hibernate.boot.model.naming.ImplicitNamingStrategyComponentPathImpl


If there's more, I'll have to keep this in mind and add a reference in the appropriate section.


Top
 Profile  
 
 Post subject: Re: Where is the "short name" configuration reference?
PostPosted: Tue Dec 29, 2015 11:09 am 
Newbie

Joined: Fri Aug 01, 2014 5:54 am
Posts: 13
Location: Brazil
This section is already updated: Table 5.1. Provided Dialects

They are already in short form.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.