I have reservation site, in that i have some set of numbers loaded in table. During reservation am fetching records one by one and updating the status as reserved.
While selecting the record am using a lock(for update) and then updating the status as reserved. In real time because of the load 2 diff threads picking the same record and second one is while update. since I have selected the record with lock.
Could someone please suggest is there any way I can restrict the record from the select which is already selected with lock..
I have a class object and there are 2 getters in that with values. For some reason am getting classcastexception(weblogic class loader issue(not able to cast)). Is there any way I can get the values using reflection API or some other API. Please check.
I tried all the possibilities. Now only way is I have to get the values without type casting the class object.
I guess first one is for Remote JNDI lookup and second one is local JNDI lookup(JNDI should be on the same weblogic where .ear is deployed)
Please correct me if am wrong
Am new to java annotations. There anyway I can add flag based annotations. In case if I want to change or remove some annotations I can do that by changing the flag and not by changing the code.
Please help
As per my understanding
JavadbWebServiceService service = new JavadbWebServiceService();
JavadbWebService port = service.getJavadbWebServicePort(); ----- This is making the get call.
Hi am using JAX-WS client to invoke my web service. But it's making 2 call to the server. 1 st call to check the wsdl(get call) with empty body and 2nd call post with body. But when I use axis it's making only 1 call. Could some one please help me why it's making 2 call.
Could someone please assist me. How the hibernate is being loaded in JVM Memory.
Any Good Links is also fine. I like to understand, If I have 2 ear's(running on same server) referring same hbm file whether on the server startup it will load the hbm twice.