Am Freitag, 31. August 2012 09:57:57 UTC+2 schrieb Lukas Eder: Great news! >
Thanks. I think I'll have something to show by the middle of next week. Do you have an Eclipse formatter config for me? > That wouldn't be "mocking" a schema, but fast enough, I guess. > I also use H2 but it does take 1-2s to start; with my mock database, I can run about 100 tests in that time :-) Also, the mock database allows to define a lot more corner cases since you can extend an existing "schema" -> much more efficient. > - Beware that I have deprecated master data types and that I'm > planning to remove that functionality in jOOQ 3.0: > https://github.com/jOOQ/jOOQ/issues/1740. jOOQ should have enough > conversion features, such that these kinds of data types can be > generated transparently in client code. > Right now, I don't have big issues with meta; I would prefer if things like configuredSchemata would be elsewhere (so the AbstractDatabase would really be just an information pool about the database) and all mapping options would be in the config of the code generator. But it doesn't hurt me. My new code will make it pretty easy to refactor that later when we have all those nice test cases :-) - Neither jOOQ-meta nor jOOQ-codegen are "stable" APIs. > Thanks for the info, I'll keep that in mind. Regards, A. Digulla
