[dba-issues] [Issue 73132] Locked tables when using v iews

2007-07-17 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73132


User fs changed the following:

What|Old value |New value

  Status|RESOLVED  |CLOSED





--- Additional comments from [EMAIL PROTECTED] Wed Jul 18 06:55:41 + 
2007 ---
closing duplicate

-
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]



[dba-issues] [Issue 73132] Locked tables when using v iews

2007-07-17 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73132


User fs changed the following:

What|Old value |New value

  Status|NEW   |RESOLVED

  Resolution|  |DUPLICATE





--- Additional comments from [EMAIL PROTECTED] Wed Jul 18 06:55:04 + 
2007 ---
closing as duplicate of issue 49183

*** This issue has been marked as a duplicate of 49183 ***

-
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]



[dba-issues] [Issue 73132] Locked tables when using v iews

2007-07-08 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73132





--- Additional comments from [EMAIL PROTECTED] Sun Jul  8 20:52:48 + 
2007 ---
Ping. Opinions?

Will close on 2007-07-15, at the latest, if I don't hear any objections.

-
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]



[dba-issues] [Issue 73132] Locked tables when using v iews

2007-07-03 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73132





--- Additional comments from [EMAIL PROTECTED] Tue Jul  3 08:12:15 + 
2007 ---
Ping. Opinions?

-
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]



[dba-issues] [Issue 73132] Locked tables when using v iews

2007-06-11 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73132


User fs changed the following:

What|Old value |New value

Target milestone|OOo 2.x   |---





--- Additional comments from [EMAIL PROTECTED] Mon Jun 11 10:05:04 + 
2007 ---
resetting target

-
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]



[dba-issues] [Issue 73132] Locked tables when using v iews

2007-06-11 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73132





--- Additional comments from [EMAIL PROTECTED] Mon Jun 11 10:03:16 + 
2007 ---
Okay, issue 78296 is about how Base/HSQL corrupt the complete database when you
try to add a column to the table referred in the view.
Issue 49183 is about the requirement to be able to edit a view's design.
(Martin, you might want to add yourself to CC to both issues).

What's left then here is that this issue is either a DUPLICATE (if it is about
the possibility to edit a view's design), or INVALID (if it is about requesting
that you can change a table design which participates in a view).

Opinions? (especially from the submitter :)

-
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]



[dba-issues] [Issue 73132] Locked tables when using v iews

2007-04-25 Thread atjensen
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73132


User atjensen changed the following:

What|Old value |New value

 Attachment data|  |Created an attachment (id=
|  |44687)
Corrected Base file
|  |






--- Additional comments from [EMAIL PROTECTED] Wed Apr 25 20:24:00 + 
2007 ---
Created an attachment (id=44687)
Corrected Base file


-
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]



[dba-issues] [Issue 73132] Locked tables when using v iews

2007-04-25 Thread atjensen
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73132





--- Additional comments from [EMAIL PROTECTED] Wed Apr 25 20:21:45 + 
2007 ---
There seems to me, two separate issues here. First the way HSQLdb supports
views; second the anomaly that corrupted the Base file.

Looking at the corrupt file I can't say for sure as I was not there  - but I can
make an educated guess as to the steps martinahlin took to produce it. 

HSQLdb supports a non-standard feature with views, namely if a view uses a
select * from t_table as part of the SELECTION statement then adding a column to
t_table will automatically update the column list in the view definition. That
does not work in the version of HSQLdb shipped with OOo. The bug is HSQL's and
not Ooo's. ( this feature is supported by other RDBMSs currently )

Base however takes HSQL at their word and allows a user to add a field. In fact
as long as that session is open the view acts as if it where updated correctly.
You can run it and the new column from t_table will be displayed. When the Base
file is closed however the SCRIPT file that is created does not reflect this
change and therefore the next time the file is opened the user gets the error
message as described.

To show that it is really HSQL's bug and not Base's you can add the column to
t_table using an ALTER TABLE command in the SQL window and the results will be
exactly as described in the previous paragraph. ( I suppose if I really want to
prove it is HSQL and not OOo I should go and do this to a HSQldb server database
using just their toolsnot today however )

There also seems to be no way to force HSQL to update that script statement.
Forcing a checkpoint or doing a shutdown compact from the SQL window makes no
difference. The create view statement in the script file will be one field name
short.

Sure enough if one unpacks the attached Base file, then opens the embedded
script file you find that the create view statement at line 13 uses a SELECT *
FROM TABLE command and then if you look at the create table command for that
table you find two columns at the end ( "test" and "asdf" ) that are not
included in the create view command.

Simply adding these column names to the statement on line 13, re-archiving the
file and opening in Base gets everything back to normal. ( I will attach the
corrected file to the issue - I do realize that from martinahlin's perspective
this is all "A day late and a dollar short" to say the least. ) 

So at this point, IMO, the next step is to have someone check with the HSQL
folks to insure hey know of the problem.

The next issue here is the request that OOo not lock tables for altering the
structure when used in views. This however is not exactly the case.

HSQLdb supports the following actions when working with views.

A column may be added to any table that participates in a view. ( as long as the
select statement in the view is anything other then SELECT * this causes no
problems, as far as I have been able to test )
A column may be dropped from a table that participates in a view so long as that
column is not used in the view. ( Tested using Base with no problems found )
A columns name can be changed - same caveat, the column is not used in a view. (
Tested with Base, no problems found )
A columns datatype can be changed - same caveat, the column is not used in a
view. ( Tested with Base, no problems found )

In other more 'robust' RDBMS one may drop columns or rename them in views – each
RDBMS handles these cases in their own way. For the most part the view will be
invalidated and most likely need to be re-created before it can be used.
PostgreSQL seems to be the most flexible when it comes to this – not really a
surprise.

In HSQLdb however there is no support for altering a view. It can be created and
it can be dropped. So there is no real option for invalidating it and waiting
for the user to edit the definition.

I would go further even – from my perspective this is a benefit to the end user.
Thinking about the scenario that  martinahlin describes in the description –
that the view is used to generate a report – what happens in a larger database
application. The user of the report finds out that it won't run only when they
try to run it – they call the DBA and he remembers that a few minor changes
where made to the databases physical structure – and had forgotten to validate
the effected view.

In the case of a Base (HSQL) user, an attempt to alter one of the tables such
that the report would not run would not be allowed without giving plenty of
warning that this is going to be a side effect of the change, before he finds
out perhaps days later when the report is needed.

Also there is no direct linkage between the view in the database and the report
definition in the Base file, accept for when it is being used. So the user can
drop the view and recreate it as needed without having to rec

[dba-issues] [Issue 73132] Locked tables when using v iews

2007-04-25 Thread clu
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73132


User clu changed the following:

What|Old value |New value

 Assigned to|clu   |fs

Target milestone|not determined|OOo 2.x





--- Additional comments from [EMAIL PROTECTED] Wed Apr 25 15:24:37 + 
2007 ---
i can repro that like described

-
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]



[dba-issues] [Issue 73132] Locked tables when using v iews

2007-04-24 Thread kpalagin
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73132


User kpalagin changed the following:

What|Old value |New value

  CC|''|'kpalagin'

  Ever confirmed|  |1

  Status|UNCONFIRMED   |NEW





--- Additional comments from [EMAIL PROTECTED] Tue Apr 24 10:52:20 + 
2007 ---
Confirming with m209 on WinXP - attached .odb has problems. When clicking 
Tables button or double-clicking any of two forms I get 

error in script file line: 13 Column count does not match in statement [ 
SELECT "Aviso".*, "Aviso Historik"."Datum historik", "Aviso 
Historik"."Händelse", "Aviso Historik"."Prob", "Aviso Historik"."S/N 
Prob", "Aviso Historik"."Tillkopplad", "Aviso Historik"."Frånkopplad" 
FROM "Aviso Historik" AS "Aviso Historik", "Aviso" AS "Aviso" WHERE ( "Aviso 
Historik"."S/N Aviso" = "Aviso"."S/N Aviso" ) AND ( ( "Aviso Historik"."Prob" 
IS NOT NULL ) )]

-
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]



[dba-issues] [Issue 73132] Locked tables when using v iews

2007-01-16 Thread clu
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73132


User clu changed the following:

What|Old value |New value

 Assigned to|dbaneedsconfirm   |clu





--- Additional comments from [EMAIL PROTECTED] Tue Jan 16 08:36:50 -0800 
2007 ---
change owner

-
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]



[dba-issues] [Issue 73132] Locked tables when using v iews

2007-01-04 Thread martinahlin
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73132


User martinahlin changed the following:

What|Old value |New value

 Attachment data|  |Created an attachment (id=
|  |41881)
Collapsed database






--- Additional comments from [EMAIL PROTECTED] Thu Jan  4 06:07:01 -0800 
2007 ---
Created an attachment (id=41881)
Collapsed database


-
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]



[dba-issues] [Issue 73132] Locked tables when using v iews

2007-01-04 Thread martinahlin
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73132
 Issue #|73132
 Summary|Locked tables when using views
   Component|Database access
 Version|OOo 2.1
Platform|All
 URL|
  OS/Version|Windows XP
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|none
 Assigned to|dbaneedsconfirm
 Reported by|martinahlin





--- Additional comments from [EMAIL PROTECTED] Thu Jan  4 06:06:37 -0800 
2007 ---
When using views, the included tables cannot be edited without first deleting 
the view. This is very inconvenient if reports are based on the view and you 
want to make a change to the table. Then you have to delete both view and 
report, make the change in the table and then start all over again.

For some reason I once managed to add a field to such a table, but then the 
whole database collapsed (see attached file), complaining about inconsistency 
between the tables and views.

OO must allow and pass on changes in tables to the views.

-
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]