I'm trying to create a very basic REST-ish web service with Grails and Postgres. I have the read() & delete() methods working, but I can't get create() to work. Hibernate just gripes, "HibernateException: No session currently bound to execution context." Here's my create method:
def create = {
def member = new Member(params)
member.save()
render(status: 201)
}
Any advice would be great. Thanks.