sql server - Using Stored Procedure for reading records from Database in NHibernate? -
Is it a good way to read database records from databases using procedures stored in NHibernate? If yes, why or not, why also? Data access levels do not have the ability to read values from a database that uses a NHibernate, there is no update and no recovery is included.
In my opinion, the stored procedure is only necessary if you handle a large amount of data performance better , Because the database regulation system can use its optimization routine to force access to the data stored.
The reason for the scandal to not use stored procedures is that you want to separate the DBMS and apply the application. If you want you can change the database system. If you are connected to this specified DBMS (i.e. Oracle), then use stored procedures.
Comments
Post a Comment