2013/8/20 <[email protected]> > I have seen flyaway but it doesn't really have a model of what it's > executing. It just executes scripts (or jdbc based code) without actually > knowing what's happening. > > What I really want to do is > 1. Use jOOQ-meta to export my production schema to a file (schema.xml?) > 2. Read the schema.xml during tests and use jOOQ to create tables in a h2 > database > 3. Use jOOQ to insert some test data into the h2 db >
I see. Well, I'm afraid that you will have to do some manual work for 1. Export your schema data, as this is not yet implemented in jOOQ 2. Render the DDL using jOOQ 3. This you can already do :-) If you're interested... this is what I'm making > https://github.com/uklance/grater > > Sample usage (this test fails since it's not implemented yet!) > > https://github.com/uklance/grater/blob/master/grater-test/src/test/java/org/grater/test/GraterBuilderIntegrationTest.java > Thanks for sharing your work. Best Regards, Lukas -- You received this message because you are subscribed to the Google Groups "jOOQ User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
