public class EnumMappingTableService extends Object
EnumMappingTable
enums.
Basing on the settings it implements two-side correspondence between java
enum classes and database table representations.
EnumMappingTableService
uses JULI Logger
for logging.
Level.INFO
will log both successful modification of java enum or
database table representations basing on EnumMapping
.
Level.WARNING
will log errors encountered during modification of
java enum or database table representations. It will also log the
inconsistency between java enum and database table representations that one
must treat accordingly, best of which should be to rewrite the java code or
modify the database tables in a way that such warnings are not generated and
the application will have one-to-one correspondence between java enum and
database table representations right from the start.
EnumMapping
,
EnumMappingTable
Constructor and Description |
---|
EnumMappingTableService() |
@PostConstruct public void init()
Copyright © 2015–2021 OmniFaces. All rights reserved.