For spring web flow, you just have to change the name of the view in the flow definition.
<view-state id="projet.list.view"
view="projets/listeProjet">
<transition on="detailProjet"...
Type: Posts; User: dsissoko; Keyword(s):
For spring web flow, you just have to change the name of the view in the flow definition.
<view-state id="projet.list.view"
view="projets/listeProjet">
<transition on="detailProjet"...
Fix Version: 2.0 M1
What do you mean by "turn off the factory" ? can you give me a sample code ?
I created the SPR-1547 on JIRA....
Thank you for your help
Right, the context have a close method but, when i manually call it i get an exception at hibernate schema export step:
i have written a very simple unit test case that fails:
package...
I have already check the test package and it nicely rolls back all the data. But it doesn't drop the schema; that'as the only problem.
I can't understand why, and more over i don't understand why...
I try to setup junit test with spring 1.2.6 and hibernate 3.05.
When the test ends up, it should drop the whole schema because hbm2ddl.auto=create-drop is set: shouldn't it ?
i can't figure out...
I think your beans should be wired with a session factory
If you don't want write each time the reference to mapping resources, you can use the following declaration in your config file:
<property name="mappingDirectoryLocations">...
Thank u very much, it's OK
I works great.
The configuration is great now. I'm surprised because i read somewhere that datasource were not necessary if hibernate.properties is correctly set in the...
I tried to set up a junit test based on spring-mock classes.
I get exactly the same problem !
package coach.dao.impl.hibernate;
import...
I need to set clean junit tests with Spring-1.2.6, Hibernate-3.0.5 and hsql1.7.3
Basically, i want to launch a test on an empty database, playing all tests and getting an empty database after test...
I updated my configuration file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>...
I use spring 1.2.6 with hsqldb 1.7.3 and hibernate 3.
i have a simple DAO that extends HibernateDaoSupport and uses HibernateTemplate. When i perfom a simple insert of a row in the database, the...