Home » Search

About name

161-170 of 200Refresh
Manual
16

Database Connection using JPA

. Connection URL The createEntityManagerFactory method takes as an argument a name of a persistence ... is considered by ObjectDB to be a database url rather than as a persistence unit name. To use ObjectDB ... (e.g. "objectdb:my.odb") is optional if the database file name extension is odb or objectdb
Manual
16

Paths and Types in JPQL and Criteria API

.capital.name is a nested path expression that continues from the Capital entity object to its name ... must contain a persistent field (or property) with a matching name. The path expression ... through a NULL value The following query retrieves country names with their capital city names: SELECT
Tutorial
16

Step 6: Set the Spring XML

> name>springname> org.springframework.web.servlet ... -mapping> name>springname> *.html name is derived from
Tutorial
16

Step 6: Set the Spring XML

"> name>springname> org ... > name>springname> *.html ... (whose name is derived from the name of the Spring dispatcher servlet in web.xml). To generate
Tutorial
16

Step 2: Define a JPA Entity Class

) and selecting New > Class. Enter guest as the package name - use exactly that case sensitive package name. Enter Guest as the class name - use exactly that case sensitive class name. Click Finish ... @GeneratedValue Long id; private String name; private Date signingDate
Tutorial
16

Step 2: Define a JPA Entity Class

) and selecting New > Java Class... Enter Guest as the class name - use exactly that case sensitive class name. Enter guest as the package name - use exactly that case sensitive package name. Click Finish ... ; // Persistent Fields: @Id @GeneratedValue Long id; private String name; private
Manual
15

JPA Persistence Unit

://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0"> name ... > name="javax.persistence.jdbc.url" value="objectdb://localhost/my.odb"/> name="javax.persistence.jdbc.user" value="admin
Manual
15

Literals in JPQL and Criteria Queries

values, but the fully qualified name of the enum type should always be specified. For example, assuming ... retrieval by type. In JPQL an entity type literal is written simply as the name of the entity class (e.g. Country). That is equivalent to Country.class in Java code. Notice that the name of the entity
Tutorial
15

Step 4: Add a Controller Class

) and selecting New > Class. The package name should be guest. Enter GuestController as the class name - use exactly that case sensitive class name. Click Finish to create the new Spring Controller class. Now ... (if any): String name = request.getParameter("name"); if (name != null
Tutorial
15

Step 4: Add a Servlet Class

... Enter GuestServlet as the class name - use exactly that case sensitive class name. The Java package name should be guest. Click Finish to create the new servlet class. Now replace the content ... .servlet.http.HttpServletResponse; @WebServlet(name="GuestServlet", urlPatterns={"/guest