facebook

MySQL, Spring & Hibernate (nothing is getting commited?)

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #281032 Reply

    Dan
    Member

    Hi all, I haven’t done server side dev code in awhile, and I’m currently working my way the the hibernate & spring tutorial (Help Path: My Eclipse Learning Center ->JPA/Spring etc ->Getting Started –> Hibernate and Sprint Tutorial (Flash Req)).

    Anyways I find that when I execute the code (from our BusiniessLogic code) addUser(), a user is not committed to the database, i.e. if I remove the remaining test code, and let main run to completion, then look at the database there is no user..what am I missing?

    How can i get this user committed to into the db? There must be a way to define commit points but I do not see this anywhere in this tutorial??

    #281056 Reply

    Loyal Water
    Member
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: MySQL, Spring & Hibernate (nothing is getting commited?)

You must be logged in to post in the forum log in