The <sql:query> tag is used to execute a query specified in sql attribute or in the body. It executes SQL statement and saves in the scoped variable. It executes sql query and stores result in specified variable. Attributes of <sql: query>Tag sql: It specifies SQL command that has to be executed. var: It is used …
JSTL SQL Tags Library
The JSTL SQL tags help us interact with the relational databases such as Oracle, MySql and more. Syntax for JSTL SQL Tag The JSTL SQL Tags <sql:setDataSource >: It is used for creating data source that is to be accessed by executing a query. <sql:query >: It is used to execute a query specified in …
EclipseLink / JPA Annotations – @Inheritance With Joined Table Strategy
In the Java Persistence API (JPA) The entities support inheritance, polymorphic, polymorphic associations, and polymorphic queries. Both abstract and concrete classes can be entities, and both of them can be annotated with the @Entity annotation, mapped as entities and queried for as entities. Entities can extend non-entity classes and non-entity classes can extend entity classes, so …
EclipseLink / JPA Annotations – @Inheritance With Single Table Strategy
In the Java Persistence API (JPA) The entities support inheritance, polymorphic, polymorphic associations, and polymorphic queries. Both abstract and concrete classes can be entities, and both of them can be annotated with the @Entity annotation, mapped as entities and queried for as entities. Entities can extend non-entity classes and non-entity classes can extend entity classes, so …
EclipseLink / JPA Annotations – @ManyToMany
The Many-To-Many annotation is one of the most important annotations provided by the EclipseLink – JPA. It defines a many-valued association with ManyToMany multiplicity (See single-valued multiplicity and different kind of many-valued multiplicity). A newly concept has introduced such as (JoinTable) as well as a new annotation like (@JoinTable) when we are coming to introduce …
JSTL Format fmt:requestEncoding Tag
The <fmt: requestEncoding> tag is used to set the character encoding of a request. The Syntax Of <fmt: requestEncoding> Tag Attributes of <fmt: requestEncoding> Tag value: The character encoding is further used to decode the request parameter. Example In first ResourceBundle class we have put color name Listing 1: EncCode_gg.java The another ResourceBundle contains color …
JSTL Format fmt:message Tag
The <fmt: message> tag maps key to localized message to return the value using the resource bundle specified in the bundle attribute. Syntax Of <fmt: message> Tag Attributes Of <fmt: message> Tag Attributes Description key It is used for specifying the key whose value which we want to display. bundle Specifies the resource bundle that …
PrimeFaces 5.0 Released
In December, PrimeFaces team has announced that they are working on the next major release PrimeFaces 5.0 with lot of new components. This will be expected to be released after March. The list of new features that will be introduced in PrimeFaces 5 is: Complete Guide : PrimeFaces 5 Features PrimeFaces Mobile With the new …