Tutorial by Topics: to

AnnotationPurpose@TableGeneratorSpecifies generator name and table name where generator can be found@GeneratedValueSpecifies generation strategy and refers to name of generator@OneToOneSpecifies one to one relationship between employee and desk, here Employee is owner of relationmappedByThis elemen...
The $http service of AngularJS allows us to communicate with a backend and make HTTP requests. There are cases where we want to capture every request and manipulate it before sending it to the server. Other times we would like to capture the response and process it before completing the call. Global...
An Unicode code point, what programmers often think of one character, often corresponds to what the user thinks is one character. Sometimes however a “character” is made up of multiple code points, as the examples above show. This means that operations like slicing a string, or getting a characte...
All ancestors of a node /path to the node/ancestor::node() A specific ancestor of a node /path to the node/ancestor::ancestor_name Parent of a node /path to the node/parent::node() Following siblings of a node /path to the node/following-sibling::node() A specific s...
Spark 2.0 has been released and contains many enhancements and new features. If you are using Spark 1.6 and now you want to upgrade your application to use Spark 2.0, you have to take into account some changes in the API. Below are some of the changes to the code that need to be made.
Note that a UserControl is very different from a Control. One of the primary differences is that a UserControl makes use of a XAML layout file to determine where to place several individual Controls. A Control, on the other hand, is just pure code - there's no layout file at all. In some ways, cre...
AnnotationPurpose@TableGeneratorSpecifies generator name and table name where generator can be found@GeneratedValueSpecifies generation strategy and refers to name of generator@ManyToOneSpecifies many to one relationship between Employee and Department@OneToMany(mappedBy="department")crea...
ColumnColumn@TableGeneratorUses table generator strategy for automatic id creation@GeneratedValueSpecifies that the value applied to fields is a generated value@IdAnnotates the field as identifier@ManyToOneSpecifies Many to One relationship between Employee and Department. This annotation is marked...
A ManyToMany mapping describes a relationship between to entities where both can be related to more than one instance of each other, and is defined by the @ManyToMany annotation. Unlike @OneToMany where a foreign key column in the table of the entity can be used, ManyToMany requires a join table, w...
response.sendFile(fileName, options, function (err) {});

Page 27 of 51