Skip to content

Allow to cache database metadata #25

Open
@ksafonov

Description

@ksafonov

At the moment com.qwazr.jdbc.cache.CachedConnection.getMetaData() delegates to underlying connection, so Hibernate makes a bunch of SHOW FULL TABLES / SHOW FULL COLUMNS (and some other) requests when validating database as part of creating entity manager factory.

[While this can be disabled via "hibernate.hbm2ddl.auto=none"] It would be convenient if cache driver could also save database metadata in cache so we could get closer to completely "pre-populated" database that will not require a real database running at all.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions