SlideShare uma empresa Scribd logo
1 de 8
Baixar para ler offline
RowSets


          tnngo2@gmail.com
Why need RowSet?
Why need RowSet?
Database Management Systems or the drivers provided
by some database vendors do not support result sets
that are scrollable and/or updatable.
Benefits of RowSet

     provides scrollability and updatability for any kind of
     DBMS or driver.

     A RowSet object, being a JavaBeans component can be
     used to notify other registered GUI components of a
     change.
Types of RowSets
     RowSets are classified depending on the duration of their
     connection to the database
            => Connected or Disconnected
     A connected Rowset obj uses a JDBC driver to establish a
     connection that maintained throughout the lifespan of the
     RowSet obj.

     A disconnected RowSet obj connect to read or write.
     After completion, it disconnects from the data source.
Implementation of “RowSet”

     CachedRowSet
           . disconnected rowset that caches its data in
           memory
           . Ideal way to provide thin Java clients (PDA …)
     JdbcRowSet
           . connected rowset that serves mainly as a think
           wrapper around ResultSet object
     WebRowSet
           . connected rowset that uses the HTTP protocol
           internally to talk to a Java servlet that provides
           data access
CachedRowSet

    stores or caches its data in memory so that it can
    operate on its on data rather than depending on the data
    stored in a db.

    http://pastebin.com/6haZewcS
JdbcRowSet

    A JdbcRowSet obj is an enhanced and extended ResultSet
    obj which has certain properties and a listener
    mechanism that make it a JavaBeans components

    http://pastebin.com/4DAEwkE4

Mais conteúdo relacionado

Mais procurados

Caching and invalidating with managed store
Caching and invalidating with managed storeCaching and invalidating with managed store
Caching and invalidating with managed storeF K
 
Mule database connector
Mule database connectorMule database connector
Mule database connectorD.Rajesh Kumar
 
State management
State managementState management
State managementIblesoft
 
Sql server-dba
Sql server-dbaSql server-dba
Sql server-dbaNaviSoft
 
Jan Steemann: Modelling data in a schema free world (Talk held at Froscon, 2...
Jan Steemann: Modelling data in a schema free world  (Talk held at Froscon, 2...Jan Steemann: Modelling data in a schema free world  (Talk held at Froscon, 2...
Jan Steemann: Modelling data in a schema free world (Talk held at Froscon, 2...ArangoDB Database
 
Mysql Replication Excerpt 5.1 En
Mysql Replication Excerpt 5.1 EnMysql Replication Excerpt 5.1 En
Mysql Replication Excerpt 5.1 Enliufabin 66688
 

Mais procurados (11)

Caching and invalidating with managed store
Caching and invalidating with managed storeCaching and invalidating with managed store
Caching and invalidating with managed store
 
Wedi2014
Wedi2014Wedi2014
Wedi2014
 
ReactJS
ReactJSReactJS
ReactJS
 
No sql databases
No sql databasesNo sql databases
No sql databases
 
Mule database connector
Mule database connectorMule database connector
Mule database connector
 
State management
State managementState management
State management
 
Sql server-dba
Sql server-dbaSql server-dba
Sql server-dba
 
Ji_Grace_s
Ji_Grace_sJi_Grace_s
Ji_Grace_s
 
Jan Steemann: Modelling data in a schema free world (Talk held at Froscon, 2...
Jan Steemann: Modelling data in a schema free world  (Talk held at Froscon, 2...Jan Steemann: Modelling data in a schema free world  (Talk held at Froscon, 2...
Jan Steemann: Modelling data in a schema free world (Talk held at Froscon, 2...
 
Hadoop admin online training
Hadoop admin online trainingHadoop admin online training
Hadoop admin online training
 
Mysql Replication Excerpt 5.1 En
Mysql Replication Excerpt 5.1 EnMysql Replication Excerpt 5.1 En
Mysql Replication Excerpt 5.1 En
 

Destaque

Продукция ТРАДО для вашего здоровья
Продукция ТРАДО для вашего здоровьяПродукция ТРАДО для вашего здоровья
Продукция ТРАДО для вашего здоровьяЕлена Шальнова
 
Household items for sport
Household items for sportHousehold items for sport
Household items for sportCecilia Aguilar
 
二制圖34潘品諺(2011.9.1上傳)
二制圖34潘品諺(2011.9.1上傳)二制圖34潘品諺(2011.9.1上傳)
二制圖34潘品諺(2011.9.1上傳)Yan Pin
 
Evaluation Question 1: Prep for Interview
Evaluation Question 1: Prep for InterviewEvaluation Question 1: Prep for Interview
Evaluation Question 1: Prep for InterviewSammi Wilde
 
如何掌控自己的时间和生活(完整版)By louiechot
如何掌控自己的时间和生活(完整版)By louiechot如何掌控自己的时间和生活(完整版)By louiechot
如何掌控自己的时间和生活(完整版)By louiechotliaohuanzhuo
 
ร้านกาแฟวาวี
ร้านกาแฟวาวีร้านกาแฟวาวี
ร้านกาแฟวาวี0873562346
 
Jews and the Comic Book
Jews and the Comic BookJews and the Comic Book
Jews and the Comic Bookabholtz
 
Tarea de heramientas de colaboracion digital
Tarea de heramientas de colaboracion digitalTarea de heramientas de colaboracion digital
Tarea de heramientas de colaboracion digitalFabian Garcia
 
Stop motion evaluation
Stop motion evaluationStop motion evaluation
Stop motion evaluationaq101824
 
Mba724 s2 w2 spss intro & daya types
Mba724 s2 w2 spss intro & daya typesMba724 s2 w2 spss intro & daya types
Mba724 s2 w2 spss intro & daya typesRachel Chung
 
IG4 Assignment Brief Final Major Project 2013
IG4 Assignment Brief Final Major Project 2013IG4 Assignment Brief Final Major Project 2013
IG4 Assignment Brief Final Major Project 2013FirstClassProductions
 
Presentacion de ineenbooh
Presentacion de ineenboohPresentacion de ineenbooh
Presentacion de ineenboohWIHUJEJU
 

Destaque (20)

Columns
ColumnsColumns
Columns
 
Продукция ТРАДО для вашего здоровья
Продукция ТРАДО для вашего здоровьяПродукция ТРАДО для вашего здоровья
Продукция ТРАДО для вашего здоровья
 
Household items for sport
Household items for sportHousehold items for sport
Household items for sport
 
二制圖34潘品諺(2011.9.1上傳)
二制圖34潘品諺(2011.9.1上傳)二制圖34潘品諺(2011.9.1上傳)
二制圖34潘品諺(2011.9.1上傳)
 
Children’s rights
Children’s rightsChildren’s rights
Children’s rights
 
Evaluation Question 1: Prep for Interview
Evaluation Question 1: Prep for InterviewEvaluation Question 1: Prep for Interview
Evaluation Question 1: Prep for Interview
 
Ideas generation
Ideas generationIdeas generation
Ideas generation
 
如何掌控自己的时间和生活(完整版)By louiechot
如何掌控自己的时间和生活(完整版)By louiechot如何掌控自己的时间和生活(完整版)By louiechot
如何掌控自己的时间和生活(完整版)By louiechot
 
Jesica
JesicaJesica
Jesica
 
ร้านกาแฟวาวี
ร้านกาแฟวาวีร้านกาแฟวาวี
ร้านกาแฟวาวี
 
Maranna e brochure
Maranna e brochureMaranna e brochure
Maranna e brochure
 
Jews and the Comic Book
Jews and the Comic BookJews and the Comic Book
Jews and the Comic Book
 
Tarea de heramientas de colaboracion digital
Tarea de heramientas de colaboracion digitalTarea de heramientas de colaboracion digital
Tarea de heramientas de colaboracion digital
 
Leisure time
Leisure timeLeisure time
Leisure time
 
Stop motion evaluation
Stop motion evaluationStop motion evaluation
Stop motion evaluation
 
Mba724 s2 w2 spss intro & daya types
Mba724 s2 w2 spss intro & daya typesMba724 s2 w2 spss intro & daya types
Mba724 s2 w2 spss intro & daya types
 
IG4 Assignment Brief Final Major Project 2013
IG4 Assignment Brief Final Major Project 2013IG4 Assignment Brief Final Major Project 2013
IG4 Assignment Brief Final Major Project 2013
 
Бальямен
БальяменБальямен
Бальямен
 
Presentacion de ineenbooh
Presentacion de ineenboohPresentacion de ineenbooh
Presentacion de ineenbooh
 
Tarea verbos
Tarea verbosTarea verbos
Tarea verbos
 

Semelhante a Jdbc 3

Interoperability issues in accessing databases through Web Services
Interoperability issues in accessing databases through Web ServicesInteroperability issues in accessing databases through Web Services
Interoperability issues in accessing databases through Web Servicesinfopapers
 
Mba ebooks ! Edhole
Mba ebooks ! EdholeMba ebooks ! Edhole
Mba ebooks ! EdholeEdhole.com
 
Free Ebooks Download edhole.com
Free Ebooks Download edhole.comFree Ebooks Download edhole.com
Free Ebooks Download edhole.comEdhole.com
 
Advance Java Practical file
Advance Java Practical fileAdvance Java Practical file
Advance Java Practical filevarun arora
 
Java Database Connectivity (JDBC)
Java Database Connectivity (JDBC)Java Database Connectivity (JDBC)
Java Database Connectivity (JDBC)Pooja Talreja
 
Rollin onj Rubyv3
Rollin onj Rubyv3Rollin onj Rubyv3
Rollin onj Rubyv3Oracle
 
Learn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationLearn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationRevelation Technologies
 
Spring db-access mod03
Spring db-access mod03Spring db-access mod03
Spring db-access mod03Guo Albert
 
JDBC java for learning java for learn.ppt
JDBC java for learning java for learn.pptJDBC java for learning java for learn.ppt
JDBC java for learning java for learn.pptkingkolju
 
1. java database connectivity (jdbc)
1. java database connectivity (jdbc)1. java database connectivity (jdbc)
1. java database connectivity (jdbc)Fad Zulkifli
 

Semelhante a Jdbc 3 (20)

Interoperability issues in accessing databases through Web Services
Interoperability issues in accessing databases through Web ServicesInteroperability issues in accessing databases through Web Services
Interoperability issues in accessing databases through Web Services
 
Mba ebooks ! Edhole
Mba ebooks ! EdholeMba ebooks ! Edhole
Mba ebooks ! Edhole
 
Free Ebooks Download edhole.com
Free Ebooks Download edhole.comFree Ebooks Download edhole.com
Free Ebooks Download edhole.com
 
java 4 Part 1 computer science.pptx
java 4 Part 1 computer science.pptxjava 4 Part 1 computer science.pptx
java 4 Part 1 computer science.pptx
 
Advance Java Practical file
Advance Java Practical fileAdvance Java Practical file
Advance Java Practical file
 
Java Database Connectivity (JDBC)
Java Database Connectivity (JDBC)Java Database Connectivity (JDBC)
Java Database Connectivity (JDBC)
 
Rollin onj Rubyv3
Rollin onj Rubyv3Rollin onj Rubyv3
Rollin onj Rubyv3
 
JDBC.ppt
JDBC.pptJDBC.ppt
JDBC.ppt
 
Core jdbc basics
Core jdbc basicsCore jdbc basics
Core jdbc basics
 
dvprimer-architecture
dvprimer-architecturedvprimer-architecture
dvprimer-architecture
 
Learn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c AdministrationLearn Oracle WebLogic Server 12c Administration
Learn Oracle WebLogic Server 12c Administration
 
P20CSP105-AdvJavaProg.pptx
P20CSP105-AdvJavaProg.pptxP20CSP105-AdvJavaProg.pptx
P20CSP105-AdvJavaProg.pptx
 
Jdbc complete
Jdbc completeJdbc complete
Jdbc complete
 
Jdbc introduction
Jdbc introductionJdbc introduction
Jdbc introduction
 
Rajesh jdbc
Rajesh   jdbcRajesh   jdbc
Rajesh jdbc
 
Spring db-access mod03
Spring db-access mod03Spring db-access mod03
Spring db-access mod03
 
JDBC java for learning java for learn.ppt
JDBC java for learning java for learn.pptJDBC java for learning java for learn.ppt
JDBC java for learning java for learn.ppt
 
Servlets
ServletsServlets
Servlets
 
3 jdbc
3 jdbc3 jdbc
3 jdbc
 
1. java database connectivity (jdbc)
1. java database connectivity (jdbc)1. java database connectivity (jdbc)
1. java database connectivity (jdbc)
 

Mais de Tuan Ngo

Introduction of cg program for portal 20120424 en
Introduction of cg program for portal 20120424 enIntroduction of cg program for portal 20120424 en
Introduction of cg program for portal 20120424 enTuan Ngo
 
Net framework
Net frameworkNet framework
Net frameworkTuan Ngo
 
15 anonymous methods, partial types and nullable types
15   anonymous methods, partial types and nullable types15   anonymous methods, partial types and nullable types
15 anonymous methods, partial types and nullable typesTuan Ngo
 
14 generics and iterators
14   generics and iterators14   generics and iterators
14 generics and iteratorsTuan Ngo
 
13 collections
13   collections13   collections
13 collectionsTuan Ngo
 
11 exception handling
11   exception handling11   exception handling
11 exception handlingTuan Ngo
 
12 events and delegates
12   events and delegates12   events and delegates
12 events and delegatesTuan Ngo
 
9 properties & indexers
9   properties & indexers9   properties & indexers
9 properties & indexersTuan Ngo
 
10 namespace
10  namespace10  namespace
10 namespaceTuan Ngo
 
8 abstract classes and interfaces
8   abstract classes and interfaces 8   abstract classes and interfaces
8 abstract classes and interfaces Tuan Ngo
 
7 inheritance and polymorphism
7   inheritance and polymorphism7   inheritance and polymorphism
7 inheritance and polymorphismTuan Ngo
 
6 class and methods
6    class and methods6    class and methods
6 class and methodsTuan Ngo
 
3 statements and operators
3   statements and operators3   statements and operators
3 statements and operatorsTuan Ngo
 
4 c# programming constructs
4   c# programming constructs4   c# programming constructs
4 c# programming constructsTuan Ngo
 
1 get started with c#
1   get started with c#1   get started with c#
1 get started with c#Tuan Ngo
 
2 variables and data types
2   variables and data types2   variables and data types
2 variables and data typesTuan Ngo
 

Mais de Tuan Ngo (20)

Introduction of cg program for portal 20120424 en
Introduction of cg program for portal 20120424 enIntroduction of cg program for portal 20120424 en
Introduction of cg program for portal 20120424 en
 
Net framework
Net frameworkNet framework
Net framework
 
15 anonymous methods, partial types and nullable types
15   anonymous methods, partial types and nullable types15   anonymous methods, partial types and nullable types
15 anonymous methods, partial types and nullable types
 
14 generics and iterators
14   generics and iterators14   generics and iterators
14 generics and iterators
 
13 collections
13   collections13   collections
13 collections
 
11 exception handling
11   exception handling11   exception handling
11 exception handling
 
12 events and delegates
12   events and delegates12   events and delegates
12 events and delegates
 
9 properties & indexers
9   properties & indexers9   properties & indexers
9 properties & indexers
 
10 namespace
10  namespace10  namespace
10 namespace
 
8 abstract classes and interfaces
8   abstract classes and interfaces 8   abstract classes and interfaces
8 abstract classes and interfaces
 
7 inheritance and polymorphism
7   inheritance and polymorphism7   inheritance and polymorphism
7 inheritance and polymorphism
 
5 arrays
5   arrays5   arrays
5 arrays
 
6 class and methods
6    class and methods6    class and methods
6 class and methods
 
3 statements and operators
3   statements and operators3   statements and operators
3 statements and operators
 
4 c# programming constructs
4   c# programming constructs4   c# programming constructs
4 c# programming constructs
 
1 get started with c#
1   get started with c#1   get started with c#
1 get started with c#
 
2 variables and data types
2   variables and data types2   variables and data types
2 variables and data types
 
Jdbc 7
Jdbc 7Jdbc 7
Jdbc 7
 
Jdbc 6
Jdbc 6Jdbc 6
Jdbc 6
 
Jdbc 2
Jdbc 2Jdbc 2
Jdbc 2
 

Último

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 

Último (20)

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 

Jdbc 3

  • 1. RowSets tnngo2@gmail.com
  • 3. Why need RowSet? Database Management Systems or the drivers provided by some database vendors do not support result sets that are scrollable and/or updatable.
  • 4. Benefits of RowSet provides scrollability and updatability for any kind of DBMS or driver. A RowSet object, being a JavaBeans component can be used to notify other registered GUI components of a change.
  • 5. Types of RowSets RowSets are classified depending on the duration of their connection to the database => Connected or Disconnected A connected Rowset obj uses a JDBC driver to establish a connection that maintained throughout the lifespan of the RowSet obj. A disconnected RowSet obj connect to read or write. After completion, it disconnects from the data source.
  • 6. Implementation of “RowSet” CachedRowSet . disconnected rowset that caches its data in memory . Ideal way to provide thin Java clients (PDA …) JdbcRowSet . connected rowset that serves mainly as a think wrapper around ResultSet object WebRowSet . connected rowset that uses the HTTP protocol internally to talk to a Java servlet that provides data access
  • 7. CachedRowSet stores or caches its data in memory so that it can operate on its on data rather than depending on the data stored in a db. http://pastebin.com/6haZewcS
  • 8. JdbcRowSet A JdbcRowSet obj is an enhanced and extended ResultSet obj which has certain properties and a listener mechanism that make it a JavaBeans components http://pastebin.com/4DAEwkE4