ObjectDB Database Search

51-100 of 200 results

Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2

to persistent unit lazily. however, glassfish 3. 1 .2 immediately after deployment of application logins ... Hi. I have faced a very serious issue. After upgrading the GlassFish server from 3. 1 . 1 to 3. 1 .2 ... ) at com.n2nconnect.mm.jsf.controller.ProjFeedController$ 1 .createPageDataModel(ProjFeedController.java:60

GlassFish 3.1.2.2/JBoss 7.1.1

). May be you have some ideas?  When we just try JBoss 7. 1 . 1 nothing works at all. Where I can get a real ... . webel Dr Darren Kelly As discussed in a previous forum thread - JBoss 7. 1 . 1 is expected to be supported ... there are also issues with GlassFish 3. 1 .2 (GlassFish 3. 1 . 1 may work better with ObjectDB

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

but  thats the only way I found with jboss 7. 1 to have the application be deployed correctly ... I'm trying to have the guestbook example running in the following environment: jboss as 7. 1 . 1 final oracle jdk 1 .7.0_04 maven 3.0.4 objectdb 2.4.0_04 installed as a module of jboss No IDE is used

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

+ Jboss 7. 1 . 1 @Entity public class Person extends AbstractObject { private static final long ... ); The exception: java.lang.NoSuchFieldError: __odbTracker test.City.__odbSet_name(City.java: 1 ) test.City.setName ... .interceptors.UserInterceptorFactory$ 1 .processInvocation(UserInterceptorFactory.java:36) org.jboss

Glassfish 3.1.2.1 and ObjectDB 2.4.3

Jersey application , version 'Jersey: 1 .11 12/09/2011 10:27 AM' INFO: EJB5181:Portable JNDI names for EJB ... application Guestbook-objectdb done in 4.029 ms INFO: GlassFish Server Open Source Edition 3. 1 .2.2 (5 ... - bound to [0.0.0.0:8080] INFO: Initiating Jersey application , version 'Jersey: 1 .11. 1 03/31/2012 06

InternalException & UserException using objectdb with Jboss AS 7.1.1 final

Hello. We are currently using ObjectDB in application server Jboss as 7. 1 . 1 .final. ObjectDB ... this is related to registering persistable types in the database concurrently, i.e. when running the application ... database, can you check your application with a database in which all the entity types have already been registered? support Support

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

How to use ObjectDB properly in spring boot application?

I have a spring boot application with objectdb embedded database. I am manually handling ... in order to properly close connections. I want to refactore my application so that database ... ; very simple spring boot sample application  with: spring-boot-starter-data-jpa Objectdb

Undeployment of an remote Glassfish application locks objectdb log file

System: Netbeans 7. 1 Oracle Glassfish 3. 1 .2 ObjectDB 2.3.7_04 Senario: Create a simple ... the "domain1\ applications " folder on the Glassfish server and find that the WebApplication ... . How can I undeploy the application without getting the logfile locked ? // Parwing   parwing

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

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 ... it on a VPS with about 4GB of RAM. 1 / I use the default objectDb.conf (i mean i dont use any - so it must be using the default somewhere). 2/ Using Netbeans, I profiled the application and I noticed

JPA Optimistic and Pessimistic Locking

locking should be the first choice for most applications because, compared to pessimistic locking ... entity is 1 when it is first stored in the database. In every transaction where an entity  ... with this mode marks the clean entity as modified (dirty) and increments its version number by 1

Auto Generated Values

. It takes a name, an initial value (default is 1 ), and an allocation size (default is 50). A sequence is global to the application and can be used by multiple fields across different classes. Specify ... ="seq", initialValue = 1 , allocationSize =100) public class EntityWithSequenceId { // Use

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

. application .view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:402) at com.sun.faces. application .view.MultiViewHandler.renderView(MultiViewHandler.java:131) at javax.faces. application .ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288) at com.sun.faces.lifecycle

Query Parameters in JPA

= ? 1 ", Country.class); return query. setParameter ( 1 , name). getSingleResult (); } The format ... the application to JPQL injection attacks. For example, suppose the name parameter is received as user input

jakarta.persistence.EntityManagerFactory

(JPA) 2. 1 R callInTransaction ( Function work ) Create a new application -managed EntityManager ... (JPA) 1 .0 EntityManager createEntityManager () Create a new application -managed EntityManager ... (JPA) 1 .0 void runInTransaction ( Consumer work ) Create a new application -managed EntityManager

Storing JPA Entities

of the same transaction. The application is responsible for ensuring that when an object is stored in ... the clear and flush methods together to save memory during large transactions: em. getTransaction (). begin (); for (int i = 1 ; i

Database Server

. This makes the databases accessible to client applications in other processes, including ... embedded mode, ObjectDB is integrated as a library and runs within the application's process ... database is accessed only by a single web application , it should be embedded in that application

JPA Connections and Transactions

for performing database operations. Many applications require multiple database connections during their lifetime. For example, in a web application , it is common to establish a separate database ... . Once constructed, it can serve the entire application . Operations that modify the database require active

jakarta.persistence.criteria.MapJoin

Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 ... Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type ... Persistence (JPA) 1 .0 Predicate equalTo ( Expression value ) Create a predicate to test

jakarta.persistence.PersistenceConfiguration

query timeout hint. Since: Jakarta Persistence (JPA) 1 .0 SCHEMAGEN_CREATE_SCRIPT_SOURCE An application ... of this PersistenceConfiguration class should use sharedCacheMode . Since: Jakarta Persistence (JPA) 1 .0 JDBC_DATASOURCE An instance of javax.sql.DataSource . Since: Jakarta Persistence (JPA) 1 .0 JDBC_DRIVER Fully qualified

jakarta.persistence.criteria.ListJoin

- alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform ... : new expression of the given type. See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 ... . Since: Jakarta Persistence (JPA) 1 .0 Fetch fetch ( SingularAttribute attribute , JoinType jt ) Create

jakarta.persistence.criteria.PluralJoin

Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform ... expression of the given type. See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 Expression cast ... Persistence (JPA) 1 .0 Fetch fetch ( SingularAttribute attribute , JoinType jt ) Create a fetch join

jakarta.persistence.criteria.SetJoin

Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform ... expression of the given type. See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 Expression ... . Since: Jakarta Persistence (JPA) 1 .0 Fetch fetch ( SingularAttribute attribute , JoinType jt ) Create a fetch

jakarta.persistence.criteria.CollectionJoin

Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression ... Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type, returning ... : the resulting fetch join. Since: Jakarta Persistence (JPA) 1 .0 Fetch fetch ( SingularAttribute attribute

jakarta.persistence.criteria.Join

Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression ... Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type ... : the resulting fetch join. Since: Jakarta Persistence (JPA) 1 .0 Fetch fetch ( SingularAttribute attribute

ObjectDB - JPA Object Database for Java

  Boost your application database performance. Database performance is critical as it is the bottleneck in most applications . ObjectDB is extremely fast and much faster than any other JPA ... and eliminates the ORM layer. The result is better performance and faster applications , especially

jakarta.persistence.criteria.Root

Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 ... Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type ... : the resulting fetch join. Since: Jakarta Persistence (JPA) 1 .0 Fetch fetch ( SingularAttribute

jakarta.persistence.criteria.From

. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast ... type. See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 Expression cast ( Class type ... ) 1 .0 Fetch fetch ( SingularAttribute attribute , JoinType jt ) Create a fetch join to the specified

What is the Java Persistence API (JPA)?

applications . The main advantage of JPA over JDBC (the older Java API for interacting with databases ... representation in the relational database (as tables and records) and the representation in the Java application ... you can keep your application portable. The unique benefit of using ObjectDB is that the overhead of an intermediate ORM

Privacy Policy

, as applicable . Collecting and Using Your Personal Data Types of Data Collected Personal Data ... and improve services when applicable . Use of Your Personal Data The Company may use Personal Data ... of electronic communication, such as a mobile application's push notifications regarding updates or

JPA Core Types

lifecycle, database connections, and transactional contexts within your application . The following diagram ... this once during application initialization for each persistence unit (typically for each ObjectDB database ... these enums: Specifies whether the application uses JTA or resource-local transactions. This setting

ObjectDB Object Database Features

, IntelliJ and Maven. Getting Started Tutorial  (console). Web Application Tutorial (Tomcat/Jetty ... object database IDs. Sequence IDs - IDs are allocated automatically by application defined sequences. Application IDs - primary key values are set explicitly by the application . Query Support ObjectDB

jakarta.persistence.StoredProcedureQuery

method will return either the update count (zero or greater) or - 1 if there is no update count (i.e ... Since: Jakarta Persistence (JPA) 2. 1 Public Instance Methods boolean execute () Return true if the first ... timeout value set and only the statement is rolled back. Since: Jakarta Persistence (JPA) 1 .0 int

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

What are the main benefits of using ObjectDB?

By using ObjectDB you can reduce development time and costs and improve your application ... the execution time of object oriented applications significantly. For instance, collection and map ... , eliminating the intermediate ORM layer further accelerates applications . For instance, ObjectDB

Is ObjectDB better than Object Relational Mapping (ORM)?

of a relational database is mandatory (e.g. as a result of a customer request or when a new application ... ), you can develop portable applications that can use both ObjectDB and relational databases. This way you have the best of both worlds - use ObjectDB when applicable for faster development and better

Online Backup

it is not open in an ObjectDB server or in use by any application . ObjectDB also supports online backups, which let you back up a database while it is in use. This feature is useful for applications that require continuous service (24/7), such as most web applications . Starting an online backup

JPA Persistence Unit

useful for microservices, dynamic environments, or applications where configuration is managed by ... if the application is packaged as a JAR file. If the application is not packaged in a JAR file, ObjectDB

Step 7: Run the Spring Web App

- you should be able to run your application now by selecting Run Run Main Project from the main menu (or ... the project node and select Properties to open it). Alternatively you can run the web application using ... /Guestbook/. This tutorial should also run with GlassFish 3.0. 1 , with a small change in

Step 3: Add a Context Listener Class

EntityManagerFactory instance with a global application scope. We have to register ... 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

Step 3: Add a Context Listener Class

EntityManagerFactory instance with a global application scope. We have to register ... 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

JPA Web App Tutorial - Maven Project

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 . Building a new application step by step is an effective way to learn - but if you prefer

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  NetBeans . Building a new application step by step is an effective way to learn - but 

Step 3: Define an EJB Session Bean

application servers such as GlassFish and JBoss, and not by servlet containers, such as Tomcat and Jetty. By using EJB classes we can move some work from the application to the EJB container (i.e. to the application server). For instance, in this application the server: Manages the instantiation of the EJB

Step 3: Define an EJB Session Bean

Java EE application servers such as GlassFish and JBoss, and not by servlet containers, such as Tomcat and Jetty. By using EJB classes we can move some work from the application to the EJB container (i.e. to the application server). For instance, in this application the server: Manages

Getting Started with JPA - Maven Project

JPA database driven application in Eclipse or NetBeans . Building a new application step by step ... application as a Maven project:      Getting Started with JPA - Maven Project (3KB) If Maven is installed - extract the zip and run the application from the command line by: mvn test

Spring MVC JPA Tutorial - Maven Project

/JPA Spring MVC database driven web application in  Eclipse or  NetBeans . Building a new application step by step is an effective way to learn - but if you prefer, you may download and run the finished application as a Maven project: Spring MVC JPA - Maven Project (8KB) If 

[ODB1] Chapter 3 - Persistent Classes

. The JDO specification refers to persistent classes as persistence capable classes . 3. 1    ... of any of the persistent types defined above in the database (as demonstrated in section 2. 1 for ArrayList ). Portable JDO applications , however, should only store instances of user defined persistent

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: