Search:

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

Search: Search took 0.01 seconds.

  1. Adding the following hibernate properties to the...

    Adding the following hibernate properties to the spring config fixed the error above.


    <prop key="hibernate.transaction.flush_before_completion">true</prop>
    <prop...
  2. Spring not opening Hibernate Session in Websphere

    Hi
    I am using
    Spring 3.1.0
    Hibernate 4.0.1.Final
    Websphere 7.0.0.11

    Yes I have the @Transactional on the service classes. I am having to use a ThreadLocal to store the hibernate session.
  3. Spring websphere transaction manager java.lang.verify error

    Hi
    I have a spring, jdbc application being deployed in Websphere 7.0.0.11. I am getting the error below. I have tried spring versions from 3.1.0 to 3.0.1 and each one gives the same exception...
  4. Hsqldb Session locked by Hibernate EntityManager and SimpleJdbcTemplate in UnitTest

    I have a Unit test that saves the entity using hibernate entity manager(jpa) and then retrieves the record using simpleJdbcTemplate and the application locks on hsqldb session on the...
  5. Replies
    2
    Views
    3,453

    Certainly, this is a open source project here...

    Certainly, this is a open source project here http://code.google.com/p/nscl/. There are examples on how to use the library in the source code repository you can check it out here...
  6. read the api doc on BeanFactoryLocator, I think...

    read the api doc on BeanFactoryLocator, I think it will provide sufficient answers to your questions.
  7. use PropertyPlaceholderConfigurer

    use PropertyPlaceholderConfigurer
  8. Replies
    2
    Views
    3,453

    JSTL to .Net with EL

    Hi
    I did a JSTL port to .Net as Server Controls(.net server control library) with support for EL. The .net server control libraries el support comes from Spring.Net EL. Here is a link to the...
  9. Hi Dezzy You mentioned that your "thread won't...

    Hi Dezzy

    You mentioned that your "thread won't run concurrently. Thread run one after one."

    From the code that I see you don't have a Semaphore on the number of threads . Which means that your...
  10. Replies
    7
    Views
    1,632

    karldmoore you are correct that works. ...

    karldmoore you are correct that works. Previously in the thread we were injecting DAO objects, but once we wrapped the dao around a Service and injected a service object that worked. basically...
  11. Replies
    7
    Views
    1,632

    batch processing

    The application is running as a batch process on the AS400. We don't need to share entities between threads. Each thread is assigned to process a certain type of records. We would ideally like to...
  12. Replies
    7
    Views
    1,632

    spring hibernate multithreading

    Hi

    I have a spring managed bean. It creates a thread. It injects the created thread with some data access object. When the thread invokes some method on the data access object. I get an exception...
  13. I created a custom Singleton that wraps the...

    I created a custom Singleton that wraps the ClassPathXmlApplicationContext, the only downside is that I had to hardcode the xml file name to staticly load the spring configuration. And it works fine.
  14. Replies
    3
    Views
    5,550

    Thank you folks. I dropped my example in wls...

    Thank you folks. I dropped my example in wls 8.1.3 and it started working as is. Although my project ejb code is still getting the same problem. Still at least I now have a working example to...
  15. Replies
    3
    Views
    5,550

    Really need help please see if you can

    I have been trying to get a spring ejb example to work for the past three days, and I have gone thru almost every post in the EJB forum.
    I really really want to use springframework in our project....
  16. if you do something like this in your web tier...

    if you do something like this in your web tier and I assume you are sending the pdf file to the client. You should not have any OutOfMemory errors.

    Web Tier POJO

    bis = new...
  17. std alone Client invk spring SLSB gets NoClassDefFoundErr

    I am trying to code SLSB implemention as specified in Chapter 16.2 of the Reference.
    In both Weblogic and jboss I get a
    java.rmi.ServerException: RemoteException occurred in server thread;...
Results 1 to 17 of 17