Java Actions-sending data to server(creating connector)

Hi community, Inside microflow,i created the object of entity ,after then i passed the object as the input parameter in the custom java action file. my question is how to access the passed object inside eclipse and how to store those object in string variable ,so that i can pass them to database server.?   Doubt :- in case of writing data to dabseserver with help of custom java action ,do we need to have a return type in java action?is it needed or not
1 answers

If you are looking to connect to an external database using JDBC you may find it easier to use the Database Connector module from the Mendix Marketplace than write your own Java Actions.

If you still need to write your own, then looking at the Java actions in this module will really help you write your own.

Good luck!