Announcement Announcement Module
Collapse
No announcement yet.
Grails db-reverse-engineer not generating model class Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Grails db-reverse-engineer not generating model class

    Hi,

    I have successfully installed reverse engineer plugin and modified following configuration files

    *****************Config.groovy************
    grails.plugin.reveng.destDir = 'tempreverse'
    grails.plugin.reveng.jdbcDriverJarPath='C:/Starteam_HP_Local/CS_DEV/lib/ojdbc5.jar'
    grails.plugin.reveng.packageName='com.hp.us.citpre proc'
    //grails.plugin.reveng.defaultSchema ='staging'
    grails.plugin.reveng.includeTables = ['quote']

    ***************DataSource.groovy*************
    dataSource {
    pooled = true
    url="jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROT OCOL=TCP)(HOST=g9u0472.houston.hp.com)(PORT=1525)) (CONNECT_DATA=(SERVICE_NAME=CITD)))"
    driverClassName = "oracle.jdbc.driver.OracleDriver"
    username = "staging"
    password = "******"
    dialect = "org.hibernate.dialect.Oracle10gDialect"
    }

    when i Ran : grails db-reverse-engineer command domain files are not generated

    following is the command output
    C:\GrailsWS\CiTPreProcessor>grails db-reverse-engineer
    | Configuring classpath
    Resolving [test] dependencies...
    | Compiling 1 source files.....
    | Starting database reverse engineering, connecting to 'jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL =TCP)(HOS
    | Starting database reverse engineering, connecting to 'jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL =TCP)(HOS
    | Starting database reverse engineering, connecting to 'jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL =TCP)(HOS
    | Compiling 10 source files...

    log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
    log4j:WARN Please initialize the log4j system properly.

    | Finished database reverse engineering


    any help appreciated

  • #2
    This question would be better answered on the grails forum.

    Comment

    Working...
    X