ObjectDB Database Search
151-200 of 200 resultsDatabase 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 ... application (WAR file) and deploy it from Tomcat's manager, I get a new empty database. I assume ... it: When running a new web application version, I get an exception saying this file could not be opened | |
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 | |
Database server with an application Hi, I read the database server section of the manual - and it looks like it is not possible to connect to a Database embedded with an application from another application - is that correct? The way to go is to have the DB server running by itself and then the 2 other applications connecting | |
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 | |
Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers Hi, Object are not being persisted when ObjectDB and another db is used in the same application (through spring) with different tx managers, please find an example of this below. Any help ... application and we need to decide if we are going to purchase it very soon. Many Thanks Persistence | |
RT Java application recording into 100DB run OOM after a few hours. Hi, I am running a java application that records data from 100 feeds into 100 different database - this is done is one thread. It works fine several hours - and suddenly i got an out of memory issue ... - so it must be using the default somewhere). 2/ Using Netbeans, I profiled the application and I noticed | |
Can I use the objectDB in android application? I'm interesting in the ObjectDB, and I want to know if it passiable run at the android application . The ObjectDB does not support other program language , but can the export an relational database models and data,when they have to change. wamdy wamdy Android is currently not supported | |
Rename Application StringIdentity I don't think JDO supports altering an entity's Application Identity. Does ObjectDB? @PersistenceCapable public class MyClass implements Serializable, Cloneable{ @Id private StringIdentity id; ... } PersistenceManager persistenceManager = ...; Transaction transaction | |
How to connect to an embedded ObjectDB in a JPA/JEE application? It is easy to change the properties in persistence.xml file to connect to an ObjectDB server. But I could not find any reference who to connet to an embedded objectdb in a JEE/JPA application through changing persistence.xml file. Can any one please help ? buddhika75 M H B Ariyaratne Just replace | |
Access to client/server database from multiple applications Is there a preferred way to run a client-server database so that updates from one application are immediately visible to another? The way I managed this was to run PersistenceManagerFactory.getDataStoreCache().evictAll(true,MyClass.class) to ensure that a query on MyClass would contain updated | |
Database Management Settings is appropriate for most applications . The element When recovery is enabled, ObjectDB creates a recovery file | |
Setting and Tuning of JPA Queries. The application can change the default mode at the EntityManager level, which applies to all queries in | |
Storing JPA Entities of the same transaction. The application is responsible for ensuring that when an object is stored in | |
JPA Named Queries Annotations of the ObjectDB Manual. Query references Access named queries in the application by name or by using | |
Database Replication and Clustering ( | ). Typically, the application uses only the first URL, which is the master database in | |
Auto Generated Values is global to the application and can be used by multiple fields across different classes. Specify | |
What are the system requirements for using ObjectDB? ObjectDB requires Java 8 or later. As a pure Java application , ObjectDB should be able to run on any platform that supports the Java Standard Edition. Either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) can be used. A version of ObjectDB for .NET is currently under development. | |
JPA Query Structure (JPQL / Criteria) and easier to use in Java applications . JPQL Query Structure Like SQL, a JPQL SELECT query consists | |
JPA Criteria Query Date/Time Extraction , and java.sql.Time ), including HOUR , MINUTE , and SECOND . Defines component types applicable | |
ObjectDB License and/or cloud hosting companies (including shared web hosting and VPS), if the hosted applications | |
SQL Queries Annotations Jakarta Persistence (JPA) provides a set of annotations to define and map native SQL queries when the standard Java Persistence Query Language (JPQL) is insufficient. While ObjectDB focuses on JPQL and ignores these annotations, they remain essential for applications interacting with relational | |
JPA Container Injection Annotations Jakarta Persistence (JPA) provides standard annotations to manage dependencies on container-managed persistence resources in both Jakarta EE and Spring Framework environments. They enable the container to inject EntityManager or EntityManagerFactory proxies directly into application components | |
Query Parameters in JPA the application to JPQL injection attacks. For example, suppose the name parameter is received as user input | |
Database Schema Evolution() if necessary). From String to numeric types, including enum types (when applicable ). From any date/time type | |
Chapter 2 - JPA Entity Classes An entity class is a user-defined class whose instances can be stored in a database. To store data in an ObjectDB database using Jakarta Persistence (JPA), you define entity classes that represent your application's data object model. This chapter contains the following sections: | |
ObjectDB 2.9 Developer's Guide Welcome to ObjectDB for Java/JPA Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JPA (Java Persistence API). The main purpose of this guide is to make you productive with ObjectDB and JPA in a short time. Guide Structure Demonstrates basic database | |
Is ObjectDB a NoSQL Database?). Therefore, ObjectDB can be used in applications that cannot use conventional non ACID NoSQL databases because of a requirement for a very high level of consistency. | |
JPA Criteria Query Selection and Results ( CriteriaBuilder.array ), application defined result classes ( CriteriaBuilder.construct ), and tuples | |
Chapter 6 - Configuration subdirectory. However, moving objectdb.jar changes the value of $objectdb . For example, in a web application | |
Posting Sample Code / embeddable classes. Avoid dependency on external libraries . Use a console application with a main | |
Managing JPA Entities. Therefore, when a managed entity is no longer in use by the application , the garbage collector | |
JPA Optimistic and Pessimistic Locking locking should be the first choice for most applications because, compared to pessimistic locking | |
JPA Exceptions Jakarta Persistence (JPA) defines a hierarchy of unchecked exceptions rooted in PersistenceException to handle runtime failures. This structure enables applications to catch specific errors or manage broad persistence issues by using the base class. The exception hierarchy is as follows | |
WeakRef Purge ObjectDb threads not stopping with Tomcat (in application container) ? • When we perform web application reloads on our servers we observe memory leaks. As the memory allocated to the previous web application instance is not garbage collected ... ; The web application [CAPReportServer##000.00 | |
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 | |
InternalException using 2.3.7_12. 3 .7_02. I had to upgrade to 2. 3 .7_12 to pickup the fix for wildcard search on index, and now get this. [ObjectDB 2. 3 .7_12] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_21 (on Linux 3 .0.0-16-generic). Please report this error on http://www.objectdb.com | |
Application not starting after enhancement I added the class enhancer to my build script and I get the expected output of a list with the enhanced classes. Now if I try to deploy my created application I get the following error: Caused by: java.lang.AbstractMethodError: Receiver class org.test.app.base.models.Data does not define or | |
Spring MVC JPA Tutorial - IntelliJ Project the Server: Select File Settings Application Servers . Add Tomcat 6 Server if not set already (Tomcat | |
Step 4: Add a Controller Class a JSP page that will serve as the application view and will produce the guestbook page output. | |
Step 4: Add a Servlet Class is retrieved from the application scope attribute, and then an EntityManager (representing a database | |
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 | |
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 name of the Main class should be tutorial.Main . Verify that exactly this case sensitive fully | |
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 | |
Step 4: Add a Controller Class" and its value is guestDao ). The next step is adding a JSP page that will serve as the application view and will produce the guestbook page output. | |
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 | |
JPA Web App Tutorial - Eclipse Project To open and run the JPA Web Application tutorial project in Eclipse: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the Maven project in Eclipse: Select File Import... Maven Existing Maven Projects and click Next . Select the  | |
Step 5: Add a JSP Page replace the content of the new jsp file with the following content: JPA Guestbook Web Application | |
Getting Started with JPA - Eclipse Project Eclipse: Right click the project node and select Run As Java Application . Select Main - point and click OK . | |
Step 4: Add a Servlet Class on every http request: The EntityManagerFactory is retrieved from the application scope attribute | |
Spring MVC JPA Tutorial - NetBeans Project Tomcat as a server and click OK . Note: To run the application on GlassFish - change |