EclipseLink is reference implementation for the Java Persistence API (JPA) specification. This project is maintained and supported by the Eclipse Open Source foundation. EclipseLink not only supports the JPA standards, it also supports the following open source standards: Java Persistence API (JPA) Java Architecture for XML Binding (JAXB) Java Connector Architecture (JCA) Service Data Objects …
EclipseLink / JPA Annotations – @OneToOne
OneToOne annotation is one of the annotations that are used for defining a single-valued association to another entity that has one-to-one multiplicity. The multiplicity concept seems ambiguous but it simply tells you the maximum and minimum allowed members of the set. It is a UML design concept for defining the association relationship, in one-to-one case …
EclipseLink / JPA – com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column
This post explains the common exception thrown in your eclipselink or JPA program when you miss the @JoinColumn annotation to refer the foreign key value. @JoinColumn is very important, cause it is used to indicate that there is a Joining at the annotated property, where the persistence implementation will take care of and consider the …
JSTL Format fmt:setBundle Tag
The <fmt:setBundle> tag is used to creates a ResourceBundle and stores the ResourceBundle object into the given variable and scope. The Syntax Of <fmt:setBundle> Tag Attributes Of <fmt:setBundle> Tag Attributes Description basename Specifies the resource bundle name with the package name. var Specifies the variable name to store new ResourceBundle. scope The Scope into which …
JSTL Format fmt:setLocale Tag
The <fmt:setLocale> is used to store the given locale in the locale configuration variable of the given scope or the class. The Syntax Of <fmt:setLocale> Tag Attributes Of <fmt:setLocale> Tag Attributes Description Value It is used to specify the locale name in lower case or in upper case. This value name should be as same …
JSTL Format fmt:parseDate Tag
The <fmt: parseDate> tag is used to parse and format the date and time according to the customized formatting pattern. Syntax Of <fmt: parseDate> Tag Attributes Of <fmt: parseDate> Tag Attributes Description value Specifies date or time to be parsed. type Specifies the string date, time or both to be parsed. dateStyle Specifies the style …
JSTL Format fmt:formatDate Tag
The <fmt: formatDate> tag is used to format the date and time according to the customized formatting pattern. The Syntax of the <fmt: formatDate> Tag Attributes of <fmt: formatDate> Tag Attributes Description value Specifies date or time to be formatted. type Specifies that either date or time or both should be formatted. dateStyle Specifies the …
EclipseLink – JPA Annotations
Have you ever been standing up close to an article that list most of the annotations that are used by the EclipseLink – JPA API? The EclipseLink provides many annotations covering the persistence into databases. But when we are coming into use of these annotations, we have already faced a big obstacles while remembering those …