I am using Roo 1.2.0.M1 [rev 1fa252f]
I have some troubles getting started with DBRE; I can't make Roo accept H2 as my database.
Here's what I have done so far:
Every time i have tried the failed database introspect command, I get the following output:Code:project --topLevelPackage se.ic.log --projectName LogViewer --java 6 jpa setup --database H2_IN_MEMORY --provider HIBERNATE database properties set --key database.url --value jdbc:h2:tcp://localhost/~/h2db/afa // [failed] database introspect --schema no-schema-required addon install bundle --bundleSymbolicName org.springframework.roo.wrapping.h2;1.3.160.0001 // [failed] database introspect --schema no-schema-required addon install id --searchResultId 01 // [failed] database introspect --schema no-schema-required
It seems to me my adding of the h2 bundle should fix the problem, but I am getting nowhere.Code:Located add-on that may offer this JDBC driver 1 found, sorted by rank; T = trusted developer; R = Roo 1.2 compatible ID T R DESCRIPTION ------------------------------------------------------------- 01 Y Y 1.3.160.0001 H2 #jdbcdriver driverclass:org.h2.Driver. This bundle... -------------------------------------------------------------------------------- [HINT] use 'addon info id --searchResultId ..' to see details about a search result [HINT] use 'addon install id --searchResultId ..' to install a specific search result, or [HINT] use 'addon install bundle --bundleSymbolicName TAB' to install a specific add-on version JDBC driver not available for 'org.h2.Driver'
Could someone please explain to me what I should do.


Reply With Quote