[dashboard] support for embedded database
-----------------------------------------

                 Key: MOJO-1297
                 URL: http://jira.codehaus.org/browse/MOJO-1297
             Project: Mojo
          Issue Type: Bug
          Components: dashboard
            Reporter: Jörg Hohwiller


I want to use dashboard:persist as described here:
http://mojo.codehaus.org/dashboard-maven-plugin/usage_historic.html

I tried h2 and hsql that both allow to specifiy a file in the JDBC-URL for 
simple access,
since I do NOT want users to run a local database but rather have it checked in 
my svn.

However I can NOT get this to work with maven-dashboard-plugin.

One problem is that hsqldb by default has "sa" as login with an empty password,
but dashboard does NOT accept an empty password. I tried to create a 
file-database
and did "ALTER USER sa SET PASSWORD none". Then I could set the password
to "none" and dashboard accepted. However I always get 
java.sql.SQLException: Access is denied

If I use h2, I get this error:
org.hibernate.exception.SQLGrammarException: could not execute query
...
Caused by: org.h2.jdbc.JdbcSQLException: Tabelle MAVENPROJECT nicht gefunden
Table MAVENPROJECT not found; SQL statement:
select dashboardm0_.MAVENPROJECT_ID as col_0_0_ from MavenProject dashboardm0_ 
where dashboardm0_.artifactId=? and dashboardm0_.groupId=? and 
dashboardm0_.version=? [42102-106]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to