Search:

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

Search: Search took 0.03 seconds.

  1. Replies
    2
    Views
    628

    Thats fine for the business logic. I cant make...

    Thats fine for the business logic. I cant make the service layer transactional because each one of these transactions processes large amounts of data.

    My OSIVF is configured to use single session,...
  2. I want updateBar() has to be in a new transaction...

    I want updateBar() has to be in a new transaction always. Because as soon as the process starts i lock the bar so any other process checks the lock before starting the process.

    All the stuff in...
  3. Replies
    2
    Views
    628

    Session Behavior with Spring

    I have an OpenSessionInViewInterceptor in my application, And a service class method calling DAO methods. All my DAO methods are transactional with PROPOGATION_REQUIRED.

    Lets say there are about...
  4. Correct Propogation-Illegal attempt to associate a collection with two open sessions

    I know why I am getting that exception, but cant really get around it. Here is how my code looks


    public class FooService
    {
    public void foo(){
    Bar bar= barDAO.getBar();
    ...
  5. Integrating Spring View Implementation into tiles?

    How can i include an implementation of View Interface whose content type is text/html into tiles?

    I could have written a JSP, but i want to reuse the same code i wrote for PDF generation using...
  6. Replies
    1
    Views
    560

    Propogation behavior

    Can someone please explain me this behavior.

    This is how my attribute defiintions for transactions look like
    <property name="properties">
    <props>
    <prop...
  7. Replies
    1
    Views
    594

    Transactions in HIbernateTemplate

    My database is mysql. In my DAOS i use HibernateTemplate to perform db opertations.

    I dont have any transaction management set up, or there is not no programmatic transactions, but still my...
  8. Replies
    1
    Views
    875

    Refreshing applicationContext on the fly

    I am looking for some ideas on how to refresh my applicationContext with out restarting the application by invoking following line of code.
    ((XMLWebApplicationContext)applicationContext).refresh(); ...
Results 1 to 8 of 8