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 made changes - 09/May/05 10:38 AM
Field Original Value New Value
Attachment derby87.diff [ 19950 ]
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 made changes - 06/Jun/05 01:07 AM
Status Resolved [ 5 ] Closed [ 6 ]