Search:

Type: Posts; User: nadhimoolam; Keyword(s):

Search: Search took 0.01 seconds.

  1. We have tested all possible transactions using...

    We have tested all possible transactions using the test configuration.[Commit & roll back] and they are working fine.

    Also I tried using "DataSourceTransactionManager" as the transaction manager...
  2. For Testing, I am using following configuration...

    For Testing, I am using following configuration and that works great.


    <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
    <property...
  3. WAS 6.0 - Spring Integration- Issues in Global Transaction

    Hi,

    We have websphere v6 hosted application with service tier designed using spring. The db connection [Non XA Oracle Data Source] is provided by WAS connection pool and the GLOBAL transaction is...
  4. Replies
    3
    Views
    1,390

    Guyz, Just wanted to share the approach we...

    Guyz,

    Just wanted to share the approach we have considered for this scenario

    1.Domain has validate() method
    2.Service calls validate() method of Domain and upon on isValid()=true, it allows...
  5. Replies
    3
    Views
    1,390

    I have been researching much of articles/blogs on...

    I have been researching much of articles/blogs on this topic.. there are so many similar questions but no answers.

    Just wondering...why Spring ignores validation at service tier, especially when...
  6. I hope, things have improved a lot on Validation...

    I hope, things have improved a lot on Validation @ Service layer. Could anyone throw some good example of how to validate domain object in Spring service layer?

    Thanks,
    Nambi
  7. Replies
    3
    Views
    1,390

    Validation at Service Tier

    Friends,

    I am working on a design of Enterprise application. The basic architecture is Struts - MVC, Spring- Service and Data Access

    Need guidance on how to devise the validation framework for...
  8. Thanks! The issue is with complex mapper.

    Thanks!

    The issue is with complex mapper.
  9. Also, I am using plain select query without any...

    Also, I am using plain select query without any bindings


    select * from user order by user_id

    hence I dont think there are issues with any indexing
  10. The metrics are derived just before converting...

    The metrics are derived just before converting the resultset to object. Even to populate the List, the JdbcTemplate takes so much time.
  11. System.out.println(new Date()+"-Before creating...

    System.out.println(new Date()+"-Before creating JdbcTemplate instance");
    JdbcTemplate jt = new JdbcTemplate(getDataSource());
    System.out.println(new Date()+"-After creating JdbcTemplate instance...
  12. Performance issues with jdbctemplate.query

    Guyz,

    We are facing extremely slow performance with jdbctemplate.query whereas the usual plain jdbc statements brings the records at once.


    Blow is our code which tries execute simple select...
  13. Refer for more details...

    Refer for more details
    http://forum.springframework.org/showthread.php?t=10221

    PS: It seems the problem still exists in 10.2.0.2 version of Oracle thin driver. any idea?
  14. We resolved the issue by setting Cache Statement...

    We resolved the issue by setting Cache Statement size to 0 in websphere 6.0
  15. Basically, I am getting exception while using...

    Basically, I am getting exception while using following JdbcTemplate method

    List query(String sql, Object[] args, RowMapper rowMapper)

    Example,

    String user_query= "select...
  16. org.springframework.jdbc.UncategorizedSQLException : PreparedStatementCallback

    Guyz,

    I'm getting below exception when I use JbdcTemplate.query with prepared statement.

    org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized...
  17. MultiActionController - URL in POST method

    Is there a way to hide the suffixed URL-appended method names [like hidden variables] while calling multiaction controller methods?
  18. Replies
    6
    Views
    1,146

    yep. I have done that..Not sure if that's the...

    yep. I have done that..Not sure if that's the correct approach, hence posted to the forum.

    Thanks!
  19. Replies
    6
    Views
    1,146

    Here,the session scope is actually a HTTP session...

    Here,the session scope is actually a HTTP session and it is available only in Controller but not in DAO/EJB/ or any POJO layers.

    Is there a way to create/persist spring beans in custom scope?
    ...
  20. Replies
    6
    Views
    1,146

    Custom Error Handling/Logging in Spring

    I have a requirement to keep all custom exceptions/errors that occurs in any layers [DAO,EJB,SERVICE,Spring CONTROLLER] in a user session

    We are planning to keep a map with error(log) code as key...
  21. I figured out the solution. the...

    I figured out the solution. the ApplicationContext object is availablewithin the controller, so I get my bean as below

    getWebApplicationContext().getBean("myBean");

    Thanks for your help!
  22. I am able to create a AOP-proxied session bean. ...

    I am able to create a AOP-proxied session bean.

    The blog outlines to access the bean with ApplicationContext. How can I get the application Context object when I use DispatcherServlet .

    Is...
  23. How to access session scoped instance variable in Business objects

    I have declared a session scoped instance variable at the controller bean

    How can I access the variable in other business POJOs?

    Thanks,
    Nambi
  24. Instance variables in MultiAction Controller

    Could anyone help me to understand the lifecycle of instance variables of the Controller bean?

    I want to create business object [unique] for each user session. Can I keep this object as instance...
Results 1 to 24 of 24