The domain class 'Order' results in an attempt create a table called 'order', since this is a reserve word this fails (org."hibernate.tool.hbm2ddl"="debug,stdout"):
Unsuccessful: create table order (id bigint generated by default as identity (start with 1), version bigint not null, in
voice_number varchar(255) not null, payment_details_card_number varchar(255) not null, payment_details_expiry_date varch
ar(255) not null, person_id bigint, shipping_address_number varchar(255) not null, shipping_address_post_code varchar(25
5) not null, primary key (id))
Unexpected token: ORDER in statement [create table order]
I suggest that this domain object be renamed to 'Orders' which solves the problem.