About web project

61-70 of 200Refresh
Tutorial
7

Step 3: Add a Context Listener Class

if not exists yet) when the web application starts, by instantiating an EntityManagerFactory. The database will be closed when the web application stops (or when the web server shuts down), by ... > Other... > Web > Listener and clicking Next. The Java package name should be guest. Enter GuestListener
Issue
7

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

with extended Persistence Context? [EDIT: 2006-09-29 New improved version of test mini web app with test mode ... -B.tgz To reproduce the problem described below, simply download the test project, open in NetBeans8 ... -2.6.9_01. In the test case, only a single Project entity is used, and 2 project objects
Forum
6

Problems with Tutorials » JPA Web App (Tomcat) » NetBeans JPA Web App

Problems with Tutorials » JPA Web App (Tomcat) » NetBeans JPA Web App
Tutorial
6

Step 5: Add a JSP Page

] dialog box by right clicking WEB-INF under src/main/webapp (in the [Package Explorer] window), selecting New > Other... > Web > JSP File and clicking Next. The parent folder should be WEB-INF ... ://www.w3.org/TR/html4/loose.dtd"> JPA Guestbook Web Application
Tutorial
6

Step 5: Add a JSP Page

> Other... > Web > JSP File and clicking Next. Enter guest as the jsp file name - use exactly ... > JPA Guest Book <B>Web</b> Application Tutorial <% } %>
Manual
6

JPA Primary Key

key field: @Entity public class Project { @Id @GeneratedValue long id; // still set ... public class Project { @Id long id; // must be initialized by the application ... , the primary key of the following Project entity class consists of two fields: @Entity @IdClass
Tutorial
6

Step 2: Entity Class and Persistence Unit

Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window ... the project (under Java Resources: src > guest). Use copy and paste to replace the new source file ... /persistence.xml file: Open the [New Folder] dialog box, e.g. by right clicking the project node (in
Forum
6

Problem upgrading

. It's generating endless log files. I had to turn up Xmx to even see it before the JVM crashes. (Our web framework tried to show the exception on the client) I did a full rebuild of the project. It's using ... .springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.2.3
Forum
6

Database is erased after deploying a new web application version

Hello, I'm a new ObjectDB user and currently working on a Java web application that's running within Tomcat and uses ObjectDB. Each time I upload a new version of the web application (WAR file ... the web server on every new deployment you should move it to another directory. Thanks for the quick
Manual
6

SELECT clause (JPQL / Criteria API)

- JPQL does not support the "SELECT *" expression (which is commonly used in SQL). Projection of Path ... projection. The field values are extracted from (or projected out of) entity objects to form the query ... that uses projection when a result path expression resolves to an entity. For example, the following