Advanced JDBC
CloudLabs
Projects
Assignment
24x7 Support
Lifetime Access
.
Course Overview
JDBC is a Java-based data access technology (Java Standard Edition platform) from Oracle Corporation. This technology is an API for the Java programming language that defines how a client may access a database. It provides methods for querying and updating data in a database. JDBC is oriented towards relational databases. A JDBC-to-ODBC bridge enables connections to any ODBC-accessible data source in the JVM host environment.
At the end of the training, participants will be able to:
Pre-requisite
All attendees should be familiar with basic Java programming.
Duarion
5 days
Course Outline
- Re-Introducing JDBC
- Review of JDBC architecture
- Review of JDBC driver types
- Discussion of evolution of JDBC from version 1.0 through 2.0 and 3.0
- Principles of Agile and Scrum
- Database concepts review
- Relational database terminology
- SELECT, INSERT, UPDATE, and DELETE statements
- Transactions, logging, isolation, and concurrency
- Key JDBC classes and the java.sql package
- DriverManager and DataSource
- Connection
- Statement, PreparedStatement, and CallableStatement
- Extra features supported by the javax.sql package
- Rowsets
- Application development activities using the basic JDBC concepts
- Building an interface for selecting records
- Building a data-drilldown example
- Building interfaces for inserting, updating, and deleting records
- Connecting to databases
- Selecting and installing a database driver
- Connecting to the database via a network address
- Connecting to the database based on information supplied by JNDI (the Java Naming and Directory Interface)
- Using the java.sql.DataSource class
- Increasing performance with connection pooling
- Opening and closing the connection
- Handling ClassNotFoundException and SQLException
- Working with a database connection
- Controlling transaction behavior
- Using getWarning and clearWarnings to retrieve, respond to, and clear warnings
- Creating statements, prepared statements, and callable statements
- Retrieving and using database metadata
- Ad-Hoc SQL queries with Statement and PreparedStatement
- Creating a Statement object
- Executing a SQL statement
- Using executeQuery() for statements that return a ResultSet
- Using executeUpdate() for statements that change the database and don’t return a ResultSet
- Receiving a ResultSet as the result of a query
- Iterating through and retrieving results
- Moving the cursor within the ResultSet
- Establishing when you are at the beginning or end of the ResultSet
- Creating a PreparedStatement object
- Setting PreparedStatement parameters
- Executing the PreparedStatement
- Additional techniques for working with ResultSets
- Navigating the cursor forward, backward, and arbitrarily within a ResultSet
- Using updateable ResultSets
- Batch updating of ResultSets
- More in-depth
- Obtaining ResultSetMetaData
- What you can/can’t find out via ResultSetMetaData
- Obtaining column data types, names, labels, and display sizes
- Obtaining the column count
- Additional useful applications for the ResultSetMetaData
- JDBC transactions
- Understanding ACID (atomicity, consistency, isolation, and durability)
- Turning the committing of transactions on or off
- Committing and rolling back transactions
- Overview of distributed transactions in Java EE
- JDBC design patterns
- Overview of client tier, presentation tier, business tier, and resource tier patterns
- The data access object pattern
- The value object pattern
- The model-view-controller pattern
- Conclusion
Reviews
"The corporate training provided by Greater Insights was truly exceptional. The trainers were highly knowledgeable and engaging, making the sessions both informative and enjoyable. I gained valuable insights and practical skills that I immediately applied in my work. I highly recommend Greater Insights for their professionalism and expertise."
Rahul NiraniaSamsung
"As a participant of the corporate training program organized by Greater Insights, I was thoroughly impressed with the level of customization they offered. They took the time to understand our specific needs and tailored the training accordingly. The trainers were fantastic, and the interactive sessions fostered an environment of active learning. I am grateful for the valuable knowledge and skills I acquired."
Bhawna TiwariSamsung
"I cannot express enough gratitude to Greater Insights for the outstanding corporate training they provided. The trainers were not only experts in their respective fields but also incredible communicators. They created a dynamic and collaborative learning environment, which allowed us to learn from one another. The training surpassed my expectations, and I would eagerly participate in any future programs they offer."
Ashutosh SinghSamsung
"Attending the corporate training sessions organized by Greater Insights was a game-changer for me. The trainers were not only experienced professionals but also inspiring mentors. They equipped me with practical tools and strategies that have significantly enhanced my productivity and efficiency at work. I wholeheartedly recommend Greater Insights to anyone looking to excel in their professional endeavors."
Somashekar MuniyappaInfogain
"The corporate training program offered by Greater Insights was an enlightening experience. The trainers had a deep understanding of the subject matter and were able to break down complex concepts into easily digestible information. The interactive activities and case studies made the training engaging and relevant to our day-to-day work challenges. This training has undoubtedly boosted my confidence and competence."
Amresh DiwanInfogain
"I had the privilege of participating in a corporate training program organized by Greater Insights, and I must say it was a transformative experience. The trainers' expertise and passion for their subjects were evident in every session. The training materials provided were comprehensive and well-structured, enabling us to grasp the content effectively. I am grateful for the valuable skills I acquired, which have greatly contributed to my professional growth."
Namratha BabuTorry Harris
"The corporate training sessions conducted by Greater Insights were simply outstanding. The trainers went above and beyond to ensure that we understood the concepts thoroughly. The interactive nature of the sessions encouraged active participation and enhanced our learning experience. I am truly grateful for the practical strategies and techniques I learned, which have had a positive impact on my work performance."
Rahul BhashyamTorry Harris
"Participating in the corporate training program organized by Greater Insights was an enlightening experience. The trainers were not only knowledgeable but also skilled at delivering the content in an engaging manner. The training materials were well-designed, and the real-life examples provided valuable insights. I am confident that the knowledge and skills I gained will significantly contribute to my professional growth."
Deepti JainTorry Harris
"I can confidently say that the corporate training provided by Greater Insights was top-notch. The trainers were highly experienced and had a knack for simplifying complex concepts. The training sessions were interactive and encouraged open discussions, which fostered a collaborative learning environment. The practical skills I acquired during the training have proven to be invaluable in my day-to-day work."
HARSHAL TRIVEDIL&T TS
"Greater Insights exceeded my expectations with their corporate training program. The trainers were not only experts in their fields but also exceptional communicators. They effortlessly connected with the participants and ensured everyone's active involvement. The training content was comprehensive and provided a solid foundation for professional growth. I am grateful for the opportunity to learn from such seasoned professionals."
Namrata PillayL&T TS
"The corporate training facilitated by Greater Insights was exceptional in every aspect. The trainers were engaging and created a positive and inclusive learning environment. The training materials were well-structured and easy to follow, making the learning process enjoyable. The practical exercises and case studies allowed me to apply the knowledge immediately, resulting in improved job performance. I highly recommend Greater Insights for their commitment to excellence."
Sandhya M SanuHoneywell
"I recently attended a corporate training program organized by Greater Insights, and I am incredibly impressed. The trainers were not only knowledgeable but also highly skilled at delivering the content in a relatable manner. The training sessions were interactive and encouraged open dialogue, which made the learning experience engaging and dynamic. The practical skills I gained have already made a significant impact on my professional growth."
Neha SahayHoneywell
"I had the privilege of participating in a corporate training program conducted by Greater Insights, and it was truly transformative. The trainers were passionate and dedicated professionals who took the time to address our individual needs. The training sessions were interactive and encouraged active participation, allowing us to learn from one another's experiences. I am grateful for the knowledge and skills I acquired, which have undoubtedly propelled my career forward."
Abishek KalliparambilAllianz
"The corporate training program offered by Greater Insights was a remarkable experience. The trainers had a wealth of knowledge and were adept at imparting it effectively. The training materials were comprehensive and provided valuable resources for further exploration. The interactive activities and practical exercises helped me internalize the concepts and apply them in real-world scenarios. This training has been instrumental in my professional development."
Kishor KumarITC Infotech
"I cannot thank Greater Insights enough for the incredible corporate training they provided. The trainers were not only subject matter experts but also skilled at creating a positive and inclusive learning environment. The training sessions were well-structured, and the trainers ensured that we understood the content thoroughly. I am grateful for the valuable insights and skills I gained, which have already made a noticeable difference in my professional life."
Anitha PrashanthIndegene
Previous
Next