Heim >Datenbank >MySQL-Tutorial >SMP 3.0 : Integration Gateway with MySQL Datasource (Part 2)_MySQL
Next step is to enable MySQL's JDBC driver for OSGi , then deploy it to SMP 3.0 server, create OData Modeling & deploy to SMP server.
5. Provide some project name
6. Once done, Right click project> Export>Plug-in Development>Deployable plug-ins and fragments
Configure SMP 3.0 server for Integration Gateway JDBC connection
7. Copy the OSGi enabled jar file (in my case, it is at Desktop) , paste it into C:/SAP/MobilePlatform3/server/pickup
OData modeling
8. Make sure you have added GWPA plugin in the eclipse. For more information, checkthisdocument.
9. Create an OData project. File>New>Service Implementation Project
10. Check 'Create OData file manually ' option
11. Create a model file. Right Click Model>New>Other>OData model
12. Create an Entity model same like your table structure in backend system.
All properties should have same name and data type as per table in the database
13. Right click model>empModel.odata>Implement service
14. Right click empModel.odatasrv>Select Data source as JDBC
15. Right click project>Generate and Deploy Integration content
Make sure you get a success message.
NextPart 3