since ‎30-08-2007
‎10-12-2019
Leonidas79
Level 1
Re: hanging request for an update using Hibernate and Mysql
Avatar

Leonidas79

Leonidas79
- Adobe LiveCycle
thx for ur answer , but it's hanging also without the busycursor ,there is no fault while updating the data , the problem isthat it's hanging and took long time before updating , i don't knowif there is something wrong with the mapping or the database.thx

Views

64

Likes

0

Replies

0
hanging request for an update using Hibernate and Mysql
Avatar

Leonidas79

Leonidas79
- Adobe LiveCycle
hi everyone.i'm using Hibernate,mysql and DS for so many tables and itworks fine for CRUD , i have a problem with just one table when itry to update records , the request is hanging so long before itworks , i don't know what's wrong , here some code that can help. public function reserv():void{ CursorManager.setBusyCursor(); var param:Array = new Array; param.push(offreIdFill); param.push(userIdFill);reserveMarking.addEventListener(CollectionEvent.COLLECTION_CHANGE,refreshReserv...

Views

346

Likes

0

Replies

2
Flex+dataservice+Hibernate
Avatar

Leonidas79

Leonidas79
- Adobe LiveCycle
i got this error when i try to add a second item usingdataservice andhibernate.[RPC Fault faultString="Item with id 'markingHibernate:::0'alreadyexists. Error on destination 'markingHibernate'"faultCode="Local.Call.Failed" faultDetail="null"]here is my code : public function markOffer(offreId:int,userId:int):void{ var param:Array = new Array(); param.push(offreId); param.push(userId);//resCheck.addEventListener(CollectionEvent.COLLECTION_CHANGE,checkMarking); var token:AsyncToken =markingHiberna...

Views

170

Likes

0

Replies

0
Flex+dataservice+Hibernate
Avatar

Leonidas79

Leonidas79
- Adobe LiveCycle
i got this error when i try to add a second item usingdataservice andhibernate.[RPC Fault faultString="Item with id 'markingHibernate:::0'alreadyexists. Error on destination 'markingHibernate'"faultCode="Local.Call.Failed" faultDetail="null"]here is my code : public function markOffer(offreId:int,userId:int):void{ var param:Array = new Array(); param.push(offreId); param.push(userId);//resCheck.addEventListener(CollectionEvent.COLLECTION_CHANGE,checkMarking); var token:AsyncToken =markingHiberna...

Views

179

Likes

0

Replies

0