When we’ve discussed the inheritance and mapped superclasses concepts in the previous tutorials, we are avoiding concepts that could confuse the readers or makes misunderstanding for them. Most of the clarified examples didn’t provide an Abstract Entity as a target entities that can be managed by the entity manager. On the contrary an Abstract Entity was only …
JSTL XML x:transform Tag
The <x:transform> tag is used to transform an xml data based on XSLT script. This tag used to apply an XSL transformation on an XML document. Syntax of <x:transform> Tag Attributes of <x:transform> Tag Attributes Description var This attribute specifies the variable name to which transformed XML document has to be set. scope This attribute …
Thymeleaf Tutorials
What is Thymeleaf? Thymeleaf is Java library and template engine that supports XML/XHTML/HTML5 template engines. It is very well suited for processing the XHTML and HTML5 documents in the web applications. Also it can process the XML documents while work as offline applications. This is a new template engine and adopted by many of the …
EclipseLink / JPA Annotations – @AttributeOverride And @AssociationOverride
At this tutorial we’ll introduce using of @AttributeOverride and @AssocationOverride that mentioned intentionally at the @MappedSuperclass tutorial. As you’ve remembered at @MappedSuperclass annotation tutorial, we’ve mentioned at the Database Design section the possibility of using @AttributeOverride and @AssociationOverride to override the attributes and associations that inherited from the mapped superclass. An entity can inherit a persistent entity state and …
EclipseLink / JPA Annotations – @MappedSuperclass
This tutorial will explain the using of @MappedSuperclass, that could be considered as an alternative choice for sharing a persistent entity state and mapping information. An entity may inherit from a super class that provides a persistent entity state and mapping information as we’ve seen previously in the @Inheritance tutorials. Unlike using of @Inheritance, the …
EclipseLink / JPA Annotations – @Inheritance With Table Per Concrete Strategy
The inheritance is one of the most scenarios that can be encountered once we’ve been coming into business field. Inside 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 …
JSTL Function fn:substringBefore()
The <fn: substringBefore> is function of JSTL which is used to extract the part of the string before the specified substring. Syntax Of <fn: substringBefore> Tag Example Details of the Code < c:set var=”str” value=”hello world!!!! Welcome to JavaBeat”> tag is used to set variable name and to display result in the output using value …
JSTL Function fn:substringAfter()
The <fn: substringAfter> is function of JSTL which is used to extract the part of the string after the specified substring. Syntax Of <fn: substringAfter> Tag Example Details of the Code < c:set var=”str” value=”hello world..Welcome to JavaBeat”> tag is used to set variable name and to display result in the output using value attribute. …