Hi All
I have a spring/hibernate website. Most of my objects have id's mapped to the uuid.hex generator.
This works perfectly uptil the point when I want to import data. The import data contains uuid's that where created on a different machine. Therefore during import I want to disable the uuid.hex and I want the ability to set my own uuid. Namely the one supplied by the import xml file.
I have tried setting the uuid myself and then saving the file but that didnt work. My own uuid was overridden by the generator. Is it possible, when saving a file, to override the generator in some way?
Thanks in advance,
Martyn Hiemstra
|