FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Advanced java concept
How-ToWeb Development

Advanced java concept

via Dev.to WebdevAman Verma1mo ago

==================================================== JDBC – SERVLET – JSP NOTES 🔷 1. JDBC – ResultSet Interface • ResultSet is an interface from java.sql package. • Represents data returned by SQL SELECT query. • Used for: - Retrieving data - Navigating rows - Manipulating data 🔹 Creating ResultSet Using Statement: Statement stm = con.createStatement(); ResultSet rs = stm.executeQuery("SELECT * FROM emp"); Using PreparedStatement: PreparedStatement ps = con.prepareStatement("SELECT * FROM emp"); ResultSet rs = ps.executeQuery(); 🔷 2. Types of ResultSet 1) TYPE_FORWARD_ONLY (Default) • Move only forward • Cannot move backward • Cannot jump to specific row 2) TYPE_SCROLL_INSENSITIVE • Move forward & backward • Jump to any row • Does NOT reflect DB changes 3) TYPE_SCROLL_SENSITIVE • Move forward & backward • Reflects DB changes 🔷 3. Concurrency Mode ResultSet.CONCUR_READ_ONLY • Cannot update data ResultSet.CONCUR_UPDATABLE • Can update data 🔷 4. Important ResultSet Methods next() → Move t

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
16 views

Related Articles

The kid-friendly Fitbit Ace is $100, which matches its best price
How-To

The kid-friendly Fitbit Ace is $100, which matches its best price

The Verge • 1w ago

Your iPhone has a secret button on the back - here's how to unlock it
How-To

Your iPhone has a secret button on the back - here's how to unlock it

ZDNet • 1w ago

Best Laptops for Multi-Monitor Setups in 2026
How-To

Best Laptops for Multi-Monitor Setups in 2026

Medium Programming • 1w ago

I Thought Learning Tech Would Fix My Life. It Didn’t.
How-To

I Thought Learning Tech Would Fix My Life. It Didn’t.

Medium Programming • 1w ago

How a Future Twitter Co-Founder Almost Lost a $10,000,000,000 Opportunity — Most Developers Make…
How-To

How a Future Twitter Co-Founder Almost Lost a $10,000,000,000 Opportunity — Most Developers Make…

Medium Programming • 1w ago

Discover More Articles