Search:

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

Search: Search took 0.01 seconds.

  1. Partial response

    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"...
  2. SPR-1547: the bug created for this issue is fixed

    Fix Version: 2.0 M1
  3. Ok, thanks Costin

    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
  4. Thanks Costin

    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...
  5. Thanks Costin

    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...
  6. hibernate.hbm2ddl.auto=create-drop feature KO with Junit

    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...
  7. Where is your sesssion factory ?

    I think your beans should be wired with a session factory
  8. Why do you want to do that ?

    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">...
  9. Replies
    5
    Views
    2,749

    Thank u very much, it's OK I works great. The...

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

    Thanks for the URL, but...

    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...
  11. Replies
    2
    Views
    1,099

    Clean JUNIT test with spring and hibernate

    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...
  12. Replies
    5
    Views
    2,749

    Thanks for the quick reply, still KO

    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>...
  13. Replies
    5
    Views
    2,749

    my DAOs don't commit !

    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...
Results 1 to 13 of 14