Hi,
Spring 3.0.0.RC1 introduced a new namespace task for handling the TaskAbstraction.
An example from the spring docs show is shown below.
<task:executor id="executor" pool-size="10"/>
...
Type: Posts; User: prash57; Keyword(s):
Hi,
Spring 3.0.0.RC1 introduced a new namespace task for handling the TaskAbstraction.
An example from the spring docs show is shown below.
<task:executor id="executor" pool-size="10"/>
...
Hi,
I just download the Spring 3.0.0.RC1 libraries.
However I am not able to find any of the corresponding XSD files anywhere.
The latest I could find is for 2.5 version.
has that not been...
Is there a way to enable disable aspects/proxying at run-time ?
Below are my bean definitions.
<bean id="performanceAdvice" ...
that makes sense... StoredProcedure class is supposed to be thread-safe.. so
i kinda assumed that it would be ok.. just wanted to check..
I also looked at the code for storedprocedure and could...
Had a question regarding how spring's stored procedure class handles database connections ..
when we create a stored procedure, we do the following things.
- set the datasource
- initialize any...
well,
I searched all thro the forum and didnt come across any solution to this problem.. So I decided to extend the AnnotatedSessionFactoryBean to add the functionality I wanted...
Below is the...
I am trying to load all my annotated persistant classes via the
following bean definition...
The first bean definition use LocalSessionFactoryBean which works, along
with the mapping file......
Does Spring provide or going to provide integrated support for Hibernate
EntityManager similar to what is provided for SessionFactory & session ?
Currently i am using HibernateTemplate and...
Got it to work by specifying the jar location as follows...
<property name="mappingJarLocations">
<list>
<value>file:**/myear/**/hbmFiles.jar</value>
</list>
...
I am deploying my application in weblogic.
My hbm files and classes reside in the hbmFiles.jar inside the APP-INF/lib folder of the ear.
My ear is constructed as follows..
myear.ear
...
well,
I finally figured it out...
I had defined a declarative tx setting as follows...
<aop:config>
<aop:pointcut id="ServiceOperation" expression="execution(*...
Just figured out why it was not working...
take a look at the way I defined my DataSource...
<bean id="TheDataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"
...
yes.. the data source go to the same underlyning url..
The datasource beans were defined as follows...
<bean id="TheDataSource"...
and here are the logs for the above...
(AbstractPlatformTransactionManager.java:319) - Using transaction object...
Hello,
I'm trying to test my transactions using Programmatic transaction.
When I use a DataSourceTransactionManager, when I do my testing
as a standalone java application, the transaction does...
I had already done that, and thats how I was able to figure out
that the associations were being loaded ,even before I had called
deptObj.getEmployees()
When I set the Department class to be...
I have a Department object that has a assocation set of Employees.
The lazy attribute has been set to true for the employees association...
When I try to cache the Department object, it get the...
no, it cant be the scope.. That just determines how many instances are
created. Just to be sure, i changed it to singleton, and it still created
a $proxy0 object instead of returning me a MyDao...
well, i dont know... I'd assume not, since I dont know how..
But on second thoughts, this is what was spitted out in my logs, when I tried to print the class Name of myDao bean
DEBUG...
sure... Here are all the interceptor related bean definitions...
<util:list id="OracleErrorCodesForRetry">
<value>ORA-01033</value>
</util:list>
<!--
I did further testing by logging the class name of the
object being returned when I lookup the myDao bean.
It returns $proxy0
I changed my interceptor as follows..
<bean...
I have the following interceptor advisor as defined below.
<bean id="InterceptorAdvisor"
class="org.springframework.aop.support.RegexpMethodPointcutAdvisor">
<property...
hmm... may be related..
Do u know if within the code of
hibernateTemplate.find(queryString)
in Spring uses Hibernate's query.find(..) ?
is the get method, the only way to look up objects...
Hello,
I'm using EhCahe, Hibernate and Spring in my application.
I am extending HibernateDaoSupport and using the
getHibernateTemplate() in my dao methods to do my
dataaccess.
I can see...
Following up on my own topic, What I said above w.r.t the transaction problem
is not just limited to a Decl. Tx mechanism, but also Prg. Tx mechanism..
It looks like the combination of Hibernate...