Hi,
it's :
(doc.getFullName() + "/" + filename).hashCode();
so for an xwiki page named "toto.titi" and an attachment named tutu.doc,
it's
"toto.titi/tutu.doc".hashCode();
Jérémi
On 6/14/06, Jeff Ousley <jousley(a)gmail.com> wrote:
Hello,
I now know how XWD_ID is created, but I'm not seeing how XWA_ID is
created for the three attachment tables. What is this column based on?
As I said in my other posts, I'm trying to create some backend utility
scripts. So far everything works, except where attachments are
concerned.
Thanks!
-jeff
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws