ObjectDB Database Search

51-100 of 200 results

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

Problem undeploying Glassfish3.1.1 web application cleanly

objectdb- 2 .3.7_18 When I undeploy a Glassfish3.1.1 web application when using @PersistenceContext ... yet been started, or was already stopped at org.glassfish. web .loader.WebappClassLoader.loadClass(WebappClassLoader.java:1411) at org.glassfish. web .loader.WebappClassLoader.loadClass(WebappClassLoader.java:1369

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

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 ... ://www.objectdb.com/forum/1465#item- 2 Gave ObjectDB version:( 2 .6.9_02).   webel Dr Darren Kelly

Compile time enhancement using build.xml of a Netbeans web application

of a Netbeans web application project to specify ObjectDB compile time enhancement, for both single file and whole project compilation ? The ObjectDB 2 .3 manual gives the following tip ... a Netbeans web application build.xml works for an entire build:        

Glassfish 3.1.2.1 and ObjectDB 2.4.3

default web module [] INFO: Hibernate Validator 4. 2 .0.Final INFO: EJB5181:Portable JNDI names for EJB ... - The requested resource () is not available. I tried it on Glassfish server 3.1. 2 and 3.1. 2 . 2 . Sometimes I ... INFO: Running GlassFish Version: GlassFish Server Open Source Edition 3.1. 2 (build 23) INFO: Grizzly

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 ... . BUILD FAILED (total time: 2 minutes 13 seconds)   Hoping somebody can help! Thank You! pryashrma

Your Glassfish example on the web

Hi, I'm doing a school project with objectdb and glassfish. I have tried your web tutorial "Java ... in a previous forum thread . ObjectDB 2 .3.7_03 was not compatible with GlassFish 3.1. 2 that was released a few days ago. A new build ( 2 .3.7_04) was just released that is compatible with GlassFish 3.1. 2 .   support Support

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

problems with web app. Definitely using ObjectDB version 2 .6.9_02, checked on web app startup using ... before the property is set by your web application. support Support Thanks, objectdb- 2 .6.9_06.jar ... objectdb- 2 .6.9_02 (with "objectdb.temp.no-enhancement-crc-check" system property

GlassFish 3.1.2.2/JBoss 7.1.1

there are also issues with GlassFish 3.1. 2 (GlassFish 3.1.1 may work better with ObjectDB ... 2 .4.3 can be used with JBoss AS 7.1.1. As discussed in this forum thread - you will have to: Add ObjectDB as a module to JBoss (instead of putting objectdb.jar in the web application lib  

Multiple inputs not supported on WHERE ?

.userEntity.sicilNo = ? 2 ")     int updateUserEnabledInternal( Boolean enabled , Integer sicilNo ... WHERE u.userEntity.sicilNo = ? 2 " I got exceptions on these codes ? com.objectdb.o.InternalException ... ) ~[objectdb- 2 .9.4.jar:na]     at com.objectdb.o.QRC.i(QRC.java:294) ~[objectdb- 2 .9.4.jar:na

Problem upgrading

.java:107) [spring- web -4. 2 .3.RELEASE.jar:4. 2 .3.RELEASE] at org.apache.catalina.core ... .OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring- web -4. 2 .3.RELEASE.jar:4. 2 .3.RELEASE ... :107) [spring- web -4. 2 .3.RELEASE.jar:4. 2 .3.RELEASE] at org.springframework.security. web

Apache Tomee 1.5.2: Failed to use JTA (TransactionManager is not found)

Hello, ObjectDB team! I am struggling with getting ObjectDB 2 .5.0 to work with clean Apache Tomee 1.5. 2 with transaction-type="JTA". I don't have any configurations in Tomee (objectdb.jar is in ... to use JTA. You may try removing objectdb.jar from TomEE classpath, and putting it in the web

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

/java/apache-log4j- 2 .5-bin/log4j-api- 2 .5.jar:/usr/local/java/apache-log4j- 2 .5-bin/log4j- web - 2 .5.jar If I ... else encounters the problem too. It is mostly also not a concern for my own web app, because in most cases a non-static logging variable holder can be used in an @Entity.     ObjectDB 2 .6.3

Privacy Policy

may use Cookies. Web Beacons:  Certain sections of our Service and our emails may contain small electronic files known as web beacons (also referred to as clear gifs, pixel tags, and single-pixel ... , while Session Cookies are deleted as soon as You close Your web browser. We use both Session and Persistent

Chapter 6 - Configuration

subdirectory. However, moving objectdb.jar changes the value of $objectdb . For example, in a web application where objectdb.jar is in WEB -INF/lib , the ObjectDB home directory ( $objectdb ) is WEB -INF

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

Online Backup

that require continuous service (24/7), such as most web applications. Starting an online backup

Strings in JPQL and Criteria Queries

to 'aly' . SUBSTRING('Italy', 3, 2 ) is evaluated to 'al' . Positions are one-based (as in SQL), not ... ); Expression l2 = cb. locate (path, "x"); Expression l3 = cb. locate (path, param, cb. literal ( 2 )); Expression l4 = cb. locate (path, "x", 2 ); // LOWER(str) and UPPER(str) Expression lower = cb. lower (path

Numbers in JPQL and Criteria Queries

. For example: MOD(11, 3) evaluates to 2 . MOD(8, 4) evaluates to 0 . The MOD function takes two integer ... function returns the square root of a specified argument. For example: SQRT(9) is evaluated to 3 SQRT( 2 ... (+) Expression sum1 = cb. sum (path, param); // 2 expressions Expression sum2 = cb. sum (path, 1000

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

objectdb- 2 .6.9_06 NetBeans8.1+Glassfish4.1.1 Mac OS X Possibly related:  How to Use a SF with extended Persistence Context? [EDIT: 2006-09-29 New improved version of test mini web app with test ... .test.mini.ejb.ExtProjectBuilder ! Then Clean and Build (objectdb- 2 .6.9_06.jar is already included

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

applications I provided here above (console app in #1, and mini web app in # 2 & #3) work now correctly with Build 2 .6.9_01. But, in my real-world web application it gets further then  ... The following error is reported for objectdb- 2 .6.9.jar: Failed to commit transaction: Failed

Eclipse Public License - v 1.0

. "Recipient" means anyone who receives the Program under this Agreement, including all Contributors. 2 ... such Recipient's patent(s), then such Recipient's rights granted under Section 2 (b) shall terminate as ... its Contributions) under the new version. Except as expressly stated in Sections 2 (a) and 2 (b

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 4: Add a Controller Class

In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java ... .springframework.stereotype.Controller; import org.springframework. web .bind.annotation.RequestMapping; import org.springframework. web .servlet.ModelAndView; @Controller public class GuestController

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 ... Other... Select Web Web Application Listener and click Next . Enter GuestListener as the class name - use

ObjectDB 2 JDO Manual

The new ObjectDB Manual describes how to use ObjectDB 2 with JPA. An additional manual that focuses on using ObjectDB 2 with JDO can help JDO users. But since writing a new manual ... to see the updated web page and the support for JPA when I returned to your site today. However, it is difficult

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

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

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 ... replace the content of the new jsp file with the following content: JPA Guestbook Web Application

Java EE JPA Tutorial - Maven Project

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  ... ;if you prefer, you may download and run the result application as a Maven project: Java EE JPA Web

Step 5: Add a JSP Page

] dialog box by right clicking the Web Pages node (in the [Projects] window) and selecting New JSP ... Guest Book Web Application Tutorial Name: The JSP generates the guestbook page output, which contains ... the previous step). The next step (and the last in this tutorial) is running the web application .

Step 5: Add a JSP Page

] dialog box by right clicking the Web Pages node (in the [Projects] window) and selecting New JSP ... Guest Book Web Application Tutorial Name: The JSP generates the guestbook page output, which contains ... the previous step). The next step (and the last in this tutorial) is running the web application .

Step 5: Add a JSP Page

  New Other... Web JSP File and clicking  Next . Enter  guest as the jsp file name ... replace the content of the new jsp file with the following content: JPA Guest Book Web Application ... (and the last in this tutorial) is running the web application .

Step 5: Add a JSP Page

New Other... Web JSP File and clicking Next . Enter guest as the jsp file name - use exactly ... of the new jsp file with the following content: JPA Guest Book Web Application Tutorial Name: The JSP ... " attribute that is set by the servlet in the previous step). The next step (and the last one in this tutorial) is running the web application .

Java EE 6 JPA Tutorial - IntelliJ Project

To open and run the  Java EE 6 Web Application tutorial project in IntelliJ IDEA: Download and extract the project zip file: Java EE JPA Web App - Maven Project (7KB) Open ... and click the green run icon (or  Shift+F10 ). If the browser fails to open check the settings at  File Settings Web Browsers .

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 a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. All visitors

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

Java EE 6 JPA Tutorial - Eclipse Project

To open and run the Java EE 6 Web Application tutorial project in Eclipse: Download and extract the project zip file: Java EE JPA Web App - Maven Project (7KB) Open the Maven project in Eclipse: Select  File Import... Maven Existing Maven Projects and click  Next . Select

Java EE 6 JPA Tutorial - NetBeans Project

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

Spring MVC JPA Tutorial - Maven Project

The  Spring MVC JPA tutorial provides step by step instructions on how to build a simple Java/JPA Spring MVC database driven web application in  Eclipse or  NetBeans . Building a new ... and install ObjectDB or a Java web server - Maven will download the ObjectDB jar and the Jetty

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. Enter

Spring MVC JPA Tutorial - IntelliJ Project

+F10 ). If the browser fails to open check the settings at  File Settings Web Browsers .

Step 6: Run the Java EE 6 Application

\Guestbook\ WEB -INF ). You can stop the GlassFish server and open the database file in ObjectDB Explorer

Step 6: Run the Java EE 6 Application

under the GlassFish directory (e.g. at domains\domain1\eclipseApps\Guestbook\ WEB -INF ). You can stop the GlassFish

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [New Servlet] dialog box by right clicking the guest package node (in the [Projects] window) and selecting New Servlet ... Enter GuestServlet as the class name - use exactly that case sensitive class name. The Java

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [New Servlet] dialog box by right clicking the guest package node (in the [Projects] window) and selecting New Servlet ... Enter GuestServlet as the class name - use exactly that case sensitive class name. The Java

[ODB1] Chapter 7 - JDOQL Queries

) void setCandidates(Extent pcs) void setFilter(String filter) 7. 2   Query Filter Syntax ... , 0, 0xFFFF, 07777 , ... long 2003L, -127L, 0L, 0xFFFFL, 07777L , ... float 3.14F, 0f, 1e2f, - 2 .f, 5.04e+17f , ... double 3.14, 0d, 1e2D, - 2 ., 5.04e+17 , ... char 'x', '@', '\n', '\\', '\'', '\uFFFF