<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2007887024120390878</id><updated>2024-09-19T06:36:08.961-07:00</updated><title type='text'>cdac 2009,cdac 2010 mohali noida hyderabad pune,download solved paper,desd,dabc,dac,desd</title><subtitle type='html'>cdac 2009,cdac 2010 mohali noida hyderabad pune,download solved paper for courses in dabc,desd,dac&#xa;original cdac material assignment lecture and assignments&#xa;this blog consist only please go on my other blog for other material of jdbc presentation ppt power point tutorial and assignment only about java database connectivity</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jdbcpresentation.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://jdbcpresentation.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>seoguru</name><uri>http://www.blogger.com/profile/09954993971968480845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2007887024120390878.post-7350603534903758010</id><published>2010-04-24T02:06:00.000-07:00</published><updated>2010-04-24T02:06:43.217-07:00</updated><title type='text'>cdac databse technology normaliztion part-4</title><content type='html'>&lt;h1&gt;Cdac original post part-3 for cdac mohali,cdac trivandrum,cdac pune,cdac hyderabad,noida and bangalore and recruitment from cdac.&lt;br /&gt;
Let me tell you before you go for this presenation how is the placement and recruitment in cdac going on.&lt;br /&gt;
I know about cdac hyderabad for cdac dabc its almost 100% and dac pune has around 80% ,desd pune has around 60% and desd hyderabad recruitment 70%.&lt;/h1&gt;Rest please you can enquire these things from orkut communities for 2010 created.&lt;br /&gt;
Here i am going on Data Normalization&lt;br /&gt;
Normalization&lt;br /&gt;
&lt;br /&gt;
Database normalization is a technique for designing relational database tables to minimize duplication of information and to safeguard the database against certain types of logical or structural problems, namely data anomalies&lt;br /&gt;
&lt;br /&gt;
Objectives&lt;br /&gt;
&lt;br /&gt;
Data normalization aims to derive at records which avoid ?&lt;br /&gt;
Repetition of Data&lt;br /&gt;
Update anomalies&lt;br /&gt;
Insert Anomalies&lt;br /&gt;
Delete Anomalies&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Process of Normalization&lt;br /&gt;
Usually three steps (in industry) giving rise to&lt;br /&gt;
First Normal Form (1NF)&lt;br /&gt;
Second Normal Form (2NF)&lt;br /&gt;
Third Normal Form (3NF)&lt;br /&gt;
In academia&lt;br /&gt;
Boyce -Codd Normal Form (BCNF)&lt;br /&gt;
Fourth Normal Form (4NF)&lt;br /&gt;
Steps in Data Normalization&lt;br /&gt;
Attributes - Repeating Groups&lt;br /&gt;
When a group of attributes has multiple values then we say there is a repeating group of attributes in the entity&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Functional Dependency&lt;/h2&gt;&lt;br /&gt;
Consider a relation R that has two attributes A and B. The attribute B of the relation is functionally dependent on the attribute A if and only if for each value of A no more than one value of B is associated.&lt;br /&gt;
 In other words, the value of attribute A uniquely determines the value of B &lt;br /&gt;
&lt;br /&gt;
Stud_id -&gt; stud_name&lt;br /&gt;
Stud_id -&gt; Date of Birth&lt;br /&gt;
Module_id -&gt; Module name&lt;br /&gt;
Marks -&gt; grade&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Full Functional Dependency&lt;/h2&gt;Let A and B be distinct collections of attributes from a relation R B is then fully functionally dependent on A if B is not functionally dependent on any subset of A.&lt;br /&gt;
(Stud_id, Module_id) -&gt; marks &lt;br /&gt;
&lt;br /&gt;
First Normal Form&lt;br /&gt;
A relation is in 1NF if and only if every attribute is single valued for &lt;br /&gt;
each tuple or row.&lt;br /&gt;
&lt;br /&gt;
A relation is in 1NF if and only if there are no repeating groups of&lt;br /&gt;
Attribute values.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Example of First Normal Form&lt;br /&gt;
PURCHASE-ORDER (ORDER#, SUPPLIER#, ORDER-DATE&lt;br /&gt;
  DELIVERY-DATE, (PART#, PART-DESCRIPTION,&lt;br /&gt;
  QUANTITY-ORDERED, PRICE), TOTAL-PRICE)&lt;br /&gt;
Example in 1NF&lt;br /&gt;
PURCHASE-ORDER (ORDER#, SUPPLIER#, ORDER-DATE&lt;br /&gt;
  DELIVERY-DATE, TOTAL-PRICE)&lt;br /&gt;
PURCHASE-ITEM-1 ( ORDER#, PART#, PART-DESCRIPTION,&lt;br /&gt;
  QUANTITY-ORDERED, PRICE)&lt;br /&gt;
Example&lt;br /&gt;
STUDENT (Student#, student-name, student-address)&lt;br /&gt;
&lt;br /&gt;
ENROLMENT (Student#, Course#, course-title,&lt;br /&gt;
  tutor-name,tutor-staff#&lt;br /&gt;
1st Normal Form&lt;br /&gt;
Process results in separation of different objects&lt;br /&gt;
BUT anomalies may still exist&lt;br /&gt;
PURCHASE-ITEM-1( ORDER#, PART#, PART-DESCRIPTION,QUANTITY-ORDERED, PRICE)&lt;br /&gt;
&lt;br /&gt;
PART-DESCRIPTION appears on every PURCHASE-ITEM  occurrence.&lt;br /&gt;
This may result in anomalies when updating or deleting records&lt;br /&gt;
The problem in the example is that PART-DESCRIPTION is functionally dependent only on PART# (part of the identifier)&lt;br /&gt;
Second Normal Form&lt;br /&gt;
A relation is in 2NF if and only if it is in 1NF and all the &lt;br /&gt;
non-key attributes are fully functionally dependent on the &lt;br /&gt;
key.&lt;br /&gt;
&lt;br /&gt;
Any entity type in 1NF is transformed to 2NF&lt;br /&gt;
&lt;h2&gt;Identify functional dependencies&lt;/h2&gt;Re-write entity types so that each non-identifying attribute is functionally dependent on the whole of the identifier&lt;br /&gt;
Example&lt;br /&gt;
PURCHASE-ORDER (ORDER#, SUPPLIER#, ORDER-DATE&lt;br /&gt;
  DELIVERY-DATE, TOTAL-PRICE)&lt;br /&gt;
PURCHASE-ITEM-1 ( ORDER#, PART#, PART-DESCRIPTION,&lt;br /&gt;
  QUANTITY-ORDERED, PRICE)&lt;br /&gt;
Functional Dependencies&lt;br /&gt;
PURCHASE-ORDER (ORDER#, SUPPLIER#, ORDER-DATE&lt;br /&gt;
  DELIVERY-DATE, TOTAL-PRICE)&lt;br /&gt;
PURCHASE-ITEM-1 ( ORDER#, PART#, PART-DESCRIPTION,&lt;br /&gt;
  QUANTITY-ORDERED, PRICE)&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;In 2nd Normal Form&lt;/h2&gt;Decompose PURCHASE-ITEM into two entity types&lt;br /&gt;
PURCHASE-ITEM (Order#, Part#, Quantity-Ordered, Price)&lt;br /&gt;
PART (Part#, Part-Description)&lt;br /&gt;
Original entity types are decomposed into three entity types in 2nd normal form&lt;br /&gt;
PURCHASE-ORDER (Order#,Supplier#, Order-Date, Delivery-Date, Total-Price)&lt;br /&gt;
PURCHASE-ITEM (Order#, Part#,Quantity-Ordered, Price)&lt;br /&gt;
PART (Part#, Part-Description)&lt;br /&gt;
Example in 2NF&lt;br /&gt;
STUDENT (Student#,Student-Name, Student-Address)&lt;br /&gt;
ENROLMENT ( Student#, Course#, Tutor-Name, Tutor-Staff#)&lt;br /&gt;
COURSE (Course#, Course-Title)&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Third normal Form&lt;/h2&gt;A relation is in 3NF if and only if it is in 2NF and no &lt;br /&gt;
non-key attribute is transitively dependent on the key.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Any enity type in 2NF is transformed in 3NF&lt;/h2&gt;Determine functional dependencies between non identifying attributes&lt;br /&gt;
Decompose enity into new entities&lt;br /&gt;
Example&lt;br /&gt;
STUDENT (Student#,Student-Name, Student-Adderss)&lt;br /&gt;
ENROLMENT ( Student#, Course#, Tutor-Name, Tutor-Staff#)&lt;br /&gt;
COURSE (Course#,, Course-Title)&lt;br /&gt;
Functional Dependencies&lt;br /&gt;
 STUDENT (Student#,Student-Name, Student-Adderss)&lt;br /&gt;
 ENROLMENT ( Student#, Course#, Tutor-Name, Tutor-Staff#)&lt;br /&gt;
 COURSE (Course#,, Course-Title)&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Example in 3NF&lt;/h2&gt;STUDENT (Student#,Student-Name, Student-Adderss)&lt;br /&gt;
ENROLMENT ( Student#, Course#, Tutor-Staff#)&lt;br /&gt;
COURSE (Course#,, Course-Title)&lt;br /&gt;
TUTOR (Tutor-Staff#, Tutor-Name)&lt;br /&gt;
Example of Normal Forms&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Functional Dependencies&lt;/h2&gt;Analysis of the sample FDs&lt;br /&gt;
1NF: Since PROGNAME and EMPID is the composite key, each cell contain single value so WORK is in 1NF.&lt;br /&gt;
The partial dependencies are &lt;br /&gt;
                 PROJNAME           PROJMGR, BUDGET, STARTDATE&lt;br /&gt;
                 EMPID                    EMPNAME, SALARY, EMPMGR, EMPDEPT&lt;br /&gt;
&lt;br /&gt;
Transform the relation work into an equivalent collection of 2NF relations&lt;br /&gt;
The relations schemes are:&lt;br /&gt;
   PROJ ( PROJNAME, PROJMGR, BUDGET, STARTDATE)&lt;br /&gt;
   EMP ( EMPID, EMPNAME, SALARY, EMPMGR, EMPDEPT)&lt;br /&gt;
   WORK1 ( PROJANAME, EMPID, HOURS, RATING)&lt;br /&gt;
The above relations schemes are in 2NF.&lt;br /&gt;
&lt;br /&gt;
Here is the download link &lt;a href=&quot;http://www.mediafire.com/file/2knxwdmhkzn/normalisation_radhika.ppt&quot;&gt;download&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://jdbcpresentation.blogspot.com/feeds/7350603534903758010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdbcpresentation.blogspot.com/2010/04/cdac-databse-technology-normaliztion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/7350603534903758010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/7350603534903758010'/><link rel='alternate' type='text/html' href='http://jdbcpresentation.blogspot.com/2010/04/cdac-databse-technology-normaliztion.html' title='cdac databse technology normaliztion part-4'/><author><name>seoguru</name><uri>http://www.blogger.com/profile/09954993971968480845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2007887024120390878.post-5602640072667531577</id><published>2010-04-24T01:54:00.000-07:00</published><updated>2010-04-24T01:55:13.226-07:00</updated><title type='text'>cdac er diagram prsentation part-3</title><content type='html'>&lt;h1&gt;Cdac original post part-3 for cdac mohali,cdac trivandrum,cdac pune,cdac hyderabad,noida and bangalore and recruitment from cdac.&lt;br /&gt;
Let me tell you before you go for this presenation how is the placement and recruitment in cdac going on.&lt;br /&gt;
I know about cdac hyderabad for cdac dabc its almost 100% and dac pune has around 80% ,desd pune has around 60% and desd hyderabad recruitment 70%.&lt;/h1&gt;Rest please you can enquire these things from orkut communities for 2010 created.&lt;br /&gt;
Here i am going on er model &lt;br /&gt;
Er diagram :-&lt;br /&gt;
These all wil be covered &lt;br /&gt;
Entity Sets&lt;br /&gt;
Relationship Sets&lt;br /&gt;
Mapping Constraints&lt;br /&gt;
Keys&lt;br /&gt;
E–R Diagram&lt;br /&gt;
Design of an E-R Database Schema&lt;br /&gt;
Reduction of an E-R Schema to Tables&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Entity-Relationship Diagrams&lt;/h2&gt;Developed by Chen in 1965.&lt;br /&gt;
Purpose:&lt;br /&gt;
To facilitate database design by allowing the designer to express the logical properties of the database in an enterprise schema.&lt;br /&gt;
&lt;br /&gt;
An enterprise schema is a description that corresponds to the conceptual level.&lt;br /&gt;
&lt;br /&gt;
It is valid for any kind of DBMS and will remain correct even if the DBMS is changed.&lt;br /&gt;
&lt;br /&gt;
The diagrams are basically design tools and documentation for the system.&lt;br /&gt;
&lt;br /&gt;
Classified as a Semantic data model since it attempts to capture the meaning and structure.&lt;br /&gt;
&lt;br /&gt;
Entity Relationship Model c&lt;br /&gt;
&lt;br /&gt;
&lt;h1&gt;Representation of  ER model&lt;/h1&gt;The items in the model represent the ‘things’ in the real-world, and the &lt;br /&gt;
relationships between the real-world things are expressed by relationships in the model.&lt;br /&gt;
The environment of the model consists of&lt;br /&gt;
Entities&lt;br /&gt;
Attributes&lt;br /&gt;
Keys&lt;br /&gt;
Super Keys, Candidate Keys, Primary Keys, Foreign Keys&lt;br /&gt;
Relationships&lt;br /&gt;
one-one , one-many, many-one, many - many&lt;br /&gt;
Dependencies&lt;br /&gt;
Existence Dependency&lt;br /&gt;
Aggregation and Generalization&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Entity Sets&lt;/h2&gt;A database can be modeled as:&lt;br /&gt;
– a collection of entities,&lt;br /&gt;
– relationships among entities.&lt;br /&gt;
&lt;br /&gt;
An entity is an object that exists and is distinguishable from other objects.&lt;br /&gt;
Example: specific person, company, event&lt;br /&gt;
&lt;br /&gt;
An entity set is a set of entities of the same type that share same properties.&lt;br /&gt;
Example: set of all persons, companies, trees, holidays&lt;br /&gt;
&lt;br /&gt;
&lt;h1&gt;Attributes&lt;/h1&gt;An entity is represented by a set of attributes, that is,&lt;br /&gt;
descriptive properties possessed by all members of an entity set.&lt;br /&gt;
Example:&lt;br /&gt;
customer = (customer-name, social-security,&lt;br /&gt;
customer-street, customer-city)&lt;br /&gt;
account = (account-number, balance)&lt;br /&gt;
Domain – the set of permitted values for each attribute&lt;br /&gt;
Attribute types:&lt;br /&gt;
– Simple and composite attributes.&lt;br /&gt;
– Single-valued and multi-valued attributes.&lt;br /&gt;
– Derived attributes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Relationship Sets&lt;/h2&gt;A relationship is an association among several entities&lt;br /&gt;
An attribute can also be a property of a relationship set.&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Degree of Relationship Set&lt;/h2&gt;Refers to number of entity sets that participate in a relationship set.&lt;br /&gt;
&lt;br /&gt;
Relationship sets that involve two entity sets are binary sets.&lt;br /&gt;
&lt;br /&gt;
Relationship sets may involve more than two entity sets. Relationship sets that involve two entity sets are ternary sets.&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Roles&lt;/h2&gt;The labels “manager” and “worker” are called roles; they specify how employee entities interact via the works-for relationship set.&lt;br /&gt;
&lt;br /&gt;
Roles are indicated in E-R diagrams by labeling the lines that connect diamonds to rectangles. &lt;br /&gt;
&lt;br /&gt;
Mapping Cardinality&lt;br /&gt;
Express the number of entities to which another entity can be associated via a relationship set.&lt;br /&gt;
&lt;br /&gt;
For a binary relationship set the mapping cardinality must be one of the following types:&lt;br /&gt;
– One to one&lt;br /&gt;
– One to many&lt;br /&gt;
– Many to one&lt;br /&gt;
– Many to many&lt;br /&gt;
&lt;br /&gt;
Relationships&lt;br /&gt;
Relationships&lt;br /&gt;
Existence Dependencies&lt;br /&gt;
If the existence of entity x depends on the existence of entity y,&lt;br /&gt;
then x is said to be existence dependent on y.&lt;br /&gt;
– y is a dominant entity (loan)&lt;br /&gt;
– x is a subordinate entity (payment)&lt;br /&gt;
&lt;br /&gt;
Keys&lt;br /&gt;
Each record in a table must be unique &lt;br /&gt;
&lt;br /&gt;
A super key is a column, or a set of columns, that uniquely identifies a record in a table.&lt;br /&gt;
&lt;br /&gt;
A minimal super key ,  with no  proper subset that is also a super key, is called a candidate key.&lt;br /&gt;
&lt;br /&gt;
A key consisting of more than one column is called a composite key.&lt;br /&gt;
&lt;br /&gt;
A primary key is the candidate key that is selected by the database designer, to uniquely identify records within the table.&lt;br /&gt;
– the candidate keys not selected are called&lt;br /&gt;
alternate keys.&lt;br /&gt;
&lt;br /&gt;
A foreign key is a column or set of columns within a table that is the candidate key of another table.&lt;br /&gt;
&lt;br /&gt;
Weak Entity Sets&lt;br /&gt;
An entity set that does not have a primary key is referred to as a weak entity set.&lt;br /&gt;
&lt;br /&gt;
The existence of a weak entity set depends on the existence of a strong entity set; it must relate to the strong set via a one-to-many relationship set.&lt;br /&gt;
&lt;br /&gt;
The discriminator (or partial key) of a weak entity set is the set of attributes that distinguishes among all the entities of a weak entity set.&lt;br /&gt;
&lt;br /&gt;
The primary key of a weak entity set is formed by the primary key of the strong entity set on which the weak entity set is existence dependent, plus the weak entity set’s discriminator.&lt;br /&gt;
Weak Entity Set&lt;br /&gt;
Specialization Example&lt;br /&gt;
Generalization&lt;br /&gt;
A bottom-up design process – combine a number of entity sets that share the same features into a higher-level entity set&lt;br /&gt;
&lt;br /&gt;
Specialization and generalization are simple inversions of each other; they are represented in an E-R diagram in the same way.&lt;br /&gt;
&lt;br /&gt;
Attribute Inheritance – a lower-level entity set inherits all the attributes and relationship participation of the higher-level entity set to which it is linked.&lt;br /&gt;
&lt;br /&gt;
Aggregation&lt;br /&gt;
It is an abstraction of that allows us to group together objects into higher level objects.&lt;br /&gt;
&lt;br /&gt;
Its inverse is decomposition, means breaking&lt;br /&gt;
up an object into its detailed components. &lt;br /&gt;
In ERD, aggregation is represented by placing a large labeled rectangle around the objects being aggregated, whether they are entity sets alone or  include relationships.&lt;br /&gt;
Download here oroginal er diagram cdac presenattion &lt;a href=&quot;http://www.mediafire.com/file/rzi2zroy5al/e-r diagrams.ppt&quot;&gt;download&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://jdbcpresentation.blogspot.com/feeds/5602640072667531577/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdbcpresentation.blogspot.com/2010/04/cdac-original-post-part-3-for-cdac.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/5602640072667531577'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/5602640072667531577'/><link rel='alternate' type='text/html' href='http://jdbcpresentation.blogspot.com/2010/04/cdac-original-post-part-3-for-cdac.html' title='cdac er diagram prsentation part-3'/><author><name>seoguru</name><uri>http://www.blogger.com/profile/09954993971968480845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2007887024120390878.post-6931425558322633621</id><published>2010-04-21T22:38:00.001-07:00</published><updated>2010-04-21T22:38:32.640-07:00</updated><title type='text'>cdac 2010 database presentation</title><content type='html'>Database technology Part-2&lt;br /&gt;&lt;br /&gt;THERE ARE MANY UPCOMING TECHNOLOGY DATABASE ABOUT ACCESS DATABASE &lt;br /&gt; what is database  	 &lt;br /&gt;what is database system&lt;br /&gt;what is database development will all be covered in this database presentation&lt;br /&gt;&lt;br /&gt;web database technolgy is based on sql database and upcoming database are the fusion oracle database .&lt;br /&gt;Smallest db is couchdb used in Iphone apps and in html5 .&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Structured Query Language&lt;/h2&gt;&lt;br /&gt;It’s a relational database language&lt;br /&gt;SQL commands are the means of communication with DBMS&lt;br /&gt;SQL can be categorized as &lt;br /&gt;&lt;br /&gt;DDL(Data Definition Language):Those SQL commands that &lt;br /&gt;Operate on structure of database objects (table)?&lt;br /&gt;Create,Alter,Drop.&lt;br /&gt;&lt;br /&gt;DML(Data Manipulation Language): Those SQL commands&lt;br /&gt; that operate on the data stored in the database objects.&lt;br /&gt;Insert,Update,Delete,Select&lt;br /&gt;&lt;br /&gt;DCL(Data Control Language): Those SQL commands that &lt;br /&gt;Control the behavior of database objects&lt;br /&gt;Commit,Rollback,Save point&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Data types&lt;/h2&gt;&lt;br /&gt;Character data types&lt;br /&gt;-CHAR(size):Stores fixed length character data.&lt;br /&gt;Max size is 2000 bytes. Default &amp; min size is 1 byte.&lt;br /&gt;&lt;br /&gt;-VARCHAR2(size): Stores variable length character strings.&lt;br /&gt;Max size is 4000 bytes, Min size is 1 byte. Must specify size.&lt;br /&gt;&lt;br /&gt;-LONG:Columns defined as LONG can store variable-length &lt;br /&gt;character data containing up to two gigabytes of information.&lt;br /&gt;&lt;br /&gt;Number data types&lt;br /&gt;-NUMBER(p,s): Stores numbers (fixed or floating point).&lt;br /&gt;&lt;br /&gt;DATE: stores date &amp; time. Standard format is &lt;br /&gt;DD-MON-YY HH:MI:SS&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Data types&lt;/h2&gt;&lt;br /&gt;LOB data types: Stores large blocks of unstructured&lt;br /&gt; data (such as text, graphic images, video clips, and &lt;br /&gt;sound waveforms)  up to four gigabytes in size.&lt;br /&gt;-BLOB: stores up to four gigabytes of binary data&lt;br /&gt;-CLOB: stores up to four gigabytes of character data.&lt;br /&gt;-BFILE:stores a file locator that points to an external file &lt;br /&gt;containing the data.&lt;br /&gt;&lt;br /&gt;RAW/LONG RAW:used to store binary data such as picture&lt;br /&gt; image .&lt;br /&gt;RAW max length 2000 bytes.&lt;br /&gt;LONG RAW: 2gigabytes.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;DML consist of-&lt;/h2&gt;&lt;br /&gt;Create &lt;br /&gt;Alter&lt;br /&gt;Drop&lt;br /&gt;&lt;br /&gt;here is the link to download&lt;br /&gt;&lt;a href=&quot;http://www.mediafire.com/file/5ihmwjizq1t/DBT day2.ppt&quot;&gt;download original cdac ppt&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;10g databaseaccess databasec# access databaseclient databaseconnecting databaseconnection databaseconvert access to sqlcopy technologydatabase advantagesdatabase codedatabase comparisondatabase conceptsdatabase connectdatabase engineeringdatabase fromdatabase indiadatabase installationdatabase introductiondatabase programsdatabase querydatabase replicationdatabase stored proceduresdatabase systemdatabase tablesdatabase technologiesdatabase technologydatabase withdatabases for dummiesdb databasedbms databasedelete databasedesigning databaseexample databasehow to databaseinstall databaselinux databasemicrosoft sqlmicrosoft sql servermicrosoft technologyms sql server databasemssql databasenew database technologiesperformance sqlperformance sql serverperformance sql server 2000performance tuning sql serverppt databaseselect databaseserver databasesql 2000sql databasesql database designsql generatorsql scriptssql serversql server 2000sql server 2000 tutorialsql server applicationssql server copy tablesql server database designsql server databasessql server dbasql server programmingsql server toolssql server tutorialssql technologysqlserver databasetable databasetechnology databasestrigger databaseusing databaseweb database applicationweb database technologies</content><link rel='replies' type='application/atom+xml' href='http://jdbcpresentation.blogspot.com/feeds/6931425558322633621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdbcpresentation.blogspot.com/2010/04/cdac-2010-database-presentation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/6931425558322633621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/6931425558322633621'/><link rel='alternate' type='text/html' href='http://jdbcpresentation.blogspot.com/2010/04/cdac-2010-database-presentation.html' title='cdac 2010 database presentation'/><author><name>seoguru</name><uri>http://www.blogger.com/profile/09954993971968480845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2007887024120390878.post-2466318053298712661</id><published>2010-04-14T08:48:00.000-07:00</published><updated>2010-04-21T22:40:01.764-07:00</updated><title type='text'>cdac hyderabad original ppt on sql database and sql database server from hyderabad</title><content type='html'>this post consist of information technology database and database management as well as sql database&lt;br /&gt;
mainly consist of -&lt;br /&gt;
FMS &amp; Disadvantages&lt;br /&gt;
Data redundancy and inconsistency&lt;br /&gt;
Difficulty in accessing the data&lt;br /&gt;
Data isolation&lt;br /&gt;
Integrity problems&lt;br /&gt;
Atomicity problems&lt;br /&gt;
Concurrent access anomalies&lt;br /&gt;
Security problems&lt;br /&gt;
Database Management System&lt;br /&gt;
Control of data redundancy&lt;br /&gt;
Sharing of data&lt;br /&gt;
Maintenance of Integrity&lt;br /&gt;
Control over Security&lt;br /&gt;
Data abstraction&lt;br /&gt;
Data independence&lt;br /&gt;
Data Abstraction&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Data Models&lt;/b&gt;&lt;br /&gt;
 -Hierarchal Model&lt;br /&gt;
 -Network Model&lt;br /&gt;
 -Relational Model&lt;br /&gt;
&lt;br /&gt;
Relational Data Base Management System Concepts covered below&lt;br /&gt;
Let me explain you something-&lt;br /&gt;
Data :- It is defined as an information that can be recorded&lt;br /&gt;
and that has implicit meaning.&lt;br /&gt;
&lt;br /&gt;
Database : Collection of related data, stored in a standardized format ,designed to be shared by multiple users.&lt;br /&gt;
&lt;br /&gt;
DBMS(Data Base Management System):-&lt;br /&gt;
It consists of collection of inter related data and a set of&lt;br /&gt;
 programs to access the data&lt;br /&gt;
It provides a convenient &amp; efficient environment for inserting, retrieving,modifying and storing database information.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Database Applications&lt;/b&gt;&lt;br /&gt;
Banking:   all transactions&lt;br /&gt;
Airlines:   reservations, schedules&lt;br /&gt;
Universities:   registration, grades&lt;br /&gt;
Sales:   customers, products, purchases&lt;br /&gt;
Manufacturing:  production, inventory, orders, supply chain&lt;br /&gt;
Human resources:employee records, salaries, tax deductions&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Basic Concepts&lt;/h2&gt;DBMS provides users with an abstract view of data.&lt;br /&gt;
It hides the complex data structures for the representation of data in database.&lt;br /&gt;
 Levels of abstraction&lt;br /&gt;
Physical level : Lowest level of abstraction describes how data is stored.&lt;br /&gt;
&lt;br /&gt;
Logical level : Next higher level of abstraction describes what data is stored and the relationships among the data&lt;br /&gt;
&lt;br /&gt;
View level : Highest level of abstraction describes only part of database.&lt;br /&gt;
&lt;br /&gt;
Data Independence&lt;br /&gt;
Physical data&lt;br /&gt;
independence&lt;br /&gt;
Ability to modify the physical schema without causing application programs to be rewritten&lt;br /&gt;
Data Model&lt;br /&gt;
An integrated collection of concepts for describing data, relationships between data and constraints on the data.&lt;br /&gt;
&lt;br /&gt;
 A data model comprises three components:&lt;br /&gt;
   – a structural part (a set of rules describing how&lt;br /&gt;
     the database is to be constructed)?&lt;br /&gt;
   – a manipulative part (defines the types of   operations allowed on the data)?&lt;br /&gt;
  – a set of integrity rules (ensures data accuracy)?&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Types of data models&lt;/b&gt;&lt;br /&gt;
Object-based logical models: Based on collection of objects.&lt;br /&gt;
  ER-model,object-oriented model&lt;br /&gt;
Record-based logical model:Database is structured in fixed format record.&lt;br /&gt;
  Hierarchical,Network,relational models&lt;br /&gt;
&lt;br /&gt;
Entity-Relationship Model&lt;br /&gt;
Example of schema in the entity-relationship model&lt;br /&gt;
Hierarchical model&lt;br /&gt;
A Hierarchical database consists of a collection of records that are connected to each other through links.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;The hierarchical data model organizes data in a tree structure &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Parent-child relationship (one-to-one or one-to-many) among data&lt;br /&gt;
Hierarchical data model&lt;br /&gt;
Hierarchical data model&lt;br /&gt;
Network Model&lt;br /&gt;
&lt;br /&gt;
A Network database consists of a collection of records connected  to one another through links,which can be viewed as pointers.&lt;br /&gt;
&lt;br /&gt;
The records in the database are organized as collections of arbitrary graphs.&lt;br /&gt;
&lt;br /&gt;
One-to-one, one-to-many, many-to-one, or many-to-many relationships possible&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Relational Model&lt;/b&gt;&lt;br /&gt;
A relational model consists of relations which represents data and the  relationships among data.. &lt;br /&gt;
A relation is a two dimensional  table with special properties. &lt;br /&gt;
A relational table is a collection of columns and rows&lt;br /&gt;
columns are called attributes and rows are called tuples.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Properties of Relational Tables&lt;/b&gt;&lt;br /&gt;
Table name is distinct from all other table names in the database.&lt;br /&gt;
Each cell of table contains exactly one atomic (single) value.&lt;br /&gt;
Each column has a distinct name.&lt;br /&gt;
Values of a column are all from the same domain.&lt;br /&gt;
Each record is distinct; there are no duplicate records.&lt;br /&gt;
Order of columns has no significance.&lt;br /&gt;
Order of records has no significance.&lt;br /&gt;
Relational Model&lt;br /&gt;
Example of tabular data in the relational model&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Relational Keys&lt;/b&gt;&lt;br /&gt;
Each record in a table must be unique &lt;br /&gt;
A super key is a column, or a set of columns, that uniquely identifies a record in a table.&lt;br /&gt;
 A minimal super key ,  with no  proper subset that is also a super key, is called a candidate key.&lt;br /&gt;
A key consisting of more than one column is called a composite key.&lt;br /&gt;
A primary key is the candidate key that is selected by the database designer, to uniquely identify records within the table.&lt;br /&gt;
– the candidate keys not selected are called&lt;br /&gt;
alternate keys.&lt;br /&gt;
A foreign key is a column or set of columns within a table that is the candidate key of another table&lt;br /&gt;
&lt;br /&gt;
Relational Integrity&lt;br /&gt;
   A set of integrity rules ensure that the data is accurate.&lt;br /&gt;
Domain Integrity:Defines the domain constraint for each column that restrict the set of values allowed for each column&lt;br /&gt;
&lt;br /&gt;
Entity Integrity:In a table, no column of primary key can be null or duplicate.&lt;br /&gt;
&lt;br /&gt;
Foreign key and Referential Integrity:If a foreign key exists in a table its value must &lt;br /&gt;
 -either match with candidate key value of some record in the home table&lt;br /&gt;
 -or be wholly null&lt;br /&gt;
&lt;br /&gt;
Database technology Part-2&lt;br /&gt;
&lt;br /&gt;
THERE ARE MANY UPCOMING TECHNOLOGY DATABASE ABOUT ACCESS DATABASE &lt;br /&gt;
 what is database    &lt;br /&gt;
what is database system&lt;br /&gt;
what is database development will all be covered in this database presentation&lt;br /&gt;
&lt;br /&gt;
web database technolgy is based on sql database and upcoming database are the fusion oracle database .&lt;br /&gt;
Smallest db is couchdb used in Iphone apps and in html5 .&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Structured Query Language&lt;/h2&gt;It’s a relational database language&lt;br /&gt;
SQL commands are the means of communication with DBMS&lt;br /&gt;
SQL can be categorized as &lt;br /&gt;
&lt;br /&gt;
DDL(Data Definition Language):Those SQL commands that &lt;br /&gt;
Operate on structure of database objects (table)?&lt;br /&gt;
Create,Alter,Drop.&lt;br /&gt;
&lt;br /&gt;
DML(Data Manipulation Language): Those SQL commands&lt;br /&gt;
 that operate on the data stored in the database objects.&lt;br /&gt;
Insert,Update,Delete,Select&lt;br /&gt;
&lt;br /&gt;
DCL(Data Control Language): Those SQL commands that &lt;br /&gt;
Control the behavior of database objects&lt;br /&gt;
Commit,Rollback,Save point&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Data types&lt;/h2&gt;Character data types&lt;br /&gt;
-CHAR(size):Stores fixed length character data.&lt;br /&gt;
Max size is 2000 bytes. Default &amp; min size is 1 byte.&lt;br /&gt;
&lt;br /&gt;
-VARCHAR2(size): Stores variable length character strings.&lt;br /&gt;
Max size is 4000 bytes, Min size is 1 byte. Must specify size.&lt;br /&gt;
&lt;br /&gt;
-LONG:Columns defined as LONG can store variable-length &lt;br /&gt;
character data containing up to two gigabytes of information.&lt;br /&gt;
&lt;br /&gt;
Number data types&lt;br /&gt;
-NUMBER(p,s): Stores numbers (fixed or floating point).&lt;br /&gt;
&lt;br /&gt;
DATE: stores date &amp; time. Standard format is &lt;br /&gt;
DD-MON-YY HH:MI:SS&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;Data types&lt;/h2&gt;LOB data types: Stores large blocks of unstructured&lt;br /&gt;
 data (such as text, graphic images, video clips, and &lt;br /&gt;
sound waveforms)  up to four gigabytes in size.&lt;br /&gt;
-BLOB: stores up to four gigabytes of binary data&lt;br /&gt;
-CLOB: stores up to four gigabytes of character data.&lt;br /&gt;
-BFILE:stores a file locator that points to an external file &lt;br /&gt;
containing the data.&lt;br /&gt;
&lt;br /&gt;
RAW/LONG RAW:used to store binary data such as picture&lt;br /&gt;
 image .&lt;br /&gt;
RAW max length 2000 bytes.&lt;br /&gt;
LONG RAW: 2gigabytes.&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;DML consist of-&lt;/h2&gt;Create &lt;br /&gt;
Alter&lt;br /&gt;
Drop&lt;br /&gt;
&lt;br /&gt;
10g databaseaccess databasec# access databaseclient databaseconnecting databaseconnection databaseconvert access to sqlcopy technologydatabase advantagesdatabase codedatabase comparisondatabase conceptsdatabase connectdatabase engineeringdatabase fromdatabase indiadatabase installationdatabase introductiondatabase programsdatabase querydatabase replicationdatabase stored proceduresdatabase systemdatabase tablesdatabase technologiesdatabase technologydatabase withdatabases for dummiesdb databasedbms databasedelete databasedesigning databaseexample databasehow to databaseinstall databaselinux databasemicrosoft sqlmicrosoft sql servermicrosoft technologyms sql server databasemssql databasenew database technologiesperformance sqlperformance sql serverperformance sql server 2000performance tuning sql serverppt databaseselect databaseserver databasesql 2000sql databasesql database designsql generatorsql scriptssql serversql server 2000sql server 2000 tutorialsql server applicationssql server copy tablesql server database designsql server databasessql server dbasql server programmingsql server toolssql server tutorialssql technologysqlserver databasetable databasetechnology databasestrigger databaseusing databaseweb database applicationweb database technologies&lt;br /&gt;
long time thought to have post on database with ppt presentation and download mateial on postgresql open source database oracle database we have already shown sql oracle database exacmple with java database connectivity&lt;br /&gt;
We will also be going to cover database interview questions database management system some advance topics in my later post anime database pdf database these questions stored like pet society database kind. many are free database like mysql and new small db couchdb used in iphone and also in mozilla but you can easily create database like for movie database or using some software a database software &lt;br /&gt;
below a presentation for database access and database examples and you will like to know foxpro database which we have some slides.&lt;br /&gt;
YOu have worked on alter database archivelog navicat and a multimedia database &lt;br /&gt;
&lt;br /&gt;
10g database&lt;br /&gt;
access database&lt;br /&gt;
c# access database&lt;br /&gt;
client database&lt;br /&gt;
connecting database&lt;br /&gt;
connection database&lt;br /&gt;
convert access to sql&lt;br /&gt;
copy technology&lt;br /&gt;
database advantages&lt;br /&gt;
database code&lt;br /&gt;
database comparison&lt;br /&gt;
database concepts&lt;br /&gt;
database connect&lt;br /&gt;
database engineering&lt;br /&gt;
database from&lt;br /&gt;
database india&lt;br /&gt;
database installation&lt;br /&gt;
database introduction&lt;br /&gt;
database programs&lt;br /&gt;
database query&lt;br /&gt;
database replication&lt;br /&gt;
database stored procedures&lt;br /&gt;
database system&lt;br /&gt;
database tables&lt;br /&gt;
database technologies&lt;br /&gt;
database technology&lt;br /&gt;
database with&lt;br /&gt;
databases for dummies&lt;br /&gt;
db database&lt;br /&gt;
dbms database&lt;br /&gt;
delete database&lt;br /&gt;
designing database&lt;br /&gt;
example database&lt;br /&gt;
how to database&lt;br /&gt;
install database&lt;br /&gt;
linux database&lt;br /&gt;
microsoft sql&lt;br /&gt;
microsoft sql server&lt;br /&gt;
microsoft technology&lt;br /&gt;
ms sql server database&lt;br /&gt;
mssql database&lt;br /&gt;
new database technologies&lt;br /&gt;
performance sql&lt;br /&gt;
performance sql server&lt;br /&gt;
performance sql server 2000&lt;br /&gt;
performance tuning sql server&lt;br /&gt;
ppt database&lt;br /&gt;
select database&lt;br /&gt;
server database&lt;br /&gt;
sql 2000&lt;br /&gt;
&lt;a href=&quot;http://www.mediafire.com/file/omnhlylyqnw/DBT day1.ppt&quot;&gt;database&lt;/a&gt;&lt;br /&gt;
sql database&lt;br /&gt;
sql database design&lt;br /&gt;
sql generator&lt;br /&gt;
sql scripts&lt;br /&gt;
sql server&lt;br /&gt;
sql server 2000&lt;br /&gt;
sql server 2000 tutorial&lt;br /&gt;
sql server applications&lt;br /&gt;
sql server copy table&lt;br /&gt;
sql server database design&lt;br /&gt;
sql server databases&lt;br /&gt;
sql server dba&lt;br /&gt;
sql server programming&lt;br /&gt;
sql server tools&lt;br /&gt;
sql server tutorials&lt;br /&gt;
sql technology&lt;br /&gt;
sqlserver database&lt;br /&gt;
table database&lt;br /&gt;
technology databases&lt;br /&gt;
trigger database&lt;br /&gt;
using database&lt;br /&gt;
web database application&lt;br /&gt;
web database technologies</content><link rel='replies' type='application/atom+xml' href='http://jdbcpresentation.blogspot.com/feeds/2466318053298712661/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdbcpresentation.blogspot.com/2010/04/cdac-hyderabad-original-ppt-on-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/2466318053298712661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/2466318053298712661'/><link rel='alternate' type='text/html' href='http://jdbcpresentation.blogspot.com/2010/04/cdac-hyderabad-original-ppt-on-sql.html' title='cdac hyderabad original ppt on sql database and sql database server from hyderabad'/><author><name>seoguru</name><uri>http://www.blogger.com/profile/09954993971968480845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2007887024120390878.post-1041743584639245895</id><published>2009-10-01T09:05:00.000-07:00</published><updated>2009-10-01T09:05:07.969-07:00</updated><title type='text'></title><content type='html'>part-4 hibernate&lt;br /&gt;
&lt;br /&gt;
download presentation about hibernate&lt;a href=&quot;http://www.mediafire.com/file/5tm2zgymzr3/hibernate 2.ppt&quot;&gt;download&lt;/a&gt;&lt;br /&gt;
part-2 hibernate&lt;br /&gt;
consist of hibernate mapping&lt;br /&gt;
one to one mapping example &lt;br /&gt;
one to many hibernate example 3.3.2&lt;br /&gt;
many to one hibernate example with hibernate struts and hibernate apache configuration</content><link rel='replies' type='application/atom+xml' href='http://jdbcpresentation.blogspot.com/feeds/1041743584639245895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/10/part-4-hibernate-download-presentation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/1041743584639245895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/1041743584639245895'/><link rel='alternate' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/10/part-4-hibernate-download-presentation.html' title=''/><author><name>seoguru</name><uri>http://www.blogger.com/profile/09954993971968480845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2007887024120390878.post-7851867838859442156</id><published>2009-10-01T08:53:00.000-07:00</published><updated>2009-10-01T09:05:42.676-07:00</updated><title type='text'></title><content type='html'>All about hibernate tutorial,presentation,assignment from cdac original post &lt;br /&gt;
&lt;h1&gt;all information about cdac training,diploma for cdacnoida,cdac mohali,cdac centers location,cdac entrance exam preparation &lt;/h1&gt;&lt;strong&gt;Mainly for dabc,dac,acts,cdac.in,cdac 2009&lt;/strong&gt;&lt;br /&gt;
many topics covered in &lt;h2&gt;hibernate 2,hibernate 3.2.5,hibernate 3.2.6,hibernate 3.3,hibernate 3.3.1,hibernate apache,hibernate architecture,hibernate bean,hibernate component,hibernate configuration,hibernate createquery,hibernate discriminator,hibernate formula,hibernate hbm.xml,hibernate index,hibernate inner join,hibernate interface,hibernate jdeveloper,hibernate left join,hibernate like,hibernate loading,hibernate name,hibernate optimistic locking,hibernate overview,hibernate pattern,hibernate persistence.xml,hibernate plugin,hibernate presentation,hibernate project,hibernate query,hibernate session.save,hibernate source,hibernate spatial,hibernate statistics,hibernate union,hibernate unique,hibernate uniqueresult,hibernate usertype,hql hibernate,install hibernate,jdbc hibernate,native hibernate,pojos action,servlet hibernate&lt;br /&gt;
&lt;/h2&gt;&lt;br /&gt;
&lt;b&gt;click below links to get all information&lt;/b&gt;&lt;br /&gt;
download presentation about hibernate&lt;a href=&quot;http://www.mediafire.com/file/5tm2zgymzr3/hibernate 2.ppt&quot;&gt;download ppt&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://jdbcpresentation.blogspot.com/feeds/7851867838859442156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/10/all-about-hibernate-tutorialpresentatio.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/7851867838859442156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/7851867838859442156'/><link rel='alternate' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/10/all-about-hibernate-tutorialpresentatio.html' title=''/><author><name>seoguru</name><uri>http://www.blogger.com/profile/09954993971968480845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2007887024120390878.post-7172543247351497883</id><published>2009-09-27T07:08:00.000-07:00</published><updated>2009-09-27T07:08:41.917-07:00</updated><title type='text'></title><content type='html'>some more things about hibernate before downloading presentation and material&lt;br /&gt;
common interview question about hibernate &lt;br /&gt;
what are the interfaces used in hibernate name them?&lt;br /&gt;
The five core interfaces are used in just about every Hibernate &lt;br /&gt;
application. Using these interfaces, you can store and retrieve &lt;br /&gt;
persistent objects and control transactions.&lt;br /&gt;
Session Interface&lt;br /&gt;
SessionFactory Interface&lt;br /&gt;
Configuration Interface&lt;br /&gt;
Transaction Interface&lt;br /&gt;
Query and Criteria Interface&lt;br /&gt;
&lt;br /&gt;
the power point slide,ppt you can download from here&lt;br /&gt;
&lt;a href=&quot;http://www.mediafire.com/file/t2gwgomz2md/hibernate 2 (1).ppt&quot;&gt;download&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://jdbcpresentation.blogspot.com/feeds/7172543247351497883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/09/some-more-things-about-hibernate-before.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/7172543247351497883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/7172543247351497883'/><link rel='alternate' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/09/some-more-things-about-hibernate-before.html' title=''/><author><name>seoguru</name><uri>http://www.blogger.com/profile/09954993971968480845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2007887024120390878.post-1671549012475335607</id><published>2009-09-26T00:47:00.000-07:00</published><updated>2009-09-26T01:11:21.387-07:00</updated><title type='text'></title><content type='html'>part-2 click above links for more information on hibernate&lt;br /&gt;
or here&lt;br /&gt;
&lt;a href=&quot;http://jdbcpresentation.blogspot.com/2009/09/part-1-hibernate.html&quot;&gt;Hibernate3.2 with struts tutorial and assignment&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Checking if objects are identical&lt;br /&gt;
Java defines two notations:&lt;br /&gt;
Object identity [==]&lt;br /&gt;
Equality of value [.equals()]&lt;br /&gt;
In SQL it is just checking if the two primary keys are the same.&lt;br /&gt;
Two or more objects can represent the same row of data.&lt;br /&gt;
Problem with SQL surrogate keys&lt;br /&gt;
&lt;br /&gt;
&gt;&gt;what is Object Graph Navigation you will know in this presentation(power point slide ppt)&lt;br /&gt;
&lt;br /&gt;
&gt;&gt;&gt;&gt;what is Object/relational Mapping (ORM)&lt;br /&gt;
ORM is the automated &amp; transparent persistence of Java objects to tables in a RDBMS.&lt;br /&gt;
&lt;br /&gt;
Metadata describes the mapping between the objects and the database.&lt;br /&gt;
&lt;br /&gt;
ORM works by transforming data from one representation to another&lt;br /&gt;
&lt;br /&gt;
Contains the following parts&lt;br /&gt;
API for CURD operations on objects&lt;br /&gt;
&lt;br /&gt;
API for queries for classes &amp; properties&lt;br /&gt;
&lt;br /&gt;
Facility for mapping metadata&lt;br /&gt;
&lt;br /&gt;
Technique for interaction with transactional objects&lt;br /&gt;
&lt;br /&gt;
more info click below</content><link rel='replies' type='application/atom+xml' href='http://jdbcpresentation.blogspot.com/feeds/1671549012475335607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/09/hibernate-continued.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/1671549012475335607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/1671549012475335607'/><link rel='alternate' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/09/hibernate-continued.html' title=''/><author><name>seoguru</name><uri>http://www.blogger.com/profile/09954993971968480845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2007887024120390878.post-3170878112203183690</id><published>2009-09-26T00:21:00.000-07:00</published><updated>2009-09-27T06:57:57.305-07:00</updated><title type='text'>part-1 hibernate</title><content type='html'>All about hibernate tutorial,presentation,assignment from cdac original post &lt;br /&gt;
&lt;h1&gt;all information about cdac training,diploma for cdacnoida,cdac mohali,cdac centers location,cdac entrance exam preparation &lt;/h1&gt;&lt;strong&gt;Mainly for dabc,dac,acts,cdac.in,cdac 2009&lt;/strong&gt;&lt;br /&gt;
&lt;h2&gt;hibernate 2,hibernate 3.2.5,hibernate 3.2.6,hibernate 3.3,hibernate 3.3.1,hibernate apache,hibernate architecture,hibernate bean,hibernate component,hibernate configuration,hibernate createquery,hibernate discriminator,hibernate formula,hibernate hbm.xml,hibernate index,hibernate inner join,hibernate interface,hibernate jdeveloper,hibernate left join,hibernate like,hibernate loading,hibernate name,hibernate optimistic locking,hibernate overview,hibernate pattern,hibernate persistence.xml,hibernate plugin,hibernate presentation,hibernate project,hibernate query,hibernate session.save,hibernate source,hibernate spatial,hibernate statistics,hibernate union,hibernate unique,hibernate uniqueresult,hibernate usertype,hql hibernate,install hibernate,jdbc hibernate,native hibernate,pojos action,servlet hibernate&lt;br /&gt;
&lt;/h2&gt;&lt;br /&gt;
It includes&lt;br /&gt;
1)What is persistence?&lt;br /&gt;
The paradigm mismatch&lt;br /&gt;
Persistence layers and alternatives&lt;br /&gt;
Object/relational mapping&lt;br /&gt;
&lt;br /&gt;
2)what is Paradigm Mismatch definition..?&lt;br /&gt;
Problems caused when objects need to be stored in relational tables.&lt;br /&gt;
Granularity&lt;br /&gt;
Subtypes&lt;br /&gt;
Identity&lt;br /&gt;
Associations&lt;br /&gt;
Graph Navigation&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3)Problem of Granularity&lt;br /&gt;
Objects can have various kinds of granularity (structure ??) to its data.&lt;br /&gt;
Poor support for used defined types (UDT) in SQL.&lt;br /&gt;
No implementation is portable.&lt;br /&gt;
Forces developers to use less flexible representations on the object model&lt;br /&gt;
&lt;br /&gt;
4)hibernate Problem of Subtypes&lt;br /&gt;
Java objects implements inheritance (super &amp; sub classes).&lt;br /&gt;
Each sub or super class will define different data &amp; completely different functionality.&lt;br /&gt;
An object can be associated with objects of different classes, but of same type (polymorphism).&lt;br /&gt;
SQL provides no support for inheritance or polymorphism&lt;br /&gt;
&lt;br /&gt;
continue to next post</content><link rel='replies' type='application/atom+xml' href='http://jdbcpresentation.blogspot.com/feeds/3170878112203183690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/09/part-1-hibernate.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/3170878112203183690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/3170878112203183690'/><link rel='alternate' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/09/part-1-hibernate.html' title='part-1 hibernate'/><author><name>seoguru</name><uri>http://www.blogger.com/profile/09954993971968480845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2007887024120390878.post-4567446610789409507</id><published>2009-09-16T08:11:00.000-07:00</published><updated>2009-09-25T23:58:35.511-07:00</updated><title type='text'>solutions for jdbc assignment,examples jdbc,prepared statement,jdbc connectivity with msaccess,mysql and oracle example</title><content type='html'>example consist of type1 type2 type3 and type4 driver&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;jdbc1 example&lt;/b&gt;&lt;br /&gt;
import java.sql.*;&lt;br /&gt;
import java.io.*;&lt;br /&gt;
&lt;br /&gt;
public class  JDBC1&lt;br /&gt;
{&lt;br /&gt;
public static void main(String[] args) throws ClassNotFoundException,SQLException,IOException&lt;br /&gt;
{&lt;br /&gt;
Class.forName(&quot;com.mysql.jdbc.Driver&quot;);&lt;br /&gt;
Connection con=DriverManager.getConnection(&quot;jdbc:odbc:name&quot;,&quot;scott&quot;,&quot;tiger&quot;);&lt;br /&gt;
Statement stmt=con.createStatement();&lt;br /&gt;
DataInputStream dis=new DataInputStream(System.in);&lt;br /&gt;
try{ while(true)&lt;br /&gt;
{&lt;br /&gt;
ResultSet rs=stmt.executeQuery(&quot;select * from emp&quot;);&lt;br /&gt;
&lt;br /&gt;
System.out.println(&quot;Please enter the name of the column to be fetched&quot;);&lt;br /&gt;
String col=dis.readLine().trim();&lt;br /&gt;
System.out.println(col);&lt;br /&gt;
if(col==null)&lt;br /&gt;
break;&lt;br /&gt;
rs.next();&lt;br /&gt;
while(rs.next())&lt;br /&gt;
{&lt;br /&gt;
System.out.println(rs.getString(col)+&quot; &quot;+rs.getString(2));&lt;br /&gt;
}&lt;br /&gt;
}}catch(Exception e)&lt;br /&gt;
{System.out.println(&quot;error while entering&quot;);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;jdbc example2 connecting with mysql&lt;/b&gt;&lt;br /&gt;
import java.sql.*;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
public class JDBC2&lt;br /&gt;
{&lt;br /&gt;
public static void main(String[] args) &lt;br /&gt;
{&lt;br /&gt;
try&lt;br /&gt;
{&lt;br /&gt;
Class.forName(&quot;com.mysql.jdbc.Driver&quot;);&lt;br /&gt;
Connection con=DriverManager.getConnection(&quot;jdbc:mysql://localhost/shob&quot;,&quot;root&quot;,&quot;&quot;);&lt;br /&gt;
Statement stmt=con.createStatement();&lt;br /&gt;
ResultSet rs=stmt.executeQuery(&quot;select * from login&quot;);&lt;br /&gt;
while(rs.next())&lt;br /&gt;
{&lt;br /&gt;
System.out.println(rs.getString(1)+&quot; &quot;+rs.getString(2));&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
catch(Exception e)&lt;br /&gt;
{&lt;br /&gt;
e.printStackTrace();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
jdbc example 3 with wamp sql little change&lt;br /&gt;
import java.sql.Connection;&lt;br /&gt;
import java.sql.DriverManager;&lt;br /&gt;
import java.sql.ResultSet;&lt;br /&gt;
import java.sql.SQLException;&lt;br /&gt;
import java.sql.Statement;&lt;br /&gt;
&lt;br /&gt;
public class Wampsql {&lt;br /&gt;
public static void main(String args[]) throws Exception {&lt;br /&gt;
Class.forName(&quot;com.mysql.jdbc.Driver&quot;);&lt;br /&gt;
String url;&lt;br /&gt;
url =&quot;jdbc:mysql://localhost/shob&quot; ;&lt;br /&gt;
&lt;br /&gt;
String user, pass;&lt;br /&gt;
user =  &quot;root&quot;;&lt;br /&gt;
pass = &quot;&quot;;&lt;br /&gt;
&lt;br /&gt;
Connection con;&lt;br /&gt;
Statement stmt;&lt;br /&gt;
ResultSet rs;&lt;br /&gt;
&lt;br /&gt;
try {&lt;br /&gt;
con = DriverManager.getConnection(url, user, pass);&lt;br /&gt;
stmt = con.createStatement();&lt;br /&gt;
rs = stmt.executeQuery(&quot;SELECT * FROM login&quot;);&lt;br /&gt;
&lt;br /&gt;
// Get the resultset ready, update the passwd field, commit&lt;br /&gt;
//rs.first();&lt;br /&gt;
//rs.updateString(&quot;message_text&quot;, &quot;updated&quot;);&lt;br /&gt;
//rs.updateRow();&lt;br /&gt;
System.out.println(rs.getString(1));&lt;br /&gt;
&lt;br /&gt;
rs.close();&lt;br /&gt;
stmt.close();&lt;br /&gt;
con.close();&lt;br /&gt;
} catch (SQLException ex) {&lt;br /&gt;
System.err.println(&quot;SQLException: &quot; + ex.getMessage());&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;jdbc example 1 more driver&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
import java.sql.*;&lt;br /&gt;
&lt;br /&gt;
public class  JDBC4&lt;br /&gt;
{&lt;br /&gt;
public static void main(String[] args) throws ClassNotFoundException,SQLException&lt;br /&gt;
{&lt;br /&gt;
String serverName=&quot;esurakshaxp4&quot;;&lt;br /&gt;
String portNumber=&quot;1521&quot;;&lt;br /&gt;
String sid=&quot;oracle&quot;;&lt;br /&gt;
String url=&quot;jdbc:oracle:thin:@&quot;+serverName+&quot;:&quot;+portNumber+&quot;:&quot;+sid;&lt;br /&gt;
//String url=&quot;jdbc:mysql://localhost/quality_assurance_lms&quot;;&lt;br /&gt;
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());&lt;br /&gt;
Connection con=DriverManager.getConnection(url,&quot;scott&quot;,&quot;tiger&quot;);&lt;br /&gt;
Statement stmt=con.createStatement();&lt;br /&gt;
ResultSet rs=stmt.executeQuery(&quot;select * from emp&quot;);&lt;br /&gt;
while(rs.next())&lt;br /&gt;
{&lt;br /&gt;
System.out.println(rs.getString(1)+&quot; &quot;+rs.getString(2));&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;solutions for assignment posted update salary&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
import java.sql.*;&lt;br /&gt;
import java.io.*;&lt;br /&gt;
&lt;br /&gt;
public class  UpdateTest&lt;br /&gt;
{&lt;br /&gt;
public static void main(String[] args) &lt;br /&gt;
{&lt;br /&gt;
try&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
Class.forName(&quot;sun.jdbc.odbc.JdbcOdbcDriver&quot;);&lt;br /&gt;
Connection con=DriverManager.getConnection(&quot;jdbc:odbc:dabctest&quot;,&quot;scott&quot;,&quot;tiger&quot;);&lt;br /&gt;
Statement st=con.createStatement();&lt;br /&gt;
&lt;br /&gt;
DataInputStream dis=new DataInputStream(System.in);&lt;br /&gt;
System.out.println(&quot;Enter the Employee name :&quot;);&lt;br /&gt;
&lt;br /&gt;
System.out.flush();&lt;br /&gt;
String str=dis.readLine();&lt;br /&gt;
&lt;br /&gt;
System.out.println(&quot;Enter Salary :&quot;);&lt;br /&gt;
System.out.flush();&lt;br /&gt;
int newsal=Integer.parseInt(dis.readLine().trim());&lt;br /&gt;
&lt;br /&gt;
int i=st.executeUpdate(&quot;update emp set sal=&quot;+newsal+&quot; where ename=&#39;&quot;+str+&quot;&#39;&quot;);&lt;br /&gt;
//System.out.println(&quot;update emp set sal=&quot;+newsal+&quot; where ename=&#39;&quot;+str+&quot;&#39;&quot;);&lt;br /&gt;
System.out.println(&quot;No of Rows Updated :&quot;+i);&lt;br /&gt;
con.close();&lt;br /&gt;
&lt;br /&gt;
}catch(Exception e)&lt;br /&gt;
{&lt;br /&gt;
System.out.println(e);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
this is for prepare statement example and assignment solution&lt;br /&gt;
import java.io.*;&lt;br /&gt;
import java.sql.*;&lt;br /&gt;
&lt;br /&gt;
public class PrepareTest&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
public static void main(String[] args) &lt;br /&gt;
{&lt;br /&gt;
Connection con=null;&lt;br /&gt;
PreparedStatement pst=null;&lt;br /&gt;
ResultSet rs=null;&lt;br /&gt;
DataInputStream dis=null;&lt;br /&gt;
try&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
Class.forName(&quot;sun.jdbc.odbc.JdbcOdbcDriver&quot;);&lt;br /&gt;
con = DriverManager.getConnection(&quot;jdbc:odbc:dabctest&quot;,&quot;scott&quot;,&quot;tiger&quot;);&lt;br /&gt;
// Class.forName(&quot;com.mysql.jdbc.Driver&quot;);&lt;br /&gt;
//String s=&quot;jdbc:mysql://localhost/eSikshak1&quot;;&lt;br /&gt;
//con=DriverManager.getConnection(s,&quot;root&quot;,&quot;&quot;);&lt;br /&gt;
pst=con.prepareStatement(&quot;Select * from emp where empno= ? and ename= ?&quot;);&lt;br /&gt;
&lt;br /&gt;
dis=new DataInputStream(System.in);&lt;br /&gt;
while(true)&lt;br /&gt;
{&lt;br /&gt;
System.out.println(&quot;Enter the empno number  :&quot;);&lt;br /&gt;
System.out.flush();&lt;br /&gt;
int eno=Integer.parseInt(dis.readLine().trim());&lt;br /&gt;
String enam=dis.readLine().trim();&lt;br /&gt;
if(eno==0)&lt;br /&gt;
break;&lt;br /&gt;
pst.setInt(1,eno);&lt;br /&gt;
pst.setString(2,enam);&lt;br /&gt;
rs=pst.executeQuery();&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
while(rs.next())&lt;br /&gt;
{&lt;br /&gt;
String enumber = rs.getString(1);&lt;br /&gt;
String ename = rs.getString(2);&lt;br /&gt;
System.out.println(enumber);&lt;br /&gt;
System.out.println(ename);&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
pst.close();&lt;br /&gt;
con.close();&lt;br /&gt;
}catch(Exception e)&lt;br /&gt;
{&lt;br /&gt;
System.out.println(e);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
rest if some one needed post in comment please</content><link rel='replies' type='application/atom+xml' href='http://jdbcpresentation.blogspot.com/feeds/4567446610789409507/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/09/solutions-for-jdbc-assignmentexamples.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/4567446610789409507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/4567446610789409507'/><link rel='alternate' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/09/solutions-for-jdbc-assignmentexamples.html' title='solutions for jdbc assignment,examples jdbc,prepared statement,jdbc connectivity with msaccess,mysql and oracle example'/><author><name>seoguru</name><uri>http://www.blogger.com/profile/09954993971968480845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2007887024120390878.post-6281941308931863834</id><published>2009-09-16T07:58:00.000-07:00</published><updated>2009-09-16T07:59:35.598-07:00</updated><title type='text'>jdbc assignment beginners question solved and unsolved with solution or without</title><content type='html'>1. Implement &lt;br /&gt;
(a)Type 1 Driver and connect to the Oracle.&lt;br /&gt;
(B)Type2 Driver&lt;br /&gt;
(b)Type 3 Driver using IDS server and connect to mdb or oracle.&lt;br /&gt;
(c)Type 4 Driver and connect to Oracle and MySQL.&lt;br /&gt;
&lt;br /&gt;
2. Implement Type-4 driver with&lt;br /&gt;
(a) Statement&lt;br /&gt;
(b) PreparedStatement &lt;br /&gt;
(c) CallableStatement&lt;br /&gt;
&lt;br /&gt;
3. Use PreparedStatement to fetch results based on the some input taken from user inside a loop.&lt;br /&gt;
&lt;br /&gt;
4. Use CallableStatement to call a stored procedure which takes empno and increment (salary) of that employee, as input, and returns the incremented salary as the output.&lt;br /&gt;
&lt;br /&gt;
6. Write a program which takes input as the empno and salary. &lt;br /&gt;
a.) If the empno already exist and salary&gt;2000, update the salary of the employee.&lt;br /&gt;
b.) If the empno doesn’t exist, ask for the all other column values in that table, retrieved using        metadata programming.&lt;br /&gt;
c.) Insert empno and other values taken as input as part of (b.)&lt;br /&gt;
d.) If hiredate of employee is before year 1981, delete the record from the table.&lt;br /&gt;
&lt;br /&gt;
7. Write a program to show use of all the methods for the Scrollable and Updatable ResultSets.&lt;br /&gt;
&lt;br /&gt;
you will find solution on my next post</content><link rel='replies' type='application/atom+xml' href='http://jdbcpresentation.blogspot.com/feeds/6281941308931863834/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/09/jdbc-assignment-beginners-question.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/6281941308931863834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/6281941308931863834'/><link rel='alternate' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/09/jdbc-assignment-beginners-question.html' title='jdbc assignment beginners question solved and unsolved with solution or without'/><author><name>seoguru</name><uri>http://www.blogger.com/profile/09954993971968480845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2007887024120390878.post-5757495913472176381</id><published>2009-09-16T07:53:00.000-07:00</published><updated>2009-09-16T07:53:53.077-07:00</updated><title type='text'>PART-3 JDBC TRANSACTION MANAGEMENT</title><content type='html'>post consist of&lt;br /&gt;
&lt;br /&gt;
1)jdbc transaction&lt;br /&gt;
2)Transaction Management&lt;br /&gt;
3)what is setAutoCommit?&lt;br /&gt;
4)JDBC Cursor Types&lt;br /&gt;
5)ResultSet type&lt;br /&gt;
6)ResultSet concurrency issue in jdbc&lt;br /&gt;
download the presentation ppt or power point from here&lt;br /&gt;
&lt;a href=&quot;http://www.mediafire.com/file/wnhmqiiwmyn/jdbc_day4.ppt&quot;&gt;download presentation jdbc&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
7)TYPE_FORWARD_ONLY&lt;br /&gt;
8)TYPE_SCROLL_INSENSITIVE&lt;br /&gt;
9)TYPE_SCROLL_SENSITIVE&lt;br /&gt;
10)CONCUR_READ_ONLY,CONCUR_UPDATABLE&lt;br /&gt;
11)Result Set Methods next,previous,first,last,beforeFirst,afterLast,relative(),absolute all are methods&lt;br /&gt;
12)resultset can be updatable,scrollable,update process,insertion process&lt;br /&gt;
13)resultset meta data</content><link rel='replies' type='application/atom+xml' href='http://jdbcpresentation.blogspot.com/feeds/5757495913472176381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/09/part-3-jdbc-transaction-management.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/5757495913472176381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/5757495913472176381'/><link rel='alternate' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/09/part-3-jdbc-transaction-management.html' title='PART-3 JDBC TRANSACTION MANAGEMENT'/><author><name>seoguru</name><uri>http://www.blogger.com/profile/09954993971968480845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2007887024120390878.post-6805959355629170766</id><published>2009-09-16T07:43:00.000-07:00</published><updated>2009-09-16T07:43:23.012-07:00</updated><title type='text'>PART2-JDBC API,jdbc tuorial and example</title><content type='html'>post consist of basic jdbc api,javadatabase connectivity api ,presentation,tutorial,jdbc question and assignment and jdbc examples&lt;br /&gt;
here is the content what this jdbc ppt will consist&lt;br /&gt;
1)The JDBC API is available in the java.sql and javax.sql packages &lt;br /&gt;
2)JDBC classes, interfaces and exceptions &lt;br /&gt;
3)DriverManager,Connection,PreparedStatement and CallableStatement objects&lt;br /&gt;
4)Statement-retrieve ResultSet object&lt;br /&gt;
5)SQLException &lt;br /&gt;
7)Seven Steps For Using JDBC&lt;br /&gt;
Load The Driver&lt;br /&gt;
Define connection URL&lt;br /&gt;
Establish the connection&lt;br /&gt;
Create a statement object&lt;br /&gt;
Execute Query&lt;br /&gt;
Process the result &lt;br /&gt;
Close the connection.&lt;br /&gt;
8)JDBC Object Classes&lt;br /&gt;
9)JDBC Class Usage&lt;br /&gt;
10)The Flow Diagram&lt;br /&gt;
11)Loading/Registering A Driver&lt;br /&gt;
12)JDBC URLs&lt;br /&gt;
13)jdbc code and program  Example&lt;br /&gt;
&lt;br /&gt;
download link for jdbc api presentation&lt;br /&gt;
 &lt;a href=&quot;http://www.mediafire.com/file/auiziymmzn2/jdbc_day2.ppt&quot;&gt;download&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://jdbcpresentation.blogspot.com/feeds/6805959355629170766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/09/part2-jdbc-apijdbc-tuorial-and-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/6805959355629170766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/6805959355629170766'/><link rel='alternate' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/09/part2-jdbc-apijdbc-tuorial-and-example.html' title='PART2-JDBC API,jdbc tuorial and example'/><author><name>seoguru</name><uri>http://www.blogger.com/profile/09954993971968480845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2007887024120390878.post-8191330871681603002</id><published>2009-09-16T07:09:00.001-07:00</published><updated>2009-09-16T07:56:33.459-07:00</updated><title type='text'>Part1-jdbc cdac presentation</title><content type='html'>this post consist of jdbc cdac presentation contain jdbc tutorial&lt;br /&gt;
Like to tell you what is the content of the presentation (ppt,power point presentation)&lt;br /&gt;
JDBC stands for &quot;Java DataBase Connectivity&quot;. &lt;br /&gt;
&lt;br /&gt;
1)jdbc itroduction and JDBC Ancestry&lt;br /&gt;
2)Who develops JDBC Specification&lt;br /&gt;
3)Why use JDBC&lt;br /&gt;
4)JDBC Architecture &lt;br /&gt;
5)JDBC Drivers&lt;br /&gt;
Type I: “Bridge” JDBC-ODBC Bridge sun.jdbc.odbc.JdbcOdbcDriver&lt;br /&gt;
translates all JDBC calls into ODBC (Open DataBase Connectivity) calls and sends them to the ODBC driver&lt;br /&gt;
Type II: “Native” Native-API/partly Java Driver&lt;br /&gt;
This type of driver converts JDBC calls into calls to the client API for that database&lt;br /&gt;
Type III: “Middleware” Net-protocol/all-Java driver&lt;br /&gt;
the net-protocol/all-Java driver -- follows a three-tiered &lt;br /&gt;
Type IV: “Pure” Native-Protocol Driver the Direct to Database Pure Java Driver&lt;br /&gt;
&lt;br /&gt;
so the first presentation consist of jdbc introduction&lt;br /&gt;
&lt;b&gt;download presenation&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.mediafire.com/file/gwy2hr1nmdg/jdbc_day1.ppt&quot;&gt;download&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
6)</content><link rel='replies' type='application/atom+xml' href='http://jdbcpresentation.blogspot.com/feeds/8191330871681603002/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/09/part1-jdbc-cdac-presentation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/8191330871681603002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2007887024120390878/posts/default/8191330871681603002'/><link rel='alternate' type='text/html' href='http://jdbcpresentation.blogspot.com/2009/09/part1-jdbc-cdac-presentation.html' title='Part1-jdbc cdac presentation'/><author><name>seoguru</name><uri>http://www.blogger.com/profile/09954993971968480845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>