Announcement Announcement Module
Collapse
No announcement yet.
Problem to map tables to entitys with DBRE Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #2
    Which version of OJDBC driver you are using? ROO only works with OSGI drivers did you converted your driver to OSGI? there are some good tutorials available how to do that , search google.

    Comment

    Working...
    X