Problem to map tables to entitys with DBRE
Hello, can anybody assist me with spring roo, i try with DBRE map oracle table to entity, but when i run
Code:
database reverse engineer --schema <SCHEMA_NAME> --package ~.domains --includeTables <TABLE_NAME> --testAutomaticallyit
its give me the next failure message:
Code:
Foreign key table for foreign key '<KEY_NAME>' in table '<SCHEMA_NAME>.<TABLE_NAME>' does not exist. One-to-one relationship not created
Version of ROO that i'm using is 1.2.2.RELEASE [rev 7d75659]
Before proceed with data base reverse engineering i set up project as the following:
Code:
project --topLevelPackage <package> --projectName <PROJECT_NAME> --java 6 --packaging WAR
persistence setup --database ORACLE --provider HIBERNATE --hostName <IP_ADDRESS> --userName <USER_NAME> --password <USER_PASSWORD> --databaseName <DB_SID>
Can anybody point me to a right way to achieve successfully DBRE in Oracle?