Spelling correction in @Jpa
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
This commit is contained in:
parent
b15e7506cc
commit
406974089b
|
@ -157,9 +157,9 @@ public class EntityManagerFactoryExtension
|
||||||
integrationSettings.put( setting.name(), setting.value() );
|
integrationSettings.put( setting.name(), setting.value() );
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( emfAnn.nonStringValueSettingProvider().length > 0 ) {
|
if ( emfAnn.nonStringValueSettingProviders().length > 0 ) {
|
||||||
for ( int i = 0; i < emfAnn.nonStringValueSettingProvider().length; i++ ) {
|
for ( int i = 0; i < emfAnn.nonStringValueSettingProviders().length; i++ ) {
|
||||||
final Class<? extends NonStringValueSettingProvider> _class = emfAnn.nonStringValueSettingProvider()[ i ];
|
final Class<? extends NonStringValueSettingProvider> _class = emfAnn.nonStringValueSettingProviders()[ i ];
|
||||||
try {
|
try {
|
||||||
NonStringValueSettingProvider valueProvider = _class.newInstance();
|
NonStringValueSettingProvider valueProvider = _class.newInstance();
|
||||||
integrationSettings.put( valueProvider.getKey(), valueProvider.getValue() );
|
integrationSettings.put( valueProvider.getKey(), valueProvider.getValue() );
|
||||||
|
|
|
@ -44,7 +44,7 @@ public @interface Jpa {
|
||||||
*/
|
*/
|
||||||
Setting[] integrationSettings() default {};
|
Setting[] integrationSettings() default {};
|
||||||
|
|
||||||
Class<? extends NonStringValueSettingProvider>[] nonStringValueSettingProvider() default {};
|
Class<? extends NonStringValueSettingProvider>[] nonStringValueSettingProviders() default {};
|
||||||
|
|
||||||
String persistenceUnitName() default "test-pu";
|
String persistenceUnitName() default "test-pu";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue