I have a MySQL table with as primary key an auto-increment field. Now I would like to retrieve the key of newly inserted record in my Jbuilder personal application. I seems that I have to use the getGeneratedkeys method but I don't know how I could integrate this in my application with jdbTable/querydataset/resolvers..... (I'm new to java and the information I found is not so clear...)

Does anybody of you have an idea how could solve this problem?

Thanks in advance!