eobjects.org MetaModel

MetaModel is a library that encapsulates the differences and enhances the capabilities of different datastores. Rich querying abilities are offered to datastores that do not otherwise support advanced querying and a unified view of the datastore structure is offered through a single model of the schemas, tables, columns and relationships.

Modules in MetaModel

Sounds interesting? Here are two quick steps to get you started

Include MetaModel as a dependency in your project (if you're not using Maven, refer to the download page for alternatives):

<dependency>
    <groupId>org.eobjects.metamodel</groupId>
    <artifactId>MetaModel-full</artifactId>
    <version>2.2.1</version>
</dependency>

Fetch a DataContext object using the DataContextFactory

DataContext dataContext = DataContextFactory.create[Type-of-DataContext](...);
Schema schema = dataContext.getDefaultSchema();
...

The rest of the API should reveal itself through using the DataContext (but don't be affraid to check out the examples and the Javadoc API documentation)!