Hello,
I am trying to pass a dynamic JSON
string to my REST Web service which will in turn be used to populate a mysql db.
I can do this using a hard-coded JSON string,however I dont know how to pass a dynamic JSON string. Any insight is appreciated
as I am very new to this topic. Thanks a lot for all your time. I am attaching my code which I have for the hard-coded JSON
string parsing and adding to a mysql db.
My POJO:
My HibernateUtil class :
My SessionFactoryContextListener class :
My StackService.java
My Hibernate.cfg
Thanks,
Jack