S Majumder

Ranch Hand
+ Follow
since Jun 03, 2009
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
10
Received in last 30 days
0
Total given
5
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by S Majumder

I have imported sales force server keystore in the SOAPUI SSL import configuration .
What specific thing do i need to look of the server configuration of Cipher Suite ?

Thanks,
Satya
4 years ago
Hi All,
I am facing one issue while trying to call by SOAPUI .This service is being deployed in sales force app.

I am passing sessionId through soap header .The seesion id is correct .


The header is as follows :
<soapenv:Header>
<con:SessionHeader>
<con:sessionId>sesdfsf</con:sessionId>
</con:SessionHeader>
</soapenv:Header>


The SOAPUI is giving : SSL/TLS Protocol alert: Handshake failure: Possibly no shared cipher


Thanks,
Satya
4 years ago
Hi All,
I know how to check Null of an object by using I want a better approach .Here is one sample code snippet :



The above way i can check the null value of objects ...

Any better way by which can check null values would be appreciable....

Thanks,
Satya
4 years ago
Hi Kevin McMahon , though it is an old post , I got the solution . You can follow this link :

webpage

Thanks ,
Satya
5 years ago
Hi All,
Though it is looking very simple , I need to understand the exact use case where I go for commandName or modelAttribute .I found both are functioning same then why two different properties of spring form tag ?
I also tried on my controller , jsp and no difference found .

Any pointer will be appreciable .Thanks in advance !!!

Regards,
Satya
5 years ago

Dave Tolls wrote:fetchSize does not affect the number of rows returned by your query, it affects the number of rows read by the JDBC driver on a single round trip to the server, of which there may be many for a single query.



So if I change the fetchSize from 2 to 1 ,,where it will effect ?

Satya
Hi All ,
I am using different fetchSize to get data by using @NamedNativeQuery , but every time am getting the same number of records .



In the DB there are 2 records available for Stock. When I change the fetchSize = 1 , am getting 2 records instead of 1 .




Every time the list's size am getting 2 .

Any idea why ?

Let me know if you need further query on this ....

Thanks in advance ,
Satya
Please share your doubts ...

Satya
5 years ago

Pat Steele wrote:
are both giving me errors. How would I declare a main method for them. Thanks in advance.



Start reading basics of java then you can find the answer .

You need to declare this statement inside main() .

Check this link : webpage


Satya
5 years ago
o yes , thanks Jayesh got my answer !!!

One quick question as this is related to this post :

I have observed we can create simple object / jdk proxy / cglib proxy by using i.e the proxyMode property of the @Scope . I know what proxy is (jdk / cglig).

My question ,,, what are few benefits for which I go for jdk proxy / cglib proxy , rather simple object ?

I came to know the cglig proxy works lazily ,,, ok that is a good feature ....but what about jdkDynamicAop proxy ?

Let me know if you have any further query on this ..

Satya
5 years ago
Sorry it should be OOPS (typo ...) , hope understand where is the problem and how to solve this

Satya
5 years ago
Am getting : The attribute scope is undefined for the annotation type Bean .
Am using spring version 3.0.5 .
5 years ago
Thanks Henry , detail descriptions will be appreciable ..

Satya


how would you put a primitive int into an arraylist that takes Integer objects? If you can answer this, then you should be able to figure out how to put a Callable objects into a queue that takes Runnable objects.



Hi Henry ,
are you trying to say when pass Callable to submit() it implicitly convert this to Runnable ?

Am trying some thing like :



Here the Callable will convert to Runnable ?

Thanks ,
Satya
Hi All,
As we know by default the scope of a bean is singleton .

Lets say :



This is a bean B that spring will create and give it a name is bb .It scope is singleton .
But how could I change it's scope to prototype .

I was trying to give like :



but compiler showing error .
I have got this info from : webpage

Can some one explain this :



I know what actually the autowring is and how it works .But in the mentioned code snippet how it works

Thanks ,
Satya
5 years ago