No target script generated for update action when using schema-generation
Activity
Show:

Andrea Boriero April 15, 2016 at 10:20 AM
Matthias Kurz April 14, 2016 at 10:04 AM
Thanks!

Andrea Boriero April 14, 2016 at 10:02 AM
Thanks ,
I'm going to give a look..
Matthias Kurz April 14, 2016 at 9:55 AMEdited
Hi @Andrea Boriero
yes I did try this but it doesn't work. It creates the update.ddl
file, but it is empty (but the database gets updated as expected).

Andrea Boriero April 14, 2016 at 9:49 AM
Hi
have you tried
in conjunction with
?
Having following in my
persistence.xml
:then Hibernate creates/alters tables, columns, etc. like it should. That's fine.
However I can not log the used database statements anywhere!
E.g. when using
create
/drop-and-create
/drop
as actions and configure:the
create.ddl
anddrop.dll
file gets created and contains the statements.However it seems there is no way to create such a script file when using
update
.I would expect that there should be a setting like:
but this doesn't work.
Please give us a way to generate a script file when using the
update
action, thanks!