<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>jdbc example - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/jdbc-example/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/jdbc-example/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Sat, 11 Sep 2021 11:41:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.wikitechy.com/interview-questions/wp-content/uploads/2025/10/cropped-wikitechy-icon-32x32.png</url>
	<title>jdbc example - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/jdbc-example/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Difference between JDBC and Hibernate ? Give one sample based on the variance ?</title>
		<link>https://www.wikitechy.com/interview-questions/java/difference-between-jdbc-and-hibernate-give-one-sample-based-on-the-variance/</link>
					<comments>https://www.wikitechy.com/interview-questions/java/difference-between-jdbc-and-hibernate-give-one-sample-based-on-the-variance/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 23:06:50 +0000</pubDate>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between jdbc and hibernate]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[hibernate 5]]></category>
		<category><![CDATA[hibernate annotations]]></category>
		<category><![CDATA[hibernate criteria]]></category>
		<category><![CDATA[hibernate example]]></category>
		<category><![CDATA[hibernate framework]]></category>
		<category><![CDATA[hibernate interview questions]]></category>
		<category><![CDATA[hibernate java]]></category>
		<category><![CDATA[hibernate mapping]]></category>
		<category><![CDATA[hibernate meaning]]></category>
		<category><![CDATA[hibernate orm]]></category>
		<category><![CDATA[hibernate tutorial]]></category>
		<category><![CDATA[hibernate version]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Infosys Technologies interview questions and answers]]></category>
		<category><![CDATA[jdbc]]></category>
		<category><![CDATA[jdbc connection]]></category>
		<category><![CDATA[jdbc connection in java]]></category>
		<category><![CDATA[jdbc download]]></category>
		<category><![CDATA[jdbc driver]]></category>
		<category><![CDATA[jdbc driver download]]></category>
		<category><![CDATA[jdbc example]]></category>
		<category><![CDATA[jdbc in java]]></category>
		<category><![CDATA[jdbc mysql]]></category>
		<category><![CDATA[jdbc odbc]]></category>
		<category><![CDATA[jdbc sql server]]></category>
		<category><![CDATA[jdbc sqlserver]]></category>
		<category><![CDATA[jdbc url]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[oracle jdbc]]></category>
		<category><![CDATA[oracle jdbc driver download]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[Persistent Systems interview questions and answers]]></category>
		<category><![CDATA[postgresql jdbc driver]]></category>
		<category><![CDATA[RBS India De interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[spring and hibernate]]></category>
		<category><![CDATA[spring hibernate]]></category>
		<category><![CDATA[spring hibernate example]]></category>
		<category><![CDATA[spring hibernate integration]]></category>
		<category><![CDATA[sql server jdbc driver]]></category>
		<category><![CDATA[sqljdbc]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[xybion interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=624</guid>

					<description><![CDATA[Answer : JDBC(Java Database Connectivity) is an API which is used to access database...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="what-is-jdbc" class="color-purple" style="text-align: justify;"><span style="font-family: inherit; font-size: 2rem;">What is JDBC ?</span></h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>JDBC(Java Database Connectivity) is an API which is used to access database in a java program.</li>
<li>It is a tool for java-database connection.</li>
<li>There are various methods and queries provided by JDBC for accessing database. For making connections drivers are provided by JDBC.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/java/what-is-jdbc.png" alt=" What is JDBC" /></div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="what-is-hibernate" class="color-blue">What is Hibernate ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Hibernate is an ORM tool which is used to map database tables to java classes.</li>
<li>It is easy to implement and using OOP concept of java to database tables.</li>
<li>Hibernate makes the connection itself and in hibernate to operate over the tables we use hibernate’s query language.</li>
<li>So in JDBC we were using SQl(structured query language) but here it itself provides the language which is popularly known as Hql.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/java/what-is-hibernate.png" alt=" What is Hibernate" /></div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="difference-between-jdbc-and-hibernate" class="color-purple">Difference between JDBC and Hibernate ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Hibernate is ORM wich maps POJO using xml file to access and create data form hatro database. but in jdbc developers has to write code to map object model data to RDBMS and it access.</li>
<li>JDBC using SQL to access database developer has to effective way to access the database. but hibernate provides HQL which powerful and includes all feature of SQL and supports ploymorphic query.</li>
<li>Hibernate data transaction is fast due to work is perform due container mean its xml file mostly but JDBC has slow transaction.</li>
</ul>
</div>
</div>
<div class="Content">
<div class="hddn">
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr style="text-align: justify;">
<th>JDBC</th>
<th>Hibernate</th>
</tr>
<tr style="text-align: justify;">
<td class="text-leftalign">JDBC does not support lazy loading</td>
<td class="text-leftalign">Hibernate does support lazy loading which offers better performance</td>
</tr>
<tr style="text-align: justify;">
<td class="text-leftalign">In JDBC user is responsible for creating<br />
and closing the connections</td>
<td class="text-leftalign">But in case of hibernate Run time system takes care of creating and closing the connections</td>
</tr>
<tr style="text-align: justify;">
<td class="text-leftalign">JDBC is a technology</td>
<td class="text-leftalign">Hibernate is a orm framework</td>
</tr>
<tr>
<td class="text-leftalign" style="text-align: justify;">Does not support associations</td>
<td class="text-leftalign" style="text-align: justify;">support associations.</td>
</tr>
</tbody>
</table>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/java/difference-between-jdbc-and-hibernate-give-one-sample-based-on-the-variance/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
