This piece of writing is reprinted from the following URL:http://download.oracle.com/javase/tutorial/java/nutsandbolts/op2.html The instanceof operator compares an object to a specified type. You can use it to test if an object is an instance of a
Using Spring's JDBC framework, you don't have to worry about opening and closing the connection or any statements.It is all handled for you. Another advantage is that you won't have to catch any exceptions,unless you want to. Spring wraps all
this piece of writing is reprinted from the following URL:http://download.oracle.com/javase/tutorial/java/IandI/abstract.htmljust for the use of self learning. An abstract class is a class that is declared abstract—it may or may not include abstract
A callback is a function that is passed as an argument to another function and is executed after its parent function has completed. The special thing about a callback is that functions that appear after the "parent" can execute before the callback
this piece of writing is reprinted from the following URL:http://download.oracle.com/javase/tutorial/java/IandI/abstract.htmljust for the use of self learning Except for the Object class, a class has exactly one direct superclass. A class inherits
Hibernate Query Language or HQL for short is extremelypowerful query language. HQL is much like SQL and are case-insensitive,except for the names of the Java Classes and properties. Hibernate Query Language is used to execute queries against
this piece of writing is reprinted from the following URL:http://download.oracle.com/javase/tutorial/java/data/numberclasses.htmljust for the use of self learning. As an argument of a method that expects an object (often used when manipulating
The synchronized keyword ensures that only a single thread will execute a statement or block at a time.Many programmers think of synchronization solely as a means of mutual exclusion, to prevent an object from being observed in an inconsistent
this piece of writing is reprinted from the following url:http://download.oracle.com/javase/tutorial/java/javaOO/nested.htmlclass OuterClass { ... static class StaticNestedClass { ... } class InnerClass { ... }} Nested
This piece of writing is reprinted from the following URL:http://download.oracle.com/javase/tutorial/java/nutsandbolts/variablesummary.html The Java programming language uses both "fields" and "variables" as part of its terminology. Instance
If a constructor does not explicitly invoke a superclass constructor, the Java compiler automatically inserts a call to the no-argument constructor of the superclass. If the super class does not have a no-argument constructor, you will get a
A database consists of tables and columns.Database Design TerminologyLogical/RelationalLogical/Object-OrientedPhysical ImplementationEntityClassTableAttributeAttributeColumnInstanceObjectRowEntity: An entity maps something in the real world. For
reprinted from http://sqlserverplanet.com/sql-server/cannot-insert-explicit-value-for-identity-column-in-table-table-when-identity_insert-is-set-to-off/just for self-learning. Cannot insert explicit value for identity column in table ‘table’ when