Restore how works?
Em segunda-feira, 4 de abril de 2016 02:40:07 UTC-3, Ryan How escreveu:
>
> You aren't executing the query, only creating it?
>
> session.createSQLQuery("BACKUP TO '" + file.getCanonicalPath() +
> "'").executeUpdate();
>
>
>
>
>
> On 4/04/2016 4:55 AM, abdou amer wrote:
>
> I
You aren't executing the query, only creating it?
|session.createSQLQuery("BACKUP TO
'"+file.getCanonicalPath()+"'").executeUpdate();|
On 4/04/2016 4:55 AM, abdou amer wrote:
|I want to perform backup and restore using hibernate ORM, but i seems
that the below code not do any thing.|
|So,
I want to perform backup and restore using hibernate ORM, but i seems that the
below code not do any thing.
So, what the propre way to perform backup and restore without corrupting the
database.
File file = fileChooser.showSaveDialog(tbTabPaneHome.getScene().getWindow());
if (file !=