Thanks, Robin. That helped a lot. I truly appreciate it. On 6/10/06, Robin Fernandes <[email protected]> wrote:
Hi, I think the XWD_ID is just the java hashcode of the document name.
For example, the Java code: String s = "XWiki.CalendarEvent"; System.out.println(s.hashCode());
String s2 = "XWiki.XWikiPreferences"; System.out.println(s2.hashCode()); prints: -237561194 104408758 Which on my system are the XWD_IDs for those docs. But there has been talk on these lists of changing the way the IDs work.
Regards, Robin
On 09/06/06, Jeff Ousley <[email protected]> wrote:
All,
I'm looking for this answer and not finding it. Obviously I'm looking in the wrong place. I need to create sql scripts to move pages in the database. I cannot figure out how XWD_ID is being created. Does anyone know of a script, or snippet of java code, that I can use to create that value?
Thanks! -jeff
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws