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 best solutions below
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
- How do I properly add data in SQLAlchemy?
- SequelizeJS: How to include association (join) across multiple databases without using raw query
- Enforcing uniqueness using SQLAlchemy association proxies
- How do you make EntityFramework generate efficient SQL queries for related objects?
- join and orwhere ends to AND
- symfony many to many orm controller
- Django Query to get customer_name who has used a particular keyword maximum no. of times in feedback?
- Yii 1.1 - Many to Many Relationship - Returning data from relation table
- Hibernate does't update joined collection
- was not found in the chain configured namespaces symfony2 500 internal server error production only in env
- Why is this form invalid all the time
- Does function order matter in Doctrine2 Query Builder?
- ERROR: exception 'ErrorException' with message 'Undefined property: Illuminate\Database\Eloquent\Relations\BelongsTo::$ward_name'
- Django multipart ORM query including JOINs
- Wrong datatype for referenced entity on Doctrine ObjectSelect
Related Questions in ADO
- ASP Error 0223 - TypeLib Not Found, intermittent, resolved after IIS restart
- Accessing protected mysql names via ASP
- ADO Connection and Recordset = ""
- VBA - Using Typeof ... Is ADODB.Recordset Results in Compile Error
- Javascript ADO recordset open method not working. Parametrized queries
- Converting ADODB Loop into DAO
- ADO Close not releasing all memory - small leak
- "Identity cannot be determined for newly inserted rows" after ADO RecordSet AddNew and Update
- Classic ASP: Trouble processing SQL
- How to use a RecordSet.Find with TADOQuery?
- Creating a access db from a template
- ADODB CommandTimeout executing stored procedure in classic asp
- Delphi AdoConnection Reconnect
- Is there any direct API to find the matching items for the same index in a variant of the order var(a,b)?
- how to rewrite code from DAO to ADO?
Related Questions in RECORDSET
- Repeat loop after EOF
- Using recordsets with MySQLConnection objects - VB.NET
- ADODB Connection is empty, Unable to read CSV file
- ADO Connection and Recordset = ""
- iteration (for-loop) ms Access with past value
- Open Connection and Recordset objects to use SQL for sheet to sheet data movement
- Trying to get some record. No matter what query I do, I am always getting `!NC!`
- recordset filter by length of a string colum
- ADODB.Recordset keeping rows after close.. Classic ASP
- "Identity cannot be determined for newly inserted rows" after ADO RecordSet AddNew and Update
- VBA - ADODB.Connection - Using parameters and retrieving records affected count
- Use value of ADO recordset to make points in catia vba
- Error in Rs.MoveNext & Duplication of Record
- ADO recordset seems to cache old results
- Unable to access records in DAO Recordset
Related Questions in DISCONNECTED-SESSION
- powershell script to kill .exe terminal server disconnected session
- SSH connection keep disconnecting when idle
- Oracle Disconneting SQLPlus Session?
- Get memory used by every user in Windows server using PowerShell
- How can I run my application when windows session is disconnected?
- Entity Framework disconnected graph and navigation property
- How to get RDP Disconnected sessions using qwinsta command
- How to get all remote logged on users with Logon Time
- Logoff Disconnected user sessions based on IDLE time
- Powershell invoke-computer to a remote that survives a reboot of my local computer?
- Java client-side SSLSocket: How to tell if remote end has closed the connection?
- Best practice for updating a excel or xml data-source in a disconnected environment?
- Entity Framework 5 - Is it possible to load relationships (associations) without lazy and eager loading?
- Client Disconnected
- NHibernate without a session
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)
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?
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.