From: <leg...@at...> - 2003-11-07 15:32:14
|
The following comment has been added to this issue: Author: Chris Patterson Created: Fri, 7 Nov 2003 9:31 AM Body: ** * <b>uuid.string</b><br> * <br> * A <tt>UUIDGenerator</tt> that returns a string of length 16, * This string will NOT consist of only alphanumeric * characters. Use this only if you don't mind unreadable * identifiers.<br> * <br> * This implementation is known to be incompatible with * Postgres. * * @see UUIDHexGenerator * @author Gavin King */ public class UUIDStringGenerator extends UUIDGenerator { here is the doc and code from the Class I ran the main method out of the class the results of which are in my previous comment. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-462 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-462 Summary: UUIDStringGenerator returns a string of length 32 not 16 Type: Bug Status: Closed Priority: Minor Resolution: REJECTED Project: Hibernate2 Versions: 2.0rc2 Assignee: Reporter: Chris Patterson Created: Fri, 7 Nov 2003 9:13 AM Updated: Fri, 7 Nov 2003 9:20 AM Environment: Windows XP, JDK 1.4.1, Microsoft Sql Server Description: The documentation for UUIDStringGenerator states that it returns a string of length 16. In my tests I have found that it returns a string of length 32. Not a major issue but it should be changed in the docs. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |