Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Can you also show your utility method. Commented Nov 26, 2018 at 7:00
  • erm, can screenshot your database schema/table? just curious that whether you put the name as "db"... Commented Nov 26, 2018 at 7:21
  • edited the db name. That's exactly what I have created in SQl server Commented Nov 26, 2018 at 7:26
  • @PoojaAggarwal: Utility method is nothing but parses some JSON and created Ticket object, populates ticket fields and save it the a set and returns. Commented Nov 26, 2018 at 7:27
  • One thing to keep in mind while working with sql server is that sql server uses schema, while mysql doesn't. It might not be directly applicable here but if you use nativeQuery, ensure table name in query is of type dbName.schemaName.tableName. Commented Oct 11, 2024 at 10:41