Hi,
I am testing ABMaterial. I am connecting to a MySQL database and I am able to make use of the DBM.SqlSelect() to get data from the MySQL Table using SELECT queries
For Eg
How do I call a Stored Procedure available in the database. I tried the following, unfortunately it is not returning any results.
For Eg
When it comes to a enterprise application, there will be different GUI applications accessing the same common database for Eg. Android Application, Desktop application and Web application. The common database will contain the Stored Procedures and all the front end applications will make use of this stored procedures by calling it.
Is this feature already available in the DBM Module ? I went thru the DBM Module code unfortunately I could not find anything special for calling Stored Procedures. I expected that DBM.SQLSelect() would server the purpose, unfortunately it is not.
Any help will be appreciated.
I am testing ABMaterial. I am connecting to a MySQL database and I am able to make use of the DBM.SqlSelect() to get data from the MySQL Table using SELECT queries
For Eg
B4X:
Dim SQL As SQL = DBM.GetSQL
Dim AcHeadsList As List = DBM.SQLSelect(SQL, "SELECT FirstName, LastName FROM customer",Null)
How do I call a Stored Procedure available in the database. I tried the following, unfortunately it is not returning any results.
For Eg
B4X:
Dim SQL As SQL = DBM.GetSQL
Dim AcHeadsList As List = DBM.SQLSelect(SQL, "CALL MyStoredProcedure('Parameter1', 'Parameter2') ",Null)
When it comes to a enterprise application, there will be different GUI applications accessing the same common database for Eg. Android Application, Desktop application and Web application. The common database will contain the Stored Procedures and all the front end applications will make use of this stored procedures by calling it.
Is this feature already available in the DBM Module ? I went thru the DBM Module code unfortunately I could not find anything special for calling Stored Procedures. I expected that DBM.SQLSelect() would server the purpose, unfortunately it is not.
Any help will be appreciated.