Hi,
Is there any plan to support injection of scala.collection.*.{List, Set} ?
Today I get "No qualifying bean of type [scala.collection.immutable.List]" or "No qualifying bean of type...
Type: Posts; User: Gengis; Keyword(s):
Hi,
Is there any plan to support injection of scala.collection.*.{List, Set} ?
Today I get "No qualifying bean of type [scala.collection.immutable.List]" or "No qualifying bean of type...
I work with both Spring and Java EE 6 env.
Actually Spring helped Java EE 6 to be as good as it is now. And since competition helps to build better products I hope Spring will continue to be a...
Dear all,
Any plan to support memcache as a CacheManager (when using @Cacheable and @CacheEvict annotations) ?
A googlecode project exists, I can get it work (on Elasticache) but the...
Dear All
Let's say I have 2 webapps to expose a business component,
the first one is dedicated to presentation, views (let's say jsp) rendering will occur and I use a viewResoler...
Problem solved for the 'save' case :
<property name="defaultTransactionIsolation" value="1" />
on my datasource. Because of course jdbcTemplate use the datasource...
Hello,
I use AbstractTransactionalJUnit4SpringContextTests for my tests, everything works fine. When I check for the database state immediately after a persistence operation that uses jpa I have...
Hello,
I would like to add a new ClassPathXmlApplicationContext to the 'current' context.
The idea is to active or desactive aspects defined in a dedicated context.
Example (let's say in a...
Dear all,
I use spring 2.0 final with hibernate 3.2 final.
I declare a bean in the context with init-method="init", this method works with the entityManager :
@PersistenceContext
private...
Thanks ramnivas for your answer,
I use aspectj annotations with no problem but I did not manage to 'intercept' anything related to javax.persistence.EntityManager, even with joinpoints like...
Hello,
I am playing with spring 2 aop features, I try to intercept call to the 'persist' method of entityManager in order to do something with the instance candidate for persistance. Since I do...
You can process like that :
try
{
return (List) getHibernateTemplate().execute(new HibernateCallback() {
public Object doInHibernate(Session session) throws...
Thanks for your post Costin, which clarifies spring role in the ejb JSR220/JSR250 context. Thanks also for the link to Pitchfork ;-)
IMHO the key question about invasiveness concerns the developer...
Well, after reviewing the doc and the petClinic I figured out to make it work by adding @Transactionnal above method signature. Even for the 'select', otherwise I get the 'Session is closed' message....
thanks Costin for your answer,
Concerning the bean declaration everything is ok.
I debug the program (with a breakpoint on the setClosed method in the org.hibernate.impl.AbstractSessionImpl),...
Hello,
I use jpa with the jpa template and the declarative transaction, everything works fine and my services are just simple pojo with no intrusive dependencies. The connection management is then...
Hello,
I use spring 2.0 M2 with Hibernate entity Manager.
The LocalEntityManagerFactoryBean creates the entityManager using the method
...
Jpa works well in Spring 1.3 RC1 (build 381-20051129). I use it accurately with hibernate entity manager 3.1beta5 and hibernate annotation 3.1 beta 7. And of course hibernate 3.1.
Gengis
Hello,
I used to take advantage of saveOrUpdateAll and deleteAll provided in HibernateTemplate, unfortunately I can't find such methods on jpaTemplate (I use...