About code weaving

21-30 of 200Refresh
Forum
6

Spring LTW Problem

Hello! I use ObjectDB with Spring. Today i tried to swich from AspectJ compile time weaving to load time weaving. (To get Jrebel working properly) So i added  weave every class that get's loaded. The problem arises
Manual
5

Storing JPA Entity Objects

or implicitly as a result of a cascade operation. Explicit Persist The following code stores ... managed by the EntityManager) or by commit. Referenced Embedded Objects The following code stores ... that the Address class in the code above is defined as an entity class. In this case
Manual
4

CRUD Database Operations with JPA

code fragment stores 1,000 Pointobjects in the database: em.getTransaction().begin(); for (int i ... .getTransaction().commit(); In the above code, p must be a managed entity object of the EntityManager em ... . The following code demonstrates processing of all the Point objects in the database: TypedQuery
Manual
4

FROM clause (JPQL / Criteria API)

the following code: CriteriaQuery q = cb.createQuery(Country.class); Root c1 = q.from ... .capital p can be built as a criteria query using the following code: CriteriaQuery q ... query using the following code: CriteriaQuery q = cb.createQuery(Country.class); Root
Manual
4

Online Backup

 database file using the code above could generate a backup whose full path is c:\objectdb\backup ... ("target", new java.io.File("c:\\backup"));     backupQuery.getSingleResult(); The code ... the code above could create the backup file on the server side at backup/201912312359/test.odb
Result
4

Apache License, Version 2.0, January 2004

to software source code, documentation source, and configuration files. "Object" form shall mean any form ... to compiled object code, generated documentation, and conversions to other media types. "Work" shall ... , including but not limited to communication on electronic mailing lists, source code control systems
Manual
4

JPA Named Queries

named queries instead of dynamic queries may improve code organization by separating the JPQL query strings from the Java code. It also enforces the use of query parameters rather than embedding literals ... . For example: em.getMetamodel().managedType(MyEntity.class); Following the above code
Issue
4

NullPointer when accessing persistent field

dependencies )   The code being called is accessing a map declared as follows; @OneToMany(cascade ... were all enhanced ( static weaving ).   The following test case reproduces the exception. It may be thrown ... on code before test runs. Thanks again. The Maven project that causes this exception could help. Sorry
Manual
3

JPA Query API

with an EntityManager (represented by em in the following code snippets), which serves as a factory ... > q2 = em.createQuery("SELECT c FROM Country c", Country.class); In the above code
Result
3

ObjectDB Object Database Features

optimized code (as a result of many profiling sessions). Unique data structures and algorithms (as ... update - changes are detected automatically. Code enhancement is optional (recommended before