All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.java.ao.DefaultSchemaConfiguration Maven / Gradle / Ivy

Go to download

This is the core library for Active Objects. It is generic and can be embedded in any environment. As such it is generic and won't contain all connection pooling, etc.

There is a newer version: 6.1.1
Show newest version
package net.java.ao;

/**
 * Default implementation of {@link net.java.ao.SchemaConfiguration} that doesn't have any constraints regarding the
 * database schema.
 */
public class DefaultSchemaConfiguration implements SchemaConfiguration {
    /**
     * Always returns {@code true}
     *
     * @param tableName     the name of the table to be managed (or not)
     * @param caseSensitive whether or not the case of the table name should be taken in account
     * @return {@code true}
     */
    public boolean shouldManageTable(String tableName, boolean caseSensitive) {
        return true;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy