Issue Details (XML | Word | Printable)

Key: DERBY-87
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Jean T. Anderson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Derby

org.apache.derby.database.UserUtility.add does not exist but is documented

Created: 03/Dec/04 08:05 PM   Updated: 06/Jun/05 01:07 AM
Return to search
Component/s: Documentation
Affects Version/s: None
Fix Version/s: 10.1.1.0

Time Tracking:
Not Specified

File Attachments:
  Size
File Licensed for inclusion in ASF works derby87.diff 2005-05-09 10:38 AM Jeff Levitt 0.6 kB

Resolution Date: 12/May/05 03:13 AM


 Description  « Hide
http://incubator.apache.org/derby/manuals/develop/develop109.html shows how to call org.apache.derby.database.UserUtility.add, but Derby doesn't support static method calls. The text below should be removed from src/documentation/content/xdocs/manuals/develop/develop109.ihtml:

Note:
    Derby provides a utility to make it easier to create and maintain the lists of read-only and full-access users. This utility is org.apache.derby.database.UserUtility. The following example shows how to use the utility to add a full access user:

CALL org.apache.derby.database.UserUtility.add("mary",
        UserUtility.FULL_ACCESS_PERMISSION);



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jeff Levitt added a comment - 09/May/05 10:38 AM
Well it looks like this was fixed, because I dont see the text you are talking about on this page anymore.

However, it does look like the metadata information for the index on this page still includes the UserUtility. So this small patch simply removes that.

So I think this is resolved with this patch!

Jeff Levitt made changes - 09/May/05 10:38 AM
Field Original Value New Value
Attachment derby87.diff [ 19950 ]
Repository Revision Date User Message
ASF #169667 Wed May 11 18:13:03 UTC 2005 jta DERBY-87:
  Removed remaining 'UserUtility' reference from metadata.

DERBY-116:
  Corrected comment for the comment for the column
  SYSTRIGGERS.TRIGGERDEFINITION in the reference manual.
  Was 'body of CREATE TRIGGER statement' , which is misleading.
  Changed to 'text of the action SQL statement'.

DERBY-164:
  Removes rtoolsijpropref62800.dita (ij.unicodeEscape page) as well as
  rtoolsijcomref76590.dita (unicodeEscape page), both from the Tools and
  Utilities Guide. It also removes unicodeEscape from an example in
  rtoolsijpropref97949.dita (derby.ui.codeset) as well as any links to
  the removed dita files.
Files Changed
MODIFY /incubator/derby/docs/trunk/src/tools/rtoolsijpropref62800.dita
MODIFY /incubator/derby/docs/trunk/src/devguide/cdevcsecure865880.dita
MODIFY /incubator/derby/docs/trunk/src/ref/rrefsistabs79888.dita
MODIFY /incubator/derby/docs/trunk/src/tools/derbytools.ditamap
MODIFY /incubator/derby/docs/trunk/src/tools/rtoolsijcomref76590.dita
MODIFY /incubator/derby/docs/trunk/src/tools/rtoolsijpropref97949.dita
MODIFY /incubator/derby/docs/trunk/src/tools/rtoolsijpropref29864.dita

Jean T. Anderson added a comment - 12/May/05 03:13 AM
Patch committed revision 169667.

Jean T. Anderson made changes - 12/May/05 03:13 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Jean T. Anderson made changes - 12/May/05 03:16 AM
Fix Version/s 10.1.0.0 [ 10993 ]
Jean T. Anderson added a comment - 06/Jun/05 01:07 AM
Jeff's patch removed the old UserUtility reference from the metadata on this page.

Jean T. Anderson made changes - 06/Jun/05 01:07 AM
Status Resolved [ 5 ] Closed [ 6 ]