Hi all,
in Hibernate Search we have a test helper to setup Hibernate ORM with
multi-tenancy and export the schema's we need for testing.
It looks like:
-
https://raw.githubusercontent.com/hibernate/hibernate-search/d29f560c89e6...
The problem is I used Hibernate ORM's internals, and this little
helper keeps breaking.
Could we have such an utility provided by ORM?
Also wondering if "test helpers" such as this one could be useful to
end users; it would be nice to publish such helpers and maintain their
API as stable as any other API.
For example now to have Hibernate Search switch from ORM 5.2.1 to
5.2.2 it requires code changes - luckily just on tests! - but it still
bothers me as it means we can't automatically test a version X of
Search towards a full-range of micro releases of ORM 5.2.x.
Thanks,
Sanne