sameer sood

Ranch Hand
+ Follow
since Dec 05, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 sameer sood

There was a link visible below this post. I thought someone posted it, was a link to some paid tool.

Now it is showing it as an advertisement.

On Sonar page i wanted to show you the way code is arranged in bottom left corner, you click each package and reach into it, box in box in approach in html.
11 years ago
I am aware of javadoc

Something like here in section below

http://nemo.sonarsource.org/dashboard/index/176188


I am looking for open source not a paid one..
11 years ago
Hi.

I want to convert my java project into something like they way java documentation is.

Where we can have package level boxes in front and then we can go into each package and read their documentation.

Is there any open source out of the box tool for the same ?

Thanks,
11 years ago
Hi

That can be safely ignored

That is the how it has been defined in the hbm file.

I have resolved this, thanks for your help
Hi,

I am getting the following error while executing store proc

Exception in thread "main" org.hibernate.exception.SQLGrammarException: could not execute query
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.loader.Loader.doList(Loader.java:2223)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
at org.hibernate.loader.Loader.list(Loader.java:2099)
at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:289)
at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1695)
at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:142)
at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:152)
at com.rbs.ird.cachemgr.dao.DefaultStaticDataLoaderStrategy.loadClassDataFromDatabase(DefaultStaticDataLoaderStrategy.java:44)
at com.rbs.ird.cachemgr.dao.DefaultStaticDataLoaderStrategy.main(DefaultStaticDataLoaderStrategy.java:66)
Caused by: java.sql.SQLException: Parameter #1 has not been set.
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.prepareSQL(ConnectionJDBC2.java:649)
at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeQuery(JtdsPreparedStatement.java:777)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewProxyPreparedStatement.java:76)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1787)
at org.hibernate.loader.Loader.doQuery(Loader.java:674)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
at org.hibernate.loader.Loader.doList(Loader.java:2220)
... 8 more

code

Query tempQuery = session.getNamedQuery(classLoaderInfo.getNamedQuery());
query = session.createSQLQuery(tempQuery.getQueryString());
List<?> results = query.list();


hibernate file def has following call to store proc

{ ? = call get_p() }

for the named query getP.


I want the results to map to the class P.

Quick help is appreciated

Thanks,
Hi,

I am trying to improve performance of my application.

The problem we are facing right now is with EH Cahe 1.4.1. Whenever it tries to refresh data from DB. If the Db is slow the whole application gets locked down.

Considering ver 2.4.2 of ehcache which has many improvements obviously, I can see a new parameter 'clearOnFlush'. Just wanted to know if this can help me solve the problem.

Also I am considering changing the strategy used while refreshing data, concurrency-strategy. would be great if someone can suggest which one shall apply here.

Information is not quite clear on net.

Thanks,
Hi,

I am trying to improve performance of my application.

The problem we are facing right now is with EH Cahe 1.4.1. Whenever it tries to refresh data from DB. If the Db is slow the whole application gets locked down.

Considering ver 2.4.2 of ehcache which has many improvements obviously, I can see a new parameter 'clearOnFlush'. Just wanted to know if this can help me solve the problem.

Also I am considering changing the strategy used while refreshing data, concurrency-strategy. would be great if someone can suggest which one shall apply here.

Information is not quite clear on net.

Thanks,
12 years ago
PLease help

. filename

prints all on screen , anyway to stop it ??
13 years ago
This will require making properties file executable any other suggestions ?
13 years ago
Hi All,

I am stuck with AOP 3.0, can anyone please enlist the jars to be included.

I am getting breancreationexception

Following is the current classpath

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/main/java"/>
<classpathentry kind="src" path="src/main/resources"/>
<classpathentry kind="src" path="config"/>
<classpathentry kind="src" path="src/test/common"/>
<classpathentry kind="src" path="src/test/functionaltest"/>
<classpathentry kind="src" path="src/test/integration-test"/>
<classpathentry kind="src" path="src/test/unit"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="/lib/spring-framework-3.0/org.springframework.beans-3.0.0.RELEASE.jar"/>
<classpathentry kind="lib" path="/lib/spring-framework-3.0/org.springframework.context-3.0.0.RELEASE.jar"/>
<classpathentry kind="lib" path="/lib/spring-framework-3.0/org.springframework.core-3.0.0.RELEASE.jar"/>
<classpathentry kind="lib" path="/lib/spring-framework-3.0/org.springframework.oxm-3.0.0.RELEASE.jar"/>
<classpathentry kind="lib" path="/lib/spring-framework-3.0/org.springframework.web-3.0.0.RELEASE.jar"/>
<classpathentry kind="lib" path="/lib/spring-framework-3.0/org.springframework.web.servlet-3.0.0.RELEASE.jar"/>
<classpathentry kind="lib" path="/lib/logging/log4j-1.2.14.jar"/>
<classpathentry kind="lib" path="/lib/servlet-api-2.5/servlet-api-2.5-6.0.1.jar"/>
<classpathentry combineaccessrules="false" kind="src" path="/cache"/>
<classpathentry kind="lib" path="/lib/jdom-1.0/jdom.jar"/>
<classpathentry kind="lib" path="/lib/commons-httpclient-3.0.1/commons-codec-1.2.jar"/>
<classpathentry kind="lib" path="/lib/commons-httpclient-3.0.1/commons-httpclient-3.0.1.jar"/>
<classpathentry kind="lib" path="/lib/commons-httpclient-3.0.1/commons-logging-1.0.4.jar"/>
<classpathentry kind="lib" path="/test-lib/cobertura/cobertura.jar"/>
<classpathentry kind="lib" path="/lib/jetty/jetty-6.1.0pre3.jar"/>
<classpathentry kind="lib" path="/lib/jetty/jetty-util-6.1.0pre3.jar"/>
<classpathentry kind="lib" path="/test-lib/junit4/junit-4.4.jar"/>
<classpathentry kind="lib" path="/test-lib/xmlunit/xmlunit-1.2.jar"/>
<classpathentry kind="lib" path="/test-lib/jmock/2.2.0/cglib-2.1_3-src.jar"/>
<classpathentry kind="lib" path="/test-lib/jmock/2.2.0/cglib-nodep-2.1_3.jar"/>
<classpathentry kind="lib" path="/test-lib/jmock/jmock-1.1.0.jar"/>
<classpathentry kind="lib" path="/test-lib/jmock/jmock-cglib-1.1.0.jar"/>
<classpathentry kind="lib" path="/lib/xstream/xstream-1.3.1.jar" sourcepath="/lib/xstream/src-1.3.1.zip"/>
<classpathentry kind="lib" path="/lib/spring-framework-3.0/com.springsource.org.aopalliance-1.0.0.jar"/>
<classpathentry kind="lib" path="/lib/aspect/aspectjweaver-1.6.5.jar"/>
<classpathentry kind="lib" path="/lib/spring-framework-3.0/com.springsource.org.aspectj.runtime-1.6.5.RELEASE.jar"/>
<classpathentry kind="lib" path="/lib/spring-framework-3.0/org.springframework.aop-3.0.0.RELEASE.jar"/>
<classpathentry kind="lib" path="/lib/spring-framework-3.0/org.springframework.asm-3.0.0.RELEASE.jar"/>
<classpathentry kind="lib" path="/lib/spring-framework-3.0/org.springframework.expression-3.0.0.RELEASE.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
13 years ago
Hi,

Can anybody please let me know if there is a possibility of stopping a method interceptor at runtime, based on some flag.

This means that we want to switch on/off interceptors at runtime specifically for performance monitoring more specific to PerformanceMonitorInterceptor class

of spring aop.

The concept here is that, if we want to monitor performance on production, the interceptor itself shall be lowering performance, even if some flag is read that too shall be performance hindrance as ours being a very computational intensive system.

Help is appreciated!!

Thanks,
13 years ago
Hey,

Recently I got an offer from a trading company at a post of "product performance analyst"
I have currentl around 3 years of ex in java development.
Can you please suggest would it be a good option for me to switch to this ?
How are these two different and what is the scope

Thanks,
13 years ago
Hi,

Thanks a lot

believe it or not, this has a capability of creating bugs which can go on for months

See her also when i wrote text

there were a lot of spaces

Airlin e Protocol - Port & Bandwidth

after Airlin all got trimmed
any solution ?