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!

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

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.