DOH!!!

Well that was embarassing :)



On Thursday, June 9, 2016 at 11:31:30 AM UTC+1, Lukas Eder wrote:
>
>
>
> 2016-06-09 13:04 GMT+03:00 <[email protected] <javascript:>>:
>
>> How do I execute a createTableIfNotExists correctly
>>
>> Calling the method is not creating the table.  Is there an additional 
>> step to execute the statement?
>>
>
> The answer is in your question :)
>  
>
>>
>> DSLContext create = DSL.using(conn, SQLDialect.MYSQL);
>>
>>
>> logger.info("CREATING TABLES");
>>
>> create.createTableIfNotExists(Keystore.KEYSTORE);
>>
>> Append ".execute()" Of course, you will need to first append also some 
> columns.
> Some examples can be found here in the manual:
>
> http://www.jooq.org/doc/latest/manual/sql-building/ddl-statements/create-statement
>

-- 
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/d/optout.

Reply via email to