Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0-RC2
-
Fix Version/s: 2.1.4
-
Component/s: Documentation
-
Labels:None
Description
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.
Assigning all documentation related issues to 1.2 final since they don't represent a change to the codebase