Adding the following hibernate properties to the spring config fixed the error above.
<prop key="hibernate.transaction.flush_before_completion">true</prop>
<prop...
Type: Posts; User: saadkhawaja; Keyword(s):
Adding the following hibernate properties to the spring config fixed the error above.
<prop key="hibernate.transaction.flush_before_completion">true</prop>
<prop...
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.
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...
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...
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...
read the api doc on BeanFactoryLocator, I think it will provide sufficient answers to your questions.
use PropertyPlaceholderConfigurer
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...
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...
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...
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...
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...
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.
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...
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....
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...
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;...