From: <sfi...@pc...> - 2006-09-29 22:25:18
|
jeetendra- no, they are not atomic. in gus plugins whatever objects are written in one submit() function call are atomic. but in this case it seems the features are written first and the locations second. however, i do not think this will cause inconsistent data. do you have inconsistent data? steve Quoting Jeetendra Soneja <so...@vb...>: > > I had a question regarding concurrent inserts into GUS. Are the inserts > into GUS synchronized ? If I have multiple plug-ins inserting data at > the same time, into same tables, can this lead to inconsistent data ? > There are certain cases where the newly inserted primary key is > referenced by other tables. For example, if we are inserting features > and their locations, the plug-in inserts feature first, and uses the > primary key (na_feature_id) of the feature to insert its location(s). > Are such inserts done as one atomic and synchonized transaction ? > > Please let me know. > > Thank you for your help, > Jeetendra. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Gusdev-gusdev mailing list > Gus...@li... > https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev > |