ObjectDB Database Search

51-100 of 200 results

Configure ObjectDB in spring context

that option, but my application is not an MVC , its just pure Spring application and I need to avoid ... I have a application that initializes with spring , now I'd like to change my data access tier ... is to configure entire ObjectDB (optionally objectdb.conf too) in springs context.xml file so that I'd

How to use ObjectDB properly in spring boot application?

I have a spring boot application with objectdb embedded database. I am manually handling ... ; https:// spring .io/guides/gs/accessing-data-jpa/ ) I had a research on the web but could not find any solution that works. Existing spring -objectdb questions are usually related to regular spring or

Spring 4 setup

Spring Boot too. I have 2 questions for the answer. 1 . I have to add h2 dependency to my pom file ... examples is like for Spring3 and I can't figure how to use ObjecDB in Spring tutorial: https:// spring .io/guides/gs/accessing-data-jpa/   Thanx. anthony Anton Gusev This tutorial uses Spring Boot

Spring 2.5 LocalContainerEntityManagerFactoryBean, no getSharedCacheMode()

conflicts, however, are possible with that old Spring Framework version. support Support Build 2.5. 1 ... I'm trying to setup Spring + JPA + ObjectDb in my test environment and having trouble ... (AbstractAutowireCapableBeanFactory.java:1335) ... 45 more This is with Spring 2.5.6. I'm doing it this way

BeanCreationException in spring data JPA with objectDB

(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$ 1 ... .springframework.beans.factory.support.AbstractBeanFactory$ 1 .getObject(AbstractBeanFactory.java:291) at org ... /rajasekhar/Downloads/guestbook- spring /src/main/webapp} javax.servlet.ServletException: org.springframework

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

Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2

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 ... more It seems that there is something wrong with persistent context. it seems that glassfish 3. 1 .2 behaves differently. I

multi EntityManager with Spring Boot, but 'Too many persistable types (>10)

model entity. same class name but different package). Single application with Spring -Boot 2. 1 .8 ... I'm trying to use two EntityManager with Spring Boot, but no luck with 'Too many persistable types ... searches for the configuration file. Is it a specific issue with using ObjectDB Spring Boot

Spring Data JPA - PersistenceException thrown

In a Spring -managed application that has 2 EntityManagerFactories (one Hibernate and one ObjectDB ... is initializing Spring JPA repositories with Hibernate EntityManagers, the application throws ... .beans.factory.support.AbstractBeanFactory$ 1 .getObject(AbstractBeanFactory.java:303) at org

Spring Data JPA

) ... 1 more If i understand the exception right Spring Data JPA calls getMetamodel on the entity ... Hello! When i configure Spring Data JPA to use ObjectDB 2.4.0_03 i get an exception when the context starts. org.springframework.beans.factory.BeanCreationException: Error creating bean with name

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

Query Method NullPointerException on List iteration

) ~[ spring -web-5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework.web.servlet. mvc .method.annotation ... ) ~[ spring -data-jpa-2.3.0.RELEASE.jar:2.3.0.RELEASE] at org.springframework.data.jpa.repository.query.JpaQueryExecution.execute(JpaQueryExecution.java:88) ~[ spring -data-jpa-2.3.0.RELEASE.jar:2.3.0.RELEASE

Glassfish 3.1.2.1 and ObjectDB 2.4.3

- 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 Framework 1 .9.46 started in: 33ms - bound to [0.0.0.0:8080] INFO: Grizzly Framework 1 .9.46 started in

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 ... ;of Netbeans7. 1 , I get the following otherwise harmless error: java.lang.IllegalStateException: WEB9031 ... .kernel.event.EventsImpl$ 1 .run(EventsImpl.java:120) at java.util.concurrent.Executors$RunnableAdapter

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 version is 2.5.3_02. The following errors occur when multiple ajax requests are executed: Caused by: com.objectdb.o.InternalException: Error reading UTF string Caused by: com.objectdb.o.UserException

Problem upgrading

$ 1 $2a73e96cproceed(AbstractTransactionAspect.aj:66) ~[ spring -aspects-4.2.3.RELEASE.jar:4.2.3.RELEASE ... _AbstractTransactionAspect$ 1 $2a73e96c(AbstractTransactionAspect.aj:70) ~[ spring -aspects-4.2.3.RELEASE ... $ApplicationContextHeaderFilter.doFilterInternal(EndpointWebMvcAutoConfiguration.java:242) [ spring -boot-actuator- 1 .3.0.RELEASE.jar

Issue deploying J6EE/Eclipse/Glassfish example to TomEE 1.5.1

Issue deploying J6EE/Eclipse/Glassfish example to TomEE 1.5.1

Mismatch client-server protocol prefix

Hello! We migrated one of our legacy webservices to Spring Boot/ Spring MVC . Now i have a strange ... We also have a Spring Boot/Vaadin Webapp which works without any problems. What's going on here? Regards Ralph mosi0815 ... .run(UnitDAO.java: 1 ) at org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc

issue with spring boot 4 / spring 7

.query.JpaQueryExecution$SingleEntityExecution.doExecute(JpaQueryExecution.java:328) ~[ spring -data ... 2.9.5 . support Support Build 2.9.4_07 should work with Spring Framework 7, Spring Boot 4, Spring

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

, with object 1 .x, the same query was getting executed within an seconds and now the same is taking around 40 ... query.execute(param1, param2); This takes 1 second to execute using objectdb1.x, but the same takes ... objectdb explorer binitbhaskar Binit Bhaskar ObjectDB 2.x is usually faster than ObjectDB 1 .x

JBoss 7.1 and EAP 6 support

I understand that keeping up with a new version can be difficult. Having said that, JBoss 7. 1 . 1 ... version by RedHat which is based on 7. 1 , has been released recently. I would really like to use ... with JBoss 7. 1 . 1 but was unable to get it to deploy. I also tried the recent releases of ObjectDB

Upgrade to 2.4.1_01

Hi, We tried to upgrade from 2.3.7_18 to 2.4. 1 _01 to pickup some fixes. We discovered that our code no longer works when using 2.4. 1 _01. We did some probing and found one thing. I have attached ... with 2.4. 1 _01, with each giving a different error. @Embedded  gives: [ObjectDB 2.4. 1 _01] javax

Upgrade to 2.4.1_03

Right, that fix to 2.4. 1 _02 got us past the previous issue. Now I'm not sure ... is: [ObjectDB 2.4. 1 _03] javax.persistence.PersistenceException Failed to clear field property com ... .FrameworkMethod$ 1 .runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model

Reading 1.x odb files in ObjectDB 2.x without upgrading

db odb file from version 1 .x to 2.x, user is unable to open the odb files in the application which is having object db 1 .x installed. Is there any way to read odb files from 1 .x in object db 2.x ... binitbhaskar Binit Bhaskar Old ObjectDB 1 .x databases cannot be opened directly by ObjectDB 2.x

Unable to convert 1.x odb file to 2.x

Hi, my company is just about to switch from ObjectDB  1 .04.2487 (SE) to ObjectDB 2. So I ... well, but then on converting 1 of the DB files I got this error: java -jar converter.jar ../old.odb ../new.odb ObjectDB 1 .0 ... . Output of conversion: ObjectDB 1 .0 - 2.0 file conversion

Upgrade to 2.4.1_02

Hi there, The upgrade to 2.4. 1 _02 fixed the initial problem ... Sorry forgot the stack trace: [ObjectDB 2.4. 1 _02] javax.persistence.PersistenceException Failed ... ) at org.junit.runners.model.FrameworkMethod$ 1 .runReflectiveCall(FrameworkMethod.java:44) at org.junit

objectdb:2.8.4 & 2.6.1.b06 backward compatibility

We are decided to move our products from 2.6. 1 .b06 to 2.8.4, could you confirm that new objectDb 2.8.4 is fully compatible with many already created databases based on 2.6. 1 ? So, it means that we need to be sure that new objectDb 2.8.4 could read/write to databases created by 2.6. 1 . Please confirm

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 has moved to jakarta.transaction-api and is now on version 2.0. 1 Questions: a) Do I need this library at all? b) If I do need it, do I use jakarta.transaction-api 1 .3 or 2.0. 1 ? Similarly java

jakarta.persistence.criteria.CriteriaBuilder

: absolute value. Since: Jakarta Persistence (JPA) 1 .0 Expression all ( Subquery subquery ) Create ... . Since: Jakarta Persistence (JPA) 1 .0 Predicate and ( Expression x , Expression y ) Create a conjunction ... : and predicate. Since: Jakarta Persistence (JPA) 1 .0 Predicate and ( Predicate... restrictions

GROUP BY and HAVING clauses

SUBSTRING(c.name, 1 , 1 ) FROM Country c GROUP BY SUBSTRING(c.name, 1 , 1 ); The FROM clause iterates ... : SELECT DISTINCT SUBSTRING(c.name, 1 , 1 ) FROM Country c GROUP BY with aggregate functions JPQL supports ... and the number of distinct currencies that those countries use: SELECT SUBSTRING(c.name, 1 , 1 ), COUNT(c), COUNT

ObjectDB 2.1.1

ObjectDB 2.1.1

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

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

Retrieving JPA Entities

object with a primary key of 1 : Employee employee = em. find (Employee.class, 1 ); You do not need ... version of find : Employee employee = em. getReference (Employee.class, 1 ); The getReference method ... might contain a hollow Employee entity: Employee employee = em. find (Employee.class, 1 ); Employee managed

JPA Optimistic and 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 ... employee = em. find ( Employee.class, 1 , LockModeType . PESSIMISTIC_WRITE ); Similarly, the refresh

each 1-2 days objects on some objectdb level lock/block each other

each 1 -2 days we have the situation that our system changes to a completely underperforming mode ... % and around 200 threads hgzwicker Hans-Georg Zwicker According to the subject of this thread it happens every 1 -2 ... = 1 and c1.state = 0) or (c1.classIdentifier = '(TC)' and c1.objectNameUpper = 'CAM-ELECTRODES' and c1

queries more than 10 times slower using 2.8.1 versus 2.7.6

- we restarted to try to use 2.8. 1 instead of 2.7.6 - we did a doctor on the database ... in 2.7.6 around 5-10 seconds takes in 2.8. 1 around 150-200 seconds: SELECT DISTINCT o.parentNode ... .linkedObjects.objectNameUpper = "ORG" and o.linkedObjects.type = 1 and o.linkedObjects.state = 0

[ObjectDB 2.4.1] Unexpected exception (Error 990)

Hi, getting this unexpected exception, would welcome advice: [ObjectDB 2.4. 1 ] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) Client VM 1 .6.0_29 (on Windows 7 6. 1 ... .runners.model.FrameworkMethod$ 1 .runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners

ArrayIndexOutOfBoundsException: -1

I've attached a test which fails with the error "ArrayIndexOutOfBoundsException: - 1 ". It runs 10 ... . I'm running with 64bit JVM 1 .6.0_30 on windows 7 The first thread to fail output the following stacktrace: java.lang.ArrayIndexOutOfBoundsException: - 1 at com.objectdb.o.HTB.t(HTB.java:448) at com

Regression bug in using version 2.4.5 with GlassFish 3.1.2

Can't deploy objectDB ver 2.4.5 or later using GlassFish 3. 1 .2, NetBeans 7.2. 1 Win 7 & 8. ObjectDB Version 2.4.4 is working good. [#|2012-12-18T05:26:53.167-0800|SEVERE|glassfish3. 1 .2|javax ... . (PersistenceUnitLoader.java:120) at org.glassfish.persistence.jpa.JPADeployer$ 1 .visitPUD(JPADeployer.java:224

[ODB1] Chapter 2 - A Quick Tour

, step by step. Both sample programs are contained in ObjectDB's samples directory. 2. 1    ... of the second run is expected to be: Hello World 0 Hello World 1 After two runs, the database contains a list of two strings "Hello World 0" and "Hello World 1 ". Program Source Code The program consists

[ODB1] Chapter 8 - ObjectDB Server

mode are discussed in Section 1 .2 . Because the JDO API and the format of the database file ... the connection URL string. 8. 1   Running an ObjectDB Server The ObjectDB server is a pure Java ... in the url connection string (as explained in section 5. 1 ) when connecting to the database

[ODB1] Chapter 6 - Persistent Objects

Persistence objects represent data in the database. 6. 1   Making Objects Persistent In ... of the first object in the database is always 1 , the ID of the second object is 2 ... ("@"); Object oid = pm.newObjectIdInstance(Class.forName(s[0]), s[ 1 ]); Person person = (Person)pm

[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 ... ObjectDB JDO Enhancer - Version 1 .00 Copyright (C) ObjectDB Software 2003. All rights reserved. Usage