-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Override uuid.hex during import of data
PostPosted: Fri Aug 03, 2007 6:09 am 
Newbie

Joined: Fri Mar 23, 2007 4:47 am
Posts: 16
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.