ObjectDB Database Search

51-100 of 200 results

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

issue with spring boot 4 / spring 7

2 .9.5 . support Support Build 2 .9.4_07 should work with Spring Framework 7, Spring Boot 4, Spring ... (JpaQuery.java:816) ~[objectdb-jk- 2 .9.4_06.jar:na]     at org.springframework.data.jpa.repository.query.JpaQueryExecution$SingleEntityExecution.doExecute(JpaQueryExecution.java:328) ~[ spring -data

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?

with up to date Spring JPA Data and ObjectDB 2 .7.5. support Support It works. Thank ... 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

Spring Transactions (@Transactional) within ObjectDB

Hi, We are using OBD with Spring and transactions are managed by Spring . Our spring service ... Spring Data) We have noticed that in a loop 1st object is persisted and then we if lookup the same ... exactly are performed by your application and by Spring Data. If queries are involved, then it is possible

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

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 ... because it's very simple and efficient and we use Spring to better interface between database

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

objectdb:2.8.4 - Error occurred during initialization of boot layer

_UPDATE_JDK9\JavaApps\CommonThirdParty\mockito\objenesis- 2 .1.jar;D:\Projects\Anritsu\Perforce\ws_alexander.golyshkin_ALL\DEV\RTD_7_6_0_JAVA_UPDATE_JDK9\JavaApps\CommonThirdParty\mockito\cglib-nodep- 2 . 2 .jar ... \ spring .jar;D:\Projects\Anritsu\Perforce\ws_alexander.golyshkin_ALL\DEV\RTD_7_6_0_JAVA_UPDATE_JDK9

Spring LTW Problem

Hello! I use ObjectDB with Spring . Today i tried to swich from AspectJ compile time weaving ... .xml and to my spring configuration. Now Spring oviously tries to weave every class that get's loaded ... the ClassNotFound Exception and emmit an error message instead. So spring can continue to the AspectJ weaver

Cannot save or update entity on Spring App

I've got this DAO in my Spring App import javax.transaction.Transactional; @Repository // or ... because of this: [ObjectDB 2 .8.0] javax.persistence.TransactionRequiredException Attempt to run update ... : And the update method fails because of this: [ObjectDB 2 .8.0] javax.persistence

can not use spring-data-jpa repository with NamedQuery

in spring -data-jpa named queries are used to implement repository interface methods, see http://static.springsource.org/ spring -data/data-jpa/docs/current/reference/html/#jpa.query-methods.named ... findByBar(String bar); } to match the method parameter to the query parameter, spring have to check

Problem upgrading

.convertJpaAccessExceptionIfPossible(EntityManagerFactoryUtils.java:418) ~[ spring -orm-4. 2 .3.RELEASE.jar ... (JpaExceptionTranslatorAspect.aj:37) ~[ spring -aspects-4. 2 .3.RELEASE.jar:4. 2 .3.RELEASE] at at.co.pjm.tracker.data.impl ... $1$2a73e96cproceed(AbstractTransactionAspect.aj:66) ~[ spring -aspects-4. 2 .3.RELEASE.jar:4. 2 .3.RELEASE

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), I see the 2 EMFs created successfully on startup, but then subsequently when the application is initializing Spring JPA repositories with Hibernate EntityManagers, the application throws

Spring Data JPA

Hello! When i configure Spring Data JPA to use ObjectDB 2 .4.0_03 i get an exception ... ) ... 1 more If i understand the exception right Spring Data JPA calls getMetamodel on the entity ... on the EntityManagerFactory ) username and password  have not been used. Build 2 .4.0_04 includes a fix

Mismatch client-server protocol prefix

Hello! We migrated one of our legacy webservices to Spring Boot/ Spring MVC . Now i have a strange ... Yesterday I upgraded to Version 2 .6. 2 _06.  In addition I compared the spring configuration ... :757) I checked multiple times if the versions match. They do. DB server version 2 .6. 2 . Client

Integration

with the Spring MVC Framework by some users. Currently there is no tutorial for using ObjectDB with Spring , so try to follow a generic tutorial for using JPA with Spring . support Support Hi, I'm trying ObjectDB ... Hi, Is there a way to integrate ObjectDB with Spring Framework to add the benefits of Transaction

Help: After upgrading from 2.2.8_02 to 2.2.8_04, can't perform LIKE query

Hi,   AFter the upgrade from 2 . 2 .8_02 (not sure if it was build 03/04 as I skipped 03 ... =false) OR ($1.conditionThree=false)))) Exception in thread "main" [ObjectDB 2 . 2 .8_04] Unexpected ... The criteria query AND/OR fix in 2 . 2 .8_04 caused this new problem. Please try build  2 . 2 .8_05

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

.xml and spring context xml is pretty much the same as in the spring mvc jpa example. i'm i doing ... with spring -data-jpa (M2), but i'm not able to use the automatic repository feature because the following ... only for ID classes and not for simple single field IDs. Version 2 . 2 .3_01 should fix this. Thank

problem with lazy loading - unittest project attached

hi, i'm still testing objectdb together with spring -data-jpa. i made a test which should simulate 4 requests 1. save entity 2 . read an existing entity, add onetomany relation 3. read an existing ... transactional, but the spring repository methods are. anyway, the expected result is in the database

Problem on JPA Merge Entity.

; This a little webapp (using Spring / Spring MVC , ObjectDb, JPA) project under Eclipse. I upload ... - is it an ObjectDB merge issue or Spring / JPA transaction management issue? Maybe it is a missing ... ;   support Support Hi, I think that it is an ObjectDb problem. The same code with Spring , JPA

ObjectDB 2.9.5

Switched dependency to Jakarta Persistence 3. 2 . Implemented first new JPA 3. 2 methods. Added support for Spring MVC 7 and Spring Boot 4. Added support for  java.time.Instant  as a persistent type. Added a query command for checking for OEM activation ( feature request #2683

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

Added automatic creation of the log directory if it does not exist. Added support of old Spring Framework versions (with JPA 1.0). Fixed "InternalException: InterruptedException" due to application interrupts in embedded mode. Fixed a class loading conflict with Log4j. Fixed very slow processing

ObjectDB License

. You are encouraged to test ObjectDB before purchasing a license. Server License ObjectDB 2 .x Server License costs £500  and includes all version 2 .x updates. A server license covers one installation ... a Server License Site License ObjectDB 2 .x Site License costs £2,500  and includes all version 2 .x

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

StaticMetamodel throws NPE with Spring-Data in PathImpl.get()

From my Entities a StaticMetamodel is generated through Hibernate JPA 2 Metamodel Generator. When i now try to build a query with the Specification-Interface [new Specification () {    ... Spring -Data i got a NullPointerException in com.objectdb.jpa.criteria.PathImpl

jakarta.persistence.EntityManager

Exception thrown by ConnectionFunction.apply , if any. Since: Jakarta Persistence (JPA) 3. 2 void ... of entity graph Returns: entity graph. Since: Jakarta Persistence (JPA) 2 .1 EntityGraph ... graph. Since: Jakarta Persistence (JPA) 2 .1 Query createNamedQuery ( String name ) Create an instance

ObjectDB 2.0.4

Added support for JTA and Java EE Containers ( issue #8 ). Fixed a bug in indexing entity objects. Fixed a bug in fixing broken references in ObjectDB Doctor. Fixed a bug in modifying enhanced detached embedded objects. Fixed a spring transformer (LoadTimeWeaver) problem. Fixed a class

ObjectDB 2.0.5

Fixed Java Agent / Java EE / Spring  enhancement bug. Fixed a bug in merging detached entity objects. Fixed unexpected  NullPointerException in client server mode. Fixed an exception in AVG query on non numeric values ( issue #107 ). Fixed a bug in handling JOIN queries with primary key fields.

ObjectDB 2.8.5

Fixed a bug in using AS in SELECT NEW (breaks some Spring Data JPA queries). Fixed a bug in tracking changes to new collections after flush ( issue #2640 ). Fixed a StackOverflowError on no access permission to objectdb.conf ( issue #2643 ). Fixed a bug in managing pessimistic locks after using

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

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

All latest versions later 2 .4.5+ even 2 .4.5_05 doesn't work, it deployed but errors when running. But 2 .4.4 worked javax.ejb.EJBException at com.sun.ejb.containers.BaseContainer ... Luc Have you tried 2 .4.5 or 2 .4.5_03? Because 2 .4.5_03 fixes a GlassFish integration issue . support

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 ... : position of the first result. Since: Jakarta Persistence (JPA) 2 .0 The Running JPA Queries article

jakarta.persistence.TypedQuery

. See Also: Query Parameter Since: Jakarta Persistence (JPA) 2 .0 Chapter 4 - JPA Queries (JPQL / Criteria ... 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

jakarta.persistence.StoredProcedureQuery

Since: Jakarta Persistence (JPA) 2 .1 Public Instance Methods boolean execute () Return true if the first ... . 2 CacheStoreMode getCacheStoreMode () The cache storage mode that will be in effect during query execution. Inherited from Query Since: Jakarta Persistence (JPA) 3. 2 int getFirstResult () The position

Entity Management Settings

attribute specifies the size of the shared level- 2 cache that is managed by the EntityManagerFactory and shared by all its EntityManager instances. To disable the level- 2 cache, specify 0 or 0mb

jakarta.persistence.criteria.CriteriaBuilder

compatible with varags. Since: Jakarta Persistence (JPA) 2 .0 The JPA Criteria API Queries article ... more restriction predicates Returns: and predicate. Since: Jakarta Persistence (JPA) 3. 2 Expression ... . Since: Jakarta Persistence (JPA) 3. 2 Order asc ( Expression expression ) Create an ordering by

ObjectDB 2.2.2

ObjectDB 2.2.2

queries under 2.7.6_4 significantly slower than under 2.7.6

we update to the latest version from 2 .7.6. Now we have the problem that we have numerous logs ... since version 2 .7.6 that could possibly effect query execution. Could you please explain or post some of these logs that show deep query plan checks (and are new in 2 .7.6_04)? In addition

Report Generation with BIRT and JPA

= x :     (0, 0), (1, 1), ( 2 , 2 ), ..., (999, 999) The BIRT report

[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

[ODB1] Chapter 6 - Persistent Objects

of persistent types is available at section 3. 2 ). ObjectDB provides an additional storing method ... (an embedded object can only be retrieved using a reference from its containing object). 6. 2   ... of the first object in the database is always 1, the ID of the second object is 2

[ODB1] Chapter 8 - ObjectDB Server

mode are discussed in Section 1. 2 . Because the JDO API and the format of the database file ... is listening for new connections is specified in the configuration file (as explained in section 8. 2 ... to manage the server (stop, restart and start), and to exit the application. 8. 2   Single User

[ODB1] Chapter 3 - Persistent Classes

). 3. 2   Persistent Fields and Types Storing a persistent object in the database does not ... of any of the persistent types defined above in the database (as demonstrated in section 2 .1 ... /*.class [ObjectDB Enhancer] 2 new persistence capable classes have been enhanced. [ObjectDB Enhancer] 1

[ODB1] Chapter 9 - ObjectDB Explorer

version to the same installation directory. 9. 2   Browsing the Database The ability ... viewer window (Table or Browser), as discussed in Section 9. 2 . Whether or not to use different

[ODB1] Chapter 5 - JDO Connections

. 2   javax.jdo.PersistenceManager The javax.jdo.PersistenceManager interface represents ... retries (about 2 seconds) a JDOUserException (a subclass of JDOException ) is thrown. These constants

[ODB1] Chapter 4 - JDO Metadata

. Therefore, only the first metadata for a class in the search order specified above has effect. 4. 2    ... for determining if a field is persistent are explained in section 3. 2 . The persistence-modifier

[ODB1] Chapter 1 - About ObjectDB

. It has a small footprint, high performance, and a flexible architecture (1-Tier, 2 -Tier or N-Tier). 1 ... developing software without a debugger. 1. 2   ObjectDB Operating Modes ObjectDB for Java/JDO