Hai Friends,

        I am using appfuse 1.9.4 for developing my web app. I hosted my app
in wasce 2.0. I made a small web app (not using appfuse) which performs some
operation and it is deployed in the same server. Both the application
performs a insert opeartion on a table 'FileInfo' (not at the same time.)
When it inserts I am getting the error 
2007-02-12 12:05:01,406 [http-8080-Processor23] ERROR
org.hibernate.event.def.AbstractFlushingEventListener - Could not
synchronize database state with session

The second app uses jdbc connection for insertion and the main app (appfuse)
uses hibernate. 


My hbm file is 

 <class
            name="org.securedmd.com.model.FileInfo"
            table="FileInfo_Mst"
    >

    <id
        name="fileId"
            column="fileId"
            unsaved-value="null"
    >

    <!-- The generator-class attribute of @hibernate.id is deprecated, use
the @hibernate.generator tag instead -->
    <generator class="increment">

    </generator>

Can any one help me to resolve my problem

Thanks in advance
Jithesh PM.


 
         
-- 
View this message in context: 
http://www.nabble.com/Error%3ACould-not-synchronize-database-with-session-tp24094020s2369p24094020.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to