Patches item #661750, was opened at 2003-01-03 09:56 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=661750&group_id=40712
Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Benoit Menendez (bmenendez) Assigned to: Nobody/Anonymous (nobody) Summary: Table.uniqueColumnString Initial Comment: Would it be more appropriate to do: public String uniqueColumnString(Iterator iterator) { int result = name.hashCode(); while ( iterator.hasNext() ) result += iterator.next ().hashCode(); return Integer.toHexString(result).toUpperCase(); } instead of public String uniqueColumnString(Iterator iterator) { int result = 0; while ( iterator.hasNext() ) result += iterator.next ().hashCode(); return ( Integer.toHexString( name.hashCode() ) + Integer.toHexString(result) ).toUpperCase(); } This would generate shorter names ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428710&aid=661750&group_id=40712 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel