To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=51355 Issue #:|51355 Summary:|cannot connect to readonly database document if it's |HSQLDB-based and does not yet contain data Component:|Database access Version:|1.0.0 Platform:|All URL:| OS/Version:|All Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P4 Subcomponent:|none Assigned to:|oj Reported by:|fs
------- Additional comments from [EMAIL PROTECTED] Wed Jun 29 03:00:10 -0700 2005 ------- this is a follow-up of issue 45749, which describes OOo not being able to connect to an HSQLDB-based database file if it is readonly. This issue was fixed and integrated into SRC680m113. However, there's one issue left: If you create a new HSQLDB database, with some tables, but *without* any data, and make this file readonly, then you cannot connect to it anymore. Problem is that HSQLDB tries to open (for writing) the "data" stream when it does not yet exist. Ocke already suggested to use fileAccess.isStreadElement( "data" ) to realize that the file does not exist, and in case the files are readonly, to simply abstain from creating the data file. This would need to be implemented in HSQLDB. We probably must also check if there are places which *rely* on a data file being existent ... --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
