Meta Data

Schema details

Database meta information, so for example details about each table or column, are being read by DataBaseTarget during every initialization.

Those information are available though getMetaData() method.

The method brings a target, which may be used for queries.

So that you may query over the database schema:

Above example prints all varchar type columns and orders them by name.

MetaSpecifics are useful to control the schema.

You may find the specific columns inside, you may also check, whether the schema is still complaint with the current model were generated, you may also compare two schemas and find the differences.


The code to basic validation between database schema and generated Daobab classes:

© Copyright 2018-2023 Elephant Software Klaudiusz Wojtkowiak 
e-mail: contact@daobab.io