Someone I know wants to use diconnected recordsets in an application. To me it sounds like if I have a ORM tool there would really be no need to even touch disconnected recordsets. The way I understand it with ORM the ORM takes care of not hugging connections for unnecessarily long amounts of time, solving the need for a disconnected recordset. Is there an instance in which you would still want to use a disconnected recordset?
Disconnected Recordset
864 views Asked by Ramiro At
2
There are 2 answers
0
Rune Sundling
On
I'd consider using a recordset in small "assemble and forget" applications or when you have simple reporting needs like read-only grid views.
That includes any application where it feels like the quickest thing you can do, and you don't see a reason it will change later on.
However, if you are going to build a slightly advanced, maintainable, robust application, with business logic and the like, don't go with recordsets.
But sure, there's still use for it..
Related Questions in ORM
- SQL schema for a fill-in-the-blank exercise
- ERROR: column "country" is of type text[] but expression is of type record (SQLSTATE 42804)
- JPA Hibernate OneToOne Mapping
- query in objects with django orm with a containing sentence
- peewee: SQLite - peewee Create() is forcing integer in PrimaryKeyField if leading character is numeric (even if there is a non-numeric in the middle)
- PHP ORM DOCTRINE
- Error appending to array oOnConflictUpdaste using Drizzle ORM (Postgresql)
- Sequelize foreign key vs SQL how to implement it
- How do i work with a potentially nullable field in prisma ORM and MongoDB that references the id of another model?
- record doesn't exist error when creating a new record
- Several relationships in one model in Laravel
- SQLALCHEMY ORM - error when using variables both for column, value in WHERE
- How to exclude instances with empty querysets in prefetch_related?
- Optimize SqlAlchemy ORM DB models
- What are the best practices regarding SSR, Django and temprarly changed data?
Related Questions in ADO
- Excel column datatype issues using MSADO and Access 2016 Engine driver
- Unable to Group by Parent in Stacked bar chart - ADO Dashboard widget
- Caused by : java. awt. HeadlessException
- C# test if SqlDataAdapter contains records
- Pipeline release error - AttributeError: 'VirtualMachine' object has no attribute 'time_created'
- Unable to print ADO User Stories
- While trying to edit a DBF database with ADOQuery in Delphi, I get the error: The line specified for updating was not found
- Azure Devops Condition in a YAML Pipeline - only run between specific time
- Azure DevOps REST api to add continuous deployment trigger
- AzurePowerShell@5 not working with Az.Resources 6.16.0
- How do I write this vb.net/linq select more performant?
- How to add a new item to a sharepoint list using VBA?
- How to delete hmtl tags using python
- Filter workitems created within a time range using Wiql
- How to automate deleting existing content on wiki in python script?
Related Questions in RECORDSET
- How do you display a record set inside a report in Microsoft access
- Sql query not return data
- Access Form Linked to SQL Server: Automatically Generated Record Source Corrupted in Design View
- VB.NET oledbDataAdapter fill work only once
- Sorting Fields within a record
- How to disconnect recordset obtained from local table in MS Access?
- Recordset do not get created in php version 8.2
- Recordset does not populate listbox - MS Access VBA
- Save dataset contents to variant array – VBA vs VB.net
- RecordSet.Update Error after Upgrading from Oracle 11g to 19c
- How can I set a combo box to allow for only "unassigned" values?
- Writing arrays to an Access table
- Filling an Access 2003 form with a ADODB.recordset
- In VB6, ADODB.Recordset values from sql query not returning decimals
- ODBC Source with SQL command includes parameter very slow
Related Questions in DISCONNECTED-SESSION
- Logoff Disconnected user sessions based on IDLE time
- How to get all remote logged on users with Logon Time
- How to get RDP Disconnected sessions using qwinsta command
- Powershell invoke-computer to a remote that survives a reboot of my local computer?
- SSH connection keep disconnecting when idle
- Get memory used by every user in Windows server using PowerShell
- Powershell to find out disconnected RDP session and log off at the same time
- Oracle Disconneting SQLPlus Session?
- powershell script to kill .exe terminal server disconnected session
- Entity Framework disconnected graph and navigation property
- Java client-side SSLSocket: How to tell if remote end has closed the connection?
- Entity Framework 5 - Is it possible to load relationships (associations) without lazy and eager loading?
- How can I run my application when windows session is disconnected?
- Best practice for updating a excel or xml data-source in a disconnected environment?
- NHibernate without a session
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
A fabricated ADO recordset can be a good choice of container object for data, as an alternative to a VBA Type (struct), Collection, Dictionary, etc i.e. strongly data typed nullable fields** with built-in support for filtering, sorting, searching, output to formatted text/xml/array, paging , cloning, etc. A fabricated ADO recordset is disconnected by definition.
Perhaps this isn't quite what you had in mind but it is a valid answer to your question i.e. an example of when you would still want to use a disconnected recordset, even though you have an ORM.
** Similary, ADO Parameter objects are a usual alternative for the Variant type in that, unlike VB intrinsic types, they can be both strongly data typed and nullable.