Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    8
    Views
    2,367

    Sticky: Hi, Is there any plan to support injection of...

    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...
  2. Replies
    10
    Views
    2,448

    I work with both Spring and Java EE 6 env. ...

    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...
  3. Replies
    0
    Views
    252

    CacheManager and memcached

    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...
  4. Replies
    0
    Views
    1,312

    Rest with spring mvc best practice

    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...
  5. Problem solved for the 'save' case : ...

    Problem solved for the 'save' case :

    <property name="defaultTransactionIsolation" value="1" />

    on my datasource. Because of course jdbcTemplate use the datasource...
  6. AbstractTransactionalJUnit4SpringContextTests + simpleJdbcTemplate => locks

    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...
  7. Replies
    1
    Views
    803

    'hot' update on application context

    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...
  8. Replies
    0
    Views
    944

    init-method and @PersistenceContext

    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...
  9. Replies
    4
    Views
    1,368

    Thanks ramnivas for your answer, I use...

    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...
  10. Replies
    4
    Views
    1,368

    pointcut on entityManager

    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...
  11. Replies
    9
    Views
    7,484

    You can process like that : try { ...

    You can process like that :

    try
    {
    return (List) getHibernateTemplate().execute(new HibernateCallback() {
    public Object doInHibernate(Session session) throws...
  12. Thanks for your post Costin, which clarifies...

    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...
  13. Well, after reviewing the doc and the petClinic I...

    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....
  14. thanks Costin for your answer, Concerning the...

    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),...
  15. spring, hibernate and annotation : session is closed

    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...
  16. createEntityManagerFactory, null jpaProperties

    Hello,

    I use spring 2.0 M2 with Hibernate entity Manager.

    The LocalEntityManagerFactoryBean creates the entityManager using the method
    ...
  17. Thread: jpa and 2.0 M1

    by Gengis
    Replies
    8
    Views
    1,471

    Jpa works well in Spring 1.3 RC1 (build...

    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
  18. Replies
    1
    Views
    1,037

    getJpaTemplate, deleteAll and saveOrUpdateAll

    Hello,

    I used to take advantage of saveOrUpdateAll and deleteAll provided in HibernateTemplate, unfortunately I can't find such methods on jpaTemplate (I use...
Results 1 to 18 of 18