I have been trying for a number of hours to get the Oracle JDBC stuff working with no success. I have read a number of posts and I'm aware that this has to be done manually due to Oracle licensing issues. Can someone please post exactly what to do to get "database reverse engineer" working with Oracle and assume I'm new to development (please be detailed and do not skip over any steps).
I have the following installed:
STS 2.5.2
ROO 1.1.1.RELEASE
Currently I get the following error:
roo> database reverse engineer --schema <myschema>
addon search --requiresDescription "#jdbcdriver,driverclass:oracle.jdbc.OracleDri ver" found no matches
JDBC driver not available for 'oracle.jdbc.OracleDriver'.
I've read that I need to do extra stuff like running commands such as:
persistence setup --provider HIBERNATE --database ORACLE
addon create wrapper --topLevelPackage com.oracle.roo.JDBC --groupId com.oracle --artifactId ojdbc14 --version 10.2.0.2 --vendorName Oracle --licenseUrl http://www.oracle.com --description "#jdbcdriver,driverclass:oracle.jdbc.OracleDri ver"
After running above command roo spits out:
File 'C:\Dev\workspace_spring_roo\test2\pom.xml' already exists
Is this an error that the command did not work, or is just an informational message
Also, does the above command generate a file somewhere that I'm supposed to do something with?
Anyway...if you can just list the commands to run from the beginning of a new project until you get "database reverse engineer" working with Oracle, I would be extremely greatful. Thanks!
I have the following installed:
STS 2.5.2
ROO 1.1.1.RELEASE
Currently I get the following error:
roo> database reverse engineer --schema <myschema>
addon search --requiresDescription "#jdbcdriver,driverclass:oracle.jdbc.OracleDri ver" found no matches
JDBC driver not available for 'oracle.jdbc.OracleDriver'.
I've read that I need to do extra stuff like running commands such as:
persistence setup --provider HIBERNATE --database ORACLE
addon create wrapper --topLevelPackage com.oracle.roo.JDBC --groupId com.oracle --artifactId ojdbc14 --version 10.2.0.2 --vendorName Oracle --licenseUrl http://www.oracle.com --description "#jdbcdriver,driverclass:oracle.jdbc.OracleDri ver"
After running above command roo spits out:
File 'C:\Dev\workspace_spring_roo\test2\pom.xml' already exists
Is this an error that the command did not work, or is just an informational message
Also, does the above command generate a file somewhere that I'm supposed to do something with?
Anyway...if you can just list the commands to run from the beginning of a new project until you get "database reverse engineer" working with Oracle, I would be extremely greatful. Thanks!
Comment