Vinny Menon

Ranch Hand
+ Follow
since Jan 10, 2006
Vinny likes ...
Oracle Spring Java
I am a Chelsea Football club Fan.
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Vinny Menon

Hello fellow ranchers,

i have been using Apache Chemistry OpenCMIS  for my certain projects to do upload/download functions.
its version is 1.1.0 and was last released in 2017-04-05.

is there any alternative that can be used instead of OpenCMIS?

please suggest.

Thanks
Vinny M
Hi Fellow Ranchers
i am using jasperreports-4.1.2.jar,poi-3.7-20101029.jar in one of my projects.I have to generate xlsx report using Jasper. I have ireports 4.1.1 for report designing.
the report is getting generated fine.But all the numeric values are appearing as Text.
i have used following in my code where i export the report via JRXlsxExporter.
:

But still the issue exists.Can you please explain why this is happening or how this can be resolved? is it a problem with jar version?

Cheers
Vinny M
proud fan of European Champion Chelsea F.C.
8 years ago
i changed the browser mode to IE8 and document mode to IE8 standards,and the code is working fine now.
9 years ago
fellow ranchers
When i access my app url through localhost IP, http://127.0.0.1:8080/myapp/index.jsp ,the javascript elements are correctly shown as object HTMLTableRowElement and the javascript code of hiding/showing menu works fine.
when i access the same url through my machine IP address, http://ipaddress:8080/myapp/index.jsp ,the javascript elements shown as [object] and the javascript code of of hiding/showing menu stops working fine.
i am using struts tiles in the application and deployed it on tomcat 6.0.browser is IE 8.0

can some one please advise why this is happening?
cheers
vinny m
9 years ago
i solved this problem by using my custom DataSourceAdapter. now the password is not stored anywhere in the custom property of the app server.
Hi fellow ranchers,

for my project,i am using WAS 6.1.0.25 server.my application uses mybatis and spring3.x and struts 2 as well.

now i have configured the datasource on WAS and provided the datasource bean as below:


we cannot store the password in the App server(in WAS we can store it as a custom property). It is coming from a java application. PwdGen.java which has a method .I have to set the database pwd using this method. can i set it before i make the get connection() call? the problem here is that the datasource is injected in the application. so how can i handle this scenario ? How will i programmatically set the password on the datasource and make the datasource available for the entire application?


greetings Fellow Ranchers,

i have a jsp in which i show a list of PersonVO in the iterate tag. the fields being : firstname,lastname,age. My Action class is PersonAction.java


how do i put the validation in PersonAction-validation.xml?and what will be the validation to iterate through the collection?
required validations being:
  • fname,lname should not be blank.
  • age should be numeric and non-zero


  • Thanks and Regards,
    VINNY M
    9 years ago
    i got the result properly. the object mapping was such that the final records numbers would be 50007 which is correct.this issue can be closed.
    Hi fellow ranchers,
    i am using ibatis 2.3.0.

    i am using a oracle database query which returns 150019 records when run in the database through regular database ide tools.

    when i map the same query to sqlmap,and call it from my java code,it returns me only 50007 records

    hence my question:is there a limit to the number of records for the method queryForList of SqlMapClientTemplate

    thanks in advance,

    cheers

    Vinny


    Hi fellow ranchers,
    i am using ibatis 2.3.0.

    i am using a oracle database query which returns 150019 records when run in the database through regular database ide tools.

    when i map the same query to sqlmap,and call it from my java code,it returns me only 50007 records

    hence my question:is there a limit to the number of records for the method queryForList of SqlMapClientTemplate

    thanks in advance,

    cheers

    Vinny


    Sherrif,
    please move this question to the ORM section.i happened to post it by mistake on the wrong forum section.

    cheers
    vinny
    Hello fellow ranchers,

    i am wondering which version of mybatis should i use in my current project?

    i am using spring 2.5 and struts 2 and jdk 1.5.x.


    thanks for your advice.

    Cheers
    vinny
    Thanks very much.my issue is resolved.
    12 years ago
    Hi fellow ranchers,
    my application tries to insert data into sybase database.I use the JDBC preparedstatement.It is a simple insert query.
    One of the fields is field1 which is defined as Numeric(38,14) in database.But i get the error when i call the preparedstatement.executeUpdate();
    -----------------------------------------------------------------

    -----------------------------------------------------------------
    The value passed to the preparedstatement is
    preparedStatement.setDouble( 0,myBean.getField().doubleValue());
    and it is 6778.68 !!!

    also i use a convert function in the stored procedure when performing the insertion in the database
    convert(numeric(38,14),@field1)
    ------------------------------------------------
    can someone please suggest how to handle this situation
    thanks in advance
    cheers
    vinny m
    [ June 17, 2008: Message edited by: Vinny Menon ]
    12 years ago
    Hi Ranchers
    my application uses webmethods for pub-sub.are there any other similar messaging systems.How good is tibco EMS as compared to webmethods?
    can tibco ems be used in place of webmethods?

    Thanks for your replies in advance.

    cheers
    vinny m