| Constructor and Description | 
|---|
| KeylessValidator() | 
| Modifier and Type | Method and Description | 
|---|---|
| static List<String> | findErrors(Connection connection,
          KeylessDaoDescriptor daoDescriptor) | 
| static void | validate(Connection connection,
        KeylessDaoDescriptor daoDescriptor)Calling this method will attempt to check to make sure that certain basics of the
  Daodefinition correctly match the database schema. | 
public static void validate(Connection connection, KeylessDaoDescriptor daoDescriptor)
Dao definition correctly match the database schema. The following will
 be checked.
 Dao has a PrimaryKey definedIf a problem is found, an HrormException will be thrown
 describing the issue.
This is no substitute for testing.
connection - A connection to the database with the schema for the passed DaoDescriptordaoDescriptor - The definition of the Dao to be checkedHrormException - if a problem is discoveredpublic static List<String> findErrors(Connection connection, KeylessDaoDescriptor daoDescriptor)
Copyright © 2019. All rights reserved.