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!
Type: Posts; User: cecchisandrone; Keyword(s):
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!
Hi all,
I have some Quartz jobs that require AOP support.
This is the application context configuration:
<bean id="jobTrigger"...
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...
Thank you...It worked for me!
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.
...
I have the same error. This appears after updating to Hibernate 3.5.1
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 {
...
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...
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...
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...
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...
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...
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?
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...
Thank you!
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?
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...
It works...thank you very much.
Do you mean ContactExample application?
Excuse me Luke but we are new to Spring and Spring Security. Can you summarize the steps necessary to build our own ContextLoader?
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...
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...
Where exactly is db.propreties in your project? I don't understand the expression classpath:ma/gfit/project/infrastructure/db.properties...
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...