ObjectDB Database Search

51-100 of 200 results

How to deploy an Objectdb project with Jboss AS 7?

Hi, I cannot deploy Guestbook project to Jboss AS 7. I followed the previous threads concerning ... . Is there an instruction how to deploy objectdb project to Jboss AS 7 step by step?   I used ...   how can I do it right? I'm attaching the project with all the changes. Please help !  

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

Multiple inputs not supported on WHERE ?

:186) ~[spring-aop-5.3.31.jar:5.3.31]     at org.springframework.data. projection ... ]     at org.springframework.data. projection .DefaultMethodInvokingMethodInterceptor.invoke ... (Method.java:498) ~[na:1.8.0_462]     at org.springframework. web .method.support

Project runs in Eclipse but not when exported to runnable jar

I have a simple project that performs some stability calculations and displays a scale drawing ... . The project works perfectly well when run from eclipse but nothing opens when I export to a runnable jar ... to object db resolves the issue and the project runs, so I'm fairly sure it is something I've

Difference performance in ObjectDB Explorer and in java project

Hello, I am learning ObjectDB and i noticed that the queries that are executed in  ObjectDB Explorer are faster (about 5 ms) than queries in my project (~400 ms). Here is my JPQL ... my project and about 300 ms in explorer Konstantin Konstantin See this manual page regarding the query

Is an objectdb.conf required when providing test case projects here?

I am not sure whether it is mentioned anywhere (it does not seem to be given as an option under http://www.objectdb.com/java/jpa/setting) but it seems that ObjectDB projects run  ... to completely omit the objectdb.conf when providing (links to) mini test projects

Inherited project; missing licence details

Hello, I have taken over a project that uses object db.  I believe that we have a site licence but do not have the details of how to generate keys for servers etc.  Is there anyway that I can get this information forwarded to myself? I would rather not put my work email on a public forum

Analyse opensource project

Hello , it will be good if you analyse open source project :   i heard it new. Maybe it can be helpful for more faster objectdb or jdbc side. kadirbasol Kadir BASOL It is a competing product, which of course, you may use if it works well for you. If you want to discuss it please use

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 ... :1.3.0.RELEASE] at org.springframework. web .filter.OncePerRequestFilter.doFilter(OncePerRequestFilter

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

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

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

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

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

seems to work (with minimal testing) both in my test console app and main large web app project .  webel Dr Darren Kelly ... classes are crucial to an Expert System web app I develop; please do not be further concerned ... here have been recorded carefully at every step, including Git tracking and tracking in a CMS web

New Web Application Tutorials

New ObjectDB/JPA tutorials have been published today: Eclipse/JPA Web Application Tutorial NetBeans/JPA Web Application Tutorial The new tutorials demonstrate how to build a simple database driven web application using ObjectDB and JPA. Understanding these tutorials requires some familiarity

How find out ObjectDB version at runtime (in a web app)

Am getting inconsistent results with the "objectdb.temp.no-enhancement-crc-check" system property of objectdb-2.6.9_02 in a Glassfish web app. Can see correct version of objectdb-2.6.9_02 in /build/ web / WEB -INF/lib. When one runs the enhancer (which I am doing post-compile, pre-deploy

Web Framework Recommendation for leveraging JPA + ObjectDB

like ObjectDB, for instance. Immediately the following question pops up: Which Web Framework supports ... + ObjectDB" couple successfully in conjunction with a contemporary Web Framework ? Any hints ... web applications are: Servlet container (Tomcat / Jetty) with servlets and JSPs. Java EE application

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

Undeploying Glassfish web application does not disconnect from ObjectDB

Glassfish3.1.1 Netbeans7.1 ObjectDB 2.3.7_19 If I deploy a web application to Glassfish using ObjectDB as JPA provider, then undeploy, I can't access the database file in the ObjectDB explorer ... ObjectDB in embedded mode? Apparently undeploying a web application from GlassFish doesn't close

Unable to run NetBeans/JPA Web Application Tutorial

I followed each and every step of NetBeans/JPA Web Application Tutorial but when i am trying to run the web application the following error is prompted on the run console: Start is in progress... start?path=/GuestBook FAIL - Application at context path /GuestBook could not be started C:\GuestBook

Query Method NullPointerException on List iteration

-aop-5.2.6.RELEASE.jar:5.2.6.RELEASE] at org.springframework.data. projection ... .invoke(Method.java:564) ~[na:na] at org.springframework. web .method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) ~[spring- web -5.2.5.RELEASE.jar:5.2.5.RELEASE] at org

Retrieving JPA Entities

= FetchType . EAGER ) private Collection projects ; : } Specifying FetchType . EAGER in either the @OneToMany ... is retrieved, all the referenced Project instances are also retrieved automatically. Retrieval by

Server Configuration

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

JPA Connections and Transactions

during their lifetime. For example, in a web application, it is common to establish a separate database

Index Definition

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

JPA Criteria Queries

of the SELECT clause. The selection items ( projection ) are defined by the following functional interface

What's next?

program. You can start your own ObjectDB/JPA projects by modifying this example program

Running JPA Queries

()); } Note: If you only need to print the country names, it is more efficient to use a projection query

Step 2: Entity Class and Persistence Unit

the  project node (in the [Package Explorer] window), select  New Source Folder ... the database was created in the project (under Java Resources: src/main/java guest). Use  copy ... the [ Project Explorer]) and select  New Folder. The parent folder should be resources. Enter META

Step 2: Entity Class and Persistence Unit

the [New Entity Class] dialog box, e.g. by right clicking the project node (in the [ Projects ] window ... objects in the database was created in the project (under Source Packages guest). Use copy and paste ... to the project (under Other Sources src/main/resources META-INF). Open the persistence.xml file in

Web Application Tutorial

A tutorial that demonstrates how to use ObjectDB in a web application should be written and added to the Tutorials section. support Support The following web tutorials are now available: JPA Web Application in Eclipse JPA Web Application in NetBeans Java EE 6 (J2EE) in Eclipse Java EE 6 (J2EE) in NetBeans support Support

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

Eclipse/JPA Java EE Tutorial

This is the Eclipse version of the Java EE JPA tutorial. It demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application in Eclipse - using GlassFish, ObjectDB and JPA. The demo web application manages a basic guestbook page. Every visitor

NetBeans/JPA Java EE Tutorial

This is the NetBeans version of the  Java EE JPA tutorial. It demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application in NetBeans - using GlassFish, ObjectDB and JPA. The demo web application manages a basic guestbook page

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

, the inability to robustly query relationship fields in a web application renders the ObjectDB ... Web App and viewing both the Glassfish output log and the single served JSF page indexTest.xthml ... ,"---"); log_info($i,"element",e); log_info($i,"element. project ",e.getProject()); List ownedElements = e

Minor typo on web page...

Minor typo on web page...

jakarta.persistence.MapKeyEnumerated

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

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 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 project node (in the [ Projects ] window) and selecting New Java Class ... Enter Guest as the class name - use exactly that case sensitive class name

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

Step 1: Install BIRT and ObjectDB Driver

matching the driver version to the ObjectDB server version when using client-server mode. The next step is creating a BIRT Report project .

Step 3: Define an EJB Session Bean

Operations on the database will be performed by an instance of a session bean (EJB) class that we will define in this step: Open the [New Session Bean] dialog box by right clicking the guest package node (in the [ Projects ] window), selecting New Other... Java EE (or Enterprise JavaBeans) Session

Step 3: Define a Spring DAO Component

Operations on the database will be performed by an instance of a Data Access Object (DAO) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right clicking the guest package node (in the [ Projects ] window under Source Packages) and selecting New

Step 3: Add a Main Class

In this step we will add a main class to the project to store and retrieve Point objects from the database: Right click the tutorial package in the [Package Explorer] window and select New Class . The package name should be tutorial . Enter Main as the class name (case sensitive). Click Finish

Step 3: Add a Main Class

In this step we will add code to the Main class (that was generated with the project ) in order to store Point objects in the database and then retrieve them from the database. Use copy and paste to replace the content of the Main class with the following content: package tutorial; import javax

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 project node (in the [Package Explorer] window) and selecting New Class . Enter guest as the package name - use exactly that case sensitive package

Getting Started with JPA

versions: In addition the demonstrated application is available as a Maven project :

[ODB1] Chapter 3 - Persistent Classes

to a project that applies on the fly enhancement: package test; /** Additional main - On the Fly JDO Enhancer