Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Help needed with Spring 3.2.3 and Hibernate 4

  1. Jun 22, 2014 #1


    User Avatar
    Science Advisor
    Gold Member

    Does anyone have any experience with these? I have been trying to set up a simple web server (JBoss 7.0.2) with associated JUnit tests for the DAOs using Maven to build the code. I can get one or the other to work but not both.

    I get frustratingly close but there is always another error that I spend days trying to figure out until I give up and try another way. The last one looked like it was successful. The server worked, I could log in, read and write data to the database without any problems. I wrote a JUnit test and it appeared to work fine as well. Unfortunately I only tested database reads. Later, when I tried to actually write data through the tests, the Hibernate persist just quietly failed. It didn't save the data but it didn't throw an error either! I didn't notice that it wasn't working until days later when I started examining the data that I thought was being saved.

    I am ready to just throw out everything and start from the beginning but I have done that several times already.

    Update: As it always seems to happen when I make a post looking for help, I finally made a breakthrough. It looks like I finally got it to work in both environments. Months without success and after I post about it, solved a few hours later. Never fails. :rolleyes:
    Last edited: Jun 22, 2014
  2. jcsd
  3. Jul 17, 2014 #2
    I'm sorry you are not generating any responses at the moment. Is there any additional information you can share with us? Any new findings?
  4. Jul 17, 2014 #3


    User Avatar
    Science Advisor
    Gold Member

    Thanks Greg. It's not a problem anymore. As I wrote in the update, I solved it shortly after posting.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: Help needed with Spring 3.2.3 and Hibernate 4
  1. Need help in Fortran (Replies: 4)