Search:

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

Search: Search took 0.02 seconds.

  1. Hey man you save my day! Your approach n.2 works...

    Hey man you save my day!
    Your approach n.2 works for me.
    Do you have an idea how to block/suspend active transactions?
    Thank you again!
  2. Spring AOP doesn't work for Quartz Jobs

    Hi all,
    I have some Quartz jobs that require AOP support.
    This is the application context configuration:



    <bean id="jobTrigger"...
  3. Replies
    7
    Views
    2,199

    Sorry for reopening this old thread but I have...

    Sorry for reopening this old thread but I have the same problem you described. With C3P0 0.9.1.2, Hibernate 3.5.2 and Spring 2.5.6 if I set wrong user/pass the connection pool will try indefinitely...
  4. Thank you...It worked for me!

    Thank you...It worked for me!
  5. How to intercept transaction proxy exceptions?

    Hi all guys,
    I'm fighting with the following problem.
    I'm using Hibernate Validators to validate my beans, just before they are updated on the database to prevent sql constraint exceptions.
    ...
  6. I have the same error. This appears after...

    I have the same error. This appears after updating to Hibernate 3.5.1
  7. Replies
    0
    Views
    960

    ContextStartedEvent

    Hi all,

    I need to do some task at application context startup and then I've implemented my custom listener as the following:


    public class StartupTasks implements ApplicationListener {
    ...
  8. Replies
    0
    Views
    1,595

    c3p0 native JDBC exceptions

    Hi all

    I'm using spring with C3P0 pool configured as following:


    <bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close">
    <property...
  9. Unregister ContextRefreshedEvent for test

    Hi all,
    I have a class implementing ApplicationListener to catch ContextRefreshedEvent. I want to write unit test for this class but I want to "unregister" it from those event in unit testing. Can...
  10. Replies
    0
    Views
    540

    Correct exception handling

    Hi all,
    I'm facing an apparently easy problem. I'm using Spring Security with this implementation of UserDetailsService:


    public UserDetails loadUserByUsername(String username)
    throws...
  11. As behrooznobakht said, there was a problem in...

    As behrooznobakht said, there was a problem in transaction manager settings. Now it works successfully with these settings:


    <?xml version="1.0" encoding="UTF-8"?>
    <beans...
  12. Collections not saved using HibernateTemplate

    Hi all,
    I have a very strange problem while using HibernateTemplate...

    My situation is the following...
    I have a many to many relation with the following hbm.xml


    <hibernate-mapping...
  13. I need this behaviour also for other properties...

    I need this behaviour also for other properties (hibernate.properties, etc...), because I want a complete different environment for testing. Can you give me some hints to organize my project better?
  14. Multiple log4j configurations - Application & Test

    Hi all,
    I have application and test in the same project. Log4j.properties is under src/main/config. What I want is to load another log4j.properties only for testing purposes, for example placed into...
  15. Replies
    4
    Views
    1,388

    Thank you!

    Thank you!
  16. Replies
    4
    Views
    1,388

    I want to distinguish between test and webapp to...

    I want to distinguish between test and webapp to avoid a monolithic structure for the project. Can you suggest me some links or resources to follow for organize the project?
  17. Replies
    4
    Views
    1,388

    Spring test project configuration

    Hi all,
    I'm creating a new test project for Spring as a separate eclipse project. My need now is to reference applicationContext.xml from the test project, without manually duplicate this file. What...
  18. Replies
    4
    Views
    1,853

    It works...thank you very much.

    It works...thank you very much.
  19. Do you mean ContactExample application?

    Do you mean ContactExample application?
  20. Excuse me Luke but we are new to Spring and...

    Excuse me Luke but we are new to Spring and Spring Security. Can you summarize the steps necessary to build our own ContextLoader?
  21. How to secure or hide securityContext.xml?

    Hi,
    My company is developing a web application that will be distributed to some different customers as a .war. As we know, all security rules are defined in securityContext.xml. What we want is to...
  22. Using Spring Security Taglib with JSF/Facelets

    Hi,
    I'm trying to use acegijsf tags within my webapp (due to Spring Security Taglib issues with JSF) and I can't get them working fine, because when calling <acegijsf:authentication...
  23. Replies
    4
    Views
    1,853

    Where exactly is db.propreties in your project? I...

    Where exactly is db.propreties in your project? I don't understand the expression classpath:ma/gfit/project/infrastructure/db.properties...
  24. How to load hibernate.properties into applicationContext.xml

    Hi all,
    I have Hibernate 3 configured via hibernate.properties. What I want is to import these properties into applicationContext.xml, without redefine them. Is there a way to do this?

    Thanks in...
Results 1 to 24 of 24