ObjectDB Database Search

51-100 of 200 results

Glassfish 3.1.2.1 and ObjectDB 2.4.3

application Guestbook-objectdb done in 4.029 ms INFO: GlassFish Server Open Source Edition 3 .1.2.2 (5 ... - 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

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 ... . application .view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:391) at com.sun

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

ObjectDB 2.7. 3 _03 gives my application a "com.objectdb.o.UserException: Attempt to modify a primary key of a managed object", but my application is not trying to change the primary key.  (ObjectDB log file attached.) If I revert to ObjectDB 2.7. 3 , then no more exception.  (No other code

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 ... previous objectdb versions (before to 2.6. 3 ). I could not make them work. What I am looking for is a 

Problem with log file in an embedded db with netbeans platform application

Hello, I'm starting a new desktop application built with netbeans platform 7 and objectdb/JPA as embedded db (version 2. 3 ). I haven't had any problem with the domain class library project, but running the netbeans platform application that use the same domain class library an error occurs

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

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 ... embedded mode. What is the correct procedure for undeploying such a web application that prevents ... a new Netbeans web application and copy example source and persistence.xml into it and run it ok as

multiple different applications access one odb file

have experience with this. thanks peric.emil Emil Perić If you can run all these 3 applications on your web ... Hi, is it possible to access one odb file from different applications ? What we would like ... (because there is only one process). If your applications run in separate processes and need to access

How to have a distribuited GWT application with ObjectDB and Spring?

Hello to everyone! I've been developing a GwT application as a project for my computer science faculty. It consists in 2 or 3 hosts running it, each of one has a client and a server and it is designed for a company renting cars which has 2 or 3 different points in a town. So each point of renting

javax.transaction-api-1.3.jar and javax.persistence-api.2.2.jar

Hi, I notice that objectdb zip file has: javax.transaction-api-1. 3 .jar However that library ... this library at all? b) If I do need it, do I use jakarta.transaction-api 1. 3 or 2.0.1? Similarly java ... on version 3 .2 I'm guessing that in both cases I switch from javax to jakarta, but keep the same version as

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

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:        

Explorer in 2.3

servers, it may be faster for local files. 3 . On the Query page, please add a checkbox to request ... evaluation. For me, #1, #2 and # 3 would be the most important. Also, I've found some small bugs: 1 ... a very large array in the debugger). This will limit retrieval to open branches in the tree. 3

ObectDb 2.3.6 in OSGi environment

use a persistence.xml! The stacktrace looks like this: [ObjectDB 2. 3 .6] javax.persistence ... (BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$ 3 .run(ParentRunner.java:231) at org.junit ... ) at org.junit.runners.ParentRunner$ 3 .run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1

2.5.3_02: java.lang.UnsupportedOperationException

Hello! I use Glassfish 4.0.0 and ObjectDB 2.5. 3 _02. When I do entityManager.createQuery I ... .reflect.Method.invoke(Method.java:606) at org.glassfish.ejb.security. application .EJBSecurityManager.runMethod(EJBSecurityManager.java:1081) at org.glassfish.ejb.security. application .EJBSecurityManager

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  

How to access database object to my application.

Hi, I want to access a object which contains some value like id,name,college and address. Here it returns some address but i am not getting object value, i attach 3 java program below, please check. 1: GetterSetter method  2: Creating object for insert data  3 : For Access data

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

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

Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 ... testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Fetch fetch ( SingularAttribute attribute

jakarta.persistence.criteria.MapJoin

of the given basic type. Since: Jakarta Persistence (JPA) 3 .2 Expression entry () Create an expression ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 ... testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Fetch fetch ( SingularAttribute attribute

jakarta.persistence.criteria.Root

of the given basic type. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ... . Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Object value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Fetch

jakarta.persistence.criteria.SetJoin

. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 ... testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Fetch fetch ( SingularAttribute attribute

jakarta.persistence.criteria.CollectionJoin

of the given basic type. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ) Create ... . Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Object value ) Create a predicate to test ... against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Fetch fetch

jakarta.persistence.criteria.ListJoin

. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ) Create a predicate to test ... - expression to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 ... : predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Fetch fetch ( SingularAttribute

jakarta.persistence.criteria.From

) 3 .2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression ... against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ... . Since: Jakarta Persistence (JPA) 3 .2 Fetch fetch ( SingularAttribute attribute ) Create a fetch join

jakarta.persistence.criteria.Join

of the given basic type. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ) Create ... . Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Object value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Fetch fetch

Strings in JPQL and Criteria Queries

('India', 'a') is evaluated to 5 . LOCATE('Japan', 'a', 3 ) is evaluated to 4 . LOCATE('Mexico ... [, length]) function returns a portion of a string. For example: SUBSTRING('Italy', 3 ) is evaluated to 'aly' . SUBSTRING('Italy', 3 , 2) is evaluated to 'al' . Positions are one-based (as in SQL), not

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

: PersistenceUtil Utility interface between the application and the persistence provider managing ... cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3 .2 Object getIdentifier ( Object ... is found not to be an entity. Since: Jakarta Persistence (JPA) 3 .2 boolean isInstance ( Object entity

jakarta.persistence.TypedQuery

effect during query execution. Inherited from Query Since: Jakarta Persistence (JPA) 3 .2 CacheStoreMode ... . Inherited from Query Since: Jakarta Persistence (JPA) 3 .2 int getFirstResult () The position of the first ... to the transaction. Since: Jakarta Persistence (JPA) 3 .2 Integer getTimeout () The query timeout

jakarta.persistence.Query

that will be in effect during query execution. Since: Jakarta Persistence (JPA) 3 .2 CacheStoreMode ... . Since: Jakarta Persistence (JPA) 3 .2 int getFirstResult () The position of the first result the query object ... the persistence context has not been joined to the transaction. Since: Jakarta Persistence (JPA) 3

jakarta.persistence.StoredProcedureQuery

that will be in effect during query execution. Inherited from Query Since: Jakarta Persistence (JPA) 3 ... execution. Inherited from Query Since: Jakarta Persistence (JPA) 3 .2 int getFirstResult () The position ... Since: Jakarta Persistence (JPA) 3 .2 int getUpdateCount () Return the update count or -1 if there is no pending

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 Primary Key

. The Generated Values section discusses automatic value generation in detail. Application -set primary key ... key value is not generated, and the application is responsible for setting a primary key by ... public class Project { @Id long id; // must be initialized by the application : } An application -set

jakarta.persistence.criteria.Path

expression of the given basic type. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ... for equality. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Object value ) Create a predicate ... ) 3 .2 Path get ( SingularAttribute attribute ) Create a path corresponding to the referenced single

jakarta.persistence.criteria.ParameterExpression

of the given basic type. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ... . Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Object value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 String

jakarta.persistence.Column

public String getDescription() { return description; } Example 3 : @Column(name = "ORDER_COST", updatable ... applications which make use of schema generation should explicitly specify the precision and scale of columns ... , and is not portable across databases. Default: "" Since: Jakarta Persistence (JPA) 3 .2 String table

Literals in JPQL and Criteria Queries

, -127L, 0L, 07777L float : 3 .14F, 0f, 1e2f, -2.f, 5.04e+17f double : 3 .14, 0d, 1e2D, -2., 5.04e+17 ... . literal (1); Expression i2 = cb. literal (Integer.ValueOf(2)); Expression d = cb. literal ( 3 .4

[ObjectDB 2.8.3_01] Unexpected exception (Error 990)

Seeing strange new error, with previously working code! Objectdb: 2.8. 3 _01 JVM: 1.8.0_252 OS: Ubuntu: 18.0.4 ----   [ObjectDB 2.8. 3 _01] Unexpected exception (Error 990) Generated by OpenJDK 64 ... .run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) [ObjectDB 2.8. 3 _01

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

Getting Started with JPA

This tutorial demonstrates how to create and run a simple JPA application . The demonstrated application uses JPA to store and retrieve simple  Point entities, where each  Point has two persistent ... . The sample application is also explained in details in  Chapter 1 of the  ObjectDB Manual , but if you prefer

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 

Step 1: Create a Maven Web Project

.springframework spring-webmvc 3 .0.5.RELEASE org.springframework spring-tx 3 .0.5.RELEASE org.springframework spring-orm 3 .0.5.RELEASE aopalliance aopalliance 1.0 cglib cglib 2.2 org.aspectj aspectjweaver

Step 1: Create a Java EE 6 Web Project

a Project Name (e.g. Guestbook ). Select GlassFish Server Open Source Edition 3 (Java EE 6) as the Target runtime. Note: You may have to add GlassFish 3 as a new server by clicking the New Runtime... button ... to GlassFish 3 (which has to be downloaded separately) . Click the Finish button to create the Java EE 6

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:

[ODB1] Chapter 7 - JDOQL Queries

There are various ways to retrieve objects from an ObjectDB database, as shown in section 6. 3 ... , 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