ObjectDB Database Search

1-50 of 141 results

Step 1: Create a Java EE 6 Web Project

We start by creating a new Java EE dynamic web project in Eclipse: Open the [New Project ] dialog box, e.g. by using File New Project ... Select Web Dynamic Web Project and click Next . Choose ... dynamic web project . To add ObjectDB/JPA support to the project , drag the objectdb.jar file from

Step 1: Create a Maven Web Project

We start by creating a new Maven web project in NetBeans: Open the [New Project ] dialog box, e.g. by using File New Project ... Select Maven Maven Web Application and click Next . Choose a Project ... ;      Guestbook Now you should have a Maven based NetBeans web project with Spring

Step 1: Create a Maven Web Project

We start by creating a new Maven-WTP dynamic web project  in Eclipse: Open the [New Project ] dialog box, e.g. by using  File New Project ... Select  Maven Maven Project and click  ... stop Guestbook Now you should have a Maven based Eclipse dynamic web project (WTP) with Spring MVC

JPA Web App Tutorial - NetBeans Project

To open and run the  JPA Web Application tutorial  project in NetBeans: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the Maven project in NetBeans: Select  File Open Project ... . Select the  guestbook- web directory and click  Open

JPA Web App Tutorial - Maven Project

, you may download and run the result application as a Maven project : JPA Web App - Maven Project (6KB ... The  JPA Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for Tomcat / Jetty) in  Eclipse or  NetBeans

Java EE JPA Tutorial - Maven Project

;if you prefer, you may download and run the result application as a Maven project : Java EE JPA Web ... The  Java EE Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for GlassFish 3/ JBoss 6) in  Eclipse or 

Spring MVC JPA Tutorial - IntelliJ Project

To open and run the  Spring MVC JPA tutorial  project in Download and extract the project zip file: Spring MVC JPA - Maven Project (8KB) Open the project in IntelliJ IDEA: Select  File Open Project ... . Select the  guestbook-spring directory and click  OK . Define

Step 7: Run the Spring Web App

At this stage your project should have the following structure: Use copy and paste to replace ... ;you can run the application now by right clicking the project  node (in the [ Project Explorer] window ... ) and follow the instructions. Alternatively you can run the web application using the embedded

Eclipse/JPA Spring MVC Web Tutorial

;how to create and run a full Java Spring MVC (Model View Controller) web application in Eclipse - using ObjectDB, JPA, Tomcat (or GlassFish) and Maven. The demo web application manages ... slightly different but the code would be the same). The tutorial is based on using a Maven project

Step 1: Create a Java Project

We start by creating a new NetBeans Project : Open the [New Project ] dialog box, e.g. by using File New Project ... Select Java Java Application and click Next . Choose a Project Name (e.g. Tutorial ... the project . To add ObjectDB/JPA support for the project : Right click the Libraries folder in the [ Projects

What are the steps of creating small web app?

Hello guys, I have a question about creating small new web application, I am almost done with researching and studying and I have covered all the important concepts e.g. # Starting from web ... , Glassfish. ------------- - Now I am starting the project , and I designed the database model, and I am ready

NetBeans/JPA Web Application Tutorial

This is the NetBeans version of the  JPA Web App tutorial. It demonstrates how to create and run a database driven Java web application in NetBeans - using Tomcat 6 Apache Tomcat Server 6.0 ( some modifications are needed for Tomcat 7.0 ), ObjectDB and JPA. The demo web

problem with lazy loading - unittest project attached

problem with lazy loading - unittest project attached

Guessbook tutorial: Java EE 6 JPA Tutorial - Maven Project

Guessbook tutorial: Java EE 6 JPA Tutorial - Maven Project

ObjectDB Project Management

ObjectDB Project Management

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 ... )? If the database is located in a directory that is cleaned by the web server on every new deployment

SELECT clause (JPQL / Criteria API)

. Projection of path expressions JPQL queries can also return results that are not entities. For example ... projection . Projection extracts field values from entities to form the query results. The results ... a query that uses projection when a result path expression resolves to an entity. For example

Step 6: Set the Spring XML

servlet in web .xml ). To generate that file: Right click the WEB -INF node in the [ Projects ] window ... To integrate the Spring Framework into a web application we have to add the definition of the Spring dispatcher servlet to the web .xml configuration file and to configure that servlet using

Does ObjectDB create one instance of each entity class on (web app) load ?

ObjectDB: 2.7.1_06 [EDIT: Glassfish4.1.1 or Payara payara-4.1.2-174] I have been profiling a large web app with the NetBeans 8.2 Profiler. I can see that exactly one instance of each entity is present in memory, at web app startup, before I've loaded anything, and they won't garbage collect

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

attached project JavaEE Maven with NetBeans (7.4 beta in my case). Start ObjectDB on localhost as server. Run project on Apache Tomee 1.5.2 standard. Take a look at NetBeans' output to see how many entities ... the change, close ObjectDB's connection, and run the project again. Important : do all that until a new

Step 5: Add a JSP Page

] dialog box by right clicking the WEB -INF node under the Web Pages node (in the [ Projects ] window ... name. The Folder should be WEB -INF (to prevent accessing the JSP directly not through Spring). Click ... content: JPA Guestbook Web Application Tutorial Name: The JSP generates the guestbook page output

ObjectDB within a resource adapter module and Java EE Connector Architecture

associated with it ? Example: JPA-style: 2 separate end- project web apps leverage the same EJBs, which in ... (1st specific web app project , uses shared CoreWeb, CoreEJB etc.) SpecWeb2 (2nd specific web app ... EntityManager em; The 2 web apps end up using the same persistence.xml, and thus the same ObjectDB

Server Configuration

directory . The data path of an ObjectDB server is similar to the document root directory of a web

Possible cause for "Enhancement of type ... is old and cannot be used"

have been getting the error 'Enhancement of type ... is old and cannot be used' across a number of projects (both large web app project and dedicated ObjectDB test projects ) since trying objectdb-2.6.6_07 ... project and enhance it to get the exception? support Support Briefly: in one simple web app test case I

Spring MVC and JPA Tutorial

This tutorial demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application using Tomcat (or GlassFish), JPA, ObjectDB and Maven. The demo web application manages ... an ObjectDB database. This tutorial is available in the following versions: In addition, the demonstrated application is available as a Maven project :

How to Use a SF with extended Persistence Context?

one using the persist method of the GuestDao. I use Jboss AS 7 and when I run the project I ... .AbstractServerConfig] (MSC service thread 1-9) JBoss Web Services - Stack CXF Server 4.0.2.GA 13:52:02,331 INFO  ... . web ] (MSC service thread 1-2) JBAS018210: Registering web context: /Guestbook 13:52:03,173 INFO 

Index Definition

. ObjectDB also uses indexes for sorting results and for projection : SELECT MIN(p.x) FROM Point p WHERE p.x

How to package orm.xml when using EJB in WAR?

). However, when a different web project (WAR file), which declares a dependency to the database EJB is built ... -around seems to be to add a copy of orm.xml into src/main/resources/META-INF of the web project that depends on the EJB ... Hi, I have database utility classes in one project , the id's use sequences declared in an orm.xml

How to resolve 404 errors with Eclipse/Maven Spring MVC

I have created a project as guided by www.objectdb.com/tutorial/jpa/eclipse/spring/run. When I abandon eclipse and use the maven command line to deploy this Spring MVC web app to jetty and point ... ; Eclipse Juno (eclipse-jee-juno-SR1-win32-x86_64), maven 3 and Tomcat 6 to create a new maven project

UTF Error

project ) . The downloaded version of ObjectDB is also 2.8.8.  I have added the full error ... .getValue(ValueExpressionImpl.java:184) at org.jboss.weld.module. web .el.WeldValueExpression.getValue ... .catalina.core.StandardPipeline.invoke(StandardPipeline.java:577) at com.sun.enterprise. web .WebPipeline

Replaying recorded requests...

the root directory of my web project and now it is being read. So, I think for now I can live with it in 2 locations: project root for development, and WEB -INF/objectdb.conf for deployment. The question ... so that's one problem. I have been using / WEB -INF/objectdb.conf  - is this the wrong location? In addition

Step 6: Set the Spring XML

To integrate the Spring Framework into a web application we have to add the definition of the Spring dispatcher servlet to the  web .xml configuration file and to configure that servlet using another xml configuration file. Open the  web .xml file (under src/main/webapp/ WEB -INF) in a text

multiple different applications access one odb file

and the other one would be for exposing the DB data via web services. Do all these apps need to have the same DB schema. The BIRT ... Web Services within the APP but he would like to do some integration directly) Does anybody have experience with this. thanks peric.emil Emil Perić If you can run all these 3 applications on your web

Problem on JPA Merge Entity.

; This a little webapp (using Spring/Spring MVC, ObjectDb, JPA) project under Eclipse. I upload the project archive.   The little sample is based on a web page ( http://localhost:8080/ERGO_ObjectDB/) On this web page we can found 4 links. /testCreate /testUpdate /refresh /updateAllInDao  

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

and Person works well, because inherit from the same super class. Please check if rebuilding the project ... , which should guarantee that the project is fully enhanced when deployed. support Support I rebuilt the project ... .java:50) 12:25:10,498 ERROR [stderr] (http--127.0.0.1-8080-1) at org.jboss.as. web .security

app.jelastic.eapps.com and objectdb

It seems that this web hosting service doesn't support objectdb and that is frustrating. Does ... ;   pezifromvienna Peter Sauer If Jelastic supports standard Java web applications, the location of ObjectDB files would be as usual, as demonstrated in the ObjectDB web application tutorials. Note

UserException: Package com.example.model is not found by the enhancer

and move the dist directory out of the project to a remote location and run it using java -jar example.jar then I ... deployment of the web application with already enhanced classes, so there is no need to run ... , Project , Run, VM Options: java -javaagent:C:\work\programs\Object DB\objectdb-2.5.5_14\bin\objectdb.jar

Spring + Maven + persitence.xml

):   org.springframework. web .util.NestedServletException: Request processing failed; nested ... org.springframework. web .servlet.FrameworkServlet.processRequest(FrameworkServlet.java:894) org.springframework. web .servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) javax.servlet.http

Step 4: Add a Controller Class

In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java ... . web .bind.annotation.RequestMapping; import org.springframework. web .servlet.ModelAndView; @Controller ... ); } } The GuestController class is defined as a Spring managed web controller using the @Controller annotation

Step 3: Add a Context Listener Class

if not existing 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 closing ... Other... Web Listener and clicking Next . The Java package name should be guest. Enter GuestListener as

Potential ObjectDB bug

.apache.shiro. web .servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [shiro- web -1.2.1.jar:1.2.1] at org.apache.shiro. web .servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) [shiro- web -1.2.1.jar:1.2.1] at org.apache.shiro.subject.support.SubjectCallable.doCall

Step 2: Entity Class and Persistence Unit

the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window ... objects in the database was created in the project (under Java Resources: src guest). Use copy ... a META-INF/persistence.xml file: Open the [New Folder] dialog box, e.g. by right clicking the project

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [Create Servlet] dialog box by right clicking the guest package node (in the [Package Explorer] window), selecting  New Other... Web Servlet and clicking  Next . The Java package name should be guest

jakarta.persistence.MapKeyEnumerated

Employee { @ManyToMany public Projects getProjects() { ... } @OneToMany @MapKeyEnumerated(STRING) public

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Right click on the project in the [Package Explorer] window and select New Class . Enter tutorial as the package ... (and its annotations) - the Point class is an ordinary Java class. The next step is adding to the project

Step 4: Run the Application

You can run the application now by right clicking the Main node (in the [ Projects ] window) and selecting Run File . The expected output in the [Output] window, is: Total Points: 1000 Average X: 499.5 (0,0) (1,1) (2,2) (3,3) : : (998,998) (999,999) When you run the application for the first time

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the tutorial package node (in the [ Projects ] window) and selecting New Java Class ... Enter Point as the class name - use exactly that case sensitive

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

;Glassfish3.0.1 objectdb-2.2.5_10 JavaEE6 web app The error reports as: javax.servlet.ServletException ... ;      at com.sun.enterprise. web .WebPipeline.invoke(WebPipeline.java:97)         at com.sun.enterprise. web .PESessionLockingStandardPipeline

Navigation through lazy loading from Detached Objects

a similar extension in ObjectDB would ease emigration of web applications from EclipseLink to ObjectDB ... use our EclipseLink-based JavaEE (JPA+JSF) web application with ObjectDB ... on that capability heavily in our web application, especially from JSF, pulling very complex data

After using the enhancer, Lazy loaded collections are no longer loading. They are set as null

, CascadeType.PERSIST}, mappedBy="account", fetch = FetchType.LAZY) @JoinColumn(name = " project _id", unique=true, nullable=false, updatable=false) protected List projects = new ArrayList (); public List getProjects() { return projects ; } public void setProjects(List projects ) { this. projects = projects