Yes, of course...
2011/11/22 Sergey Epik <[email protected]>: > Hello Lukas, > > Do you mean <outputSchema>SchemaReliableName</outputSchema>? > > Thank you. > > Best regards, > > On Tue, Nov 22, 2011 at 8:39 PM, Lukas Eder <[email protected]> wrote: >> >> Hello Sergey, >> >> > So, I agree with Daniel, it would be great to have additional >> > configuration >> > parameter in jooq-codegen-maven, that defines target schema name: >> > >> > <jdbc> >> > <schema>PROJCODE_DEV1</schema> >> > </jdbc> >> > <generator> >> > <target> >> > <schema>PROJCODE</schema> >> > </target> >> > </generator> >> >> This schema re-writing functionality will work like this: >> >> <configuration> >> <jdbc> >> ... the schema here is deprecated. >> it'll be removed later >> <schema>${schemaLocalName}</schema> >> </jdbc> >> <generator> >> <database> >> ... the input schema is used for >> reading data in jooq-meta >> >> <inputSchema>${schemaLocalName}</inputSchema> >> ... the output schema is used for >> code generation >> >> <inputSchema>SchemaReliableName</inputSchema> >> >> I'll create a sample configuration in the jooq-codegen-maven-example >> Maven artefact. Both code generation and runtime will be integration >> tested in a new integration test suite. >> >> Cheers >> Lukas > >
