empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Döbele (JIRA) <empire-db-...@incubator.apache.org>
Subject [jira] Commented: (EMPIREDB-31) advanced sample throws SQLException (wrong db user)
Date Sat, 27 Dec 2008 10:09:44 GMT

    [ https://issues.apache.org/jira/browse/EMPIREDB-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659320#action_12659320
] 

Rainer Döbele commented on EMPIREDB-31:
---------------------------------------

I have checked but could not find any problem running the DBSampleAdv.
The the config.xml in both the latest distribution and the SV repo has the correct settings:

	<properties-hsqldb>
		<!-- JDBC properties for a HSQLDB Database connection -->
		<!-- Required jar file: hsqldb.jar -->
		<jdbcClass>org.hsqldb.jdbcDriver</jdbcClass>
		<jdbcURL>jdbc:hsqldb:file:hsqldb/sample;shutdown=true</jdbcURL>
		<jdbcUser>sa</jdbcUser>
		<jdbcPwd></jdbcPwd>
		<schemaName>DBSAMPLEADV</schemaName>
	</properties-hsqldb>

i.e. jdbcUser is set to "sa".


> advanced sample throws SQLException (wrong db user)
> ---------------------------------------------------
>
>                 Key: EMPIREDB-31
>                 URL: https://issues.apache.org/jira/browse/EMPIREDB-31
>             Project: Empire-DB
>          Issue Type: Bug
>          Components: Core
>            Reporter: francisdb
>
> running the advanced example gives me:
> java.lang.RuntimeException: java.sql.SQLException: User not found: JDBC:HSQLDB:FILE:HSQLDB/SAMPLE;SHUTDOWN=TRUE
> this is because SampleAdvConfig has the wrong value as user:
> is:
> private String jdbcUser = "jdbc:hsqldb:file:hsqldb/sample;shutdown=true";
> should be:
> private String jdbcUser = "sa";
> (I filed this issue before for the main example project, but it seems the advanced example
has the same problem)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message