Internal Website Search

1-44 of 44 results

ODB should auto-restart if it detects it's necessary

a distributed environment. Moreover, not doing it does sometimes trigger ugly errors, which mean application ... , so that ObjectDB gets the updated persistent java classes See that ODB triggers an error Restart ObjectDB ... production environments. I have the odb file that triggers this error, but I don't want

Pre-detach loading: retrieval by navigation not working in if statement

the compiler just removes it, for the loading to be triggered it has to be somehow stored in ... help me, as every time you inspect a variable it triggers loading of it, preventing discovery of the real problem.) Similarly, using debug logging can also trigger loading.  

How to Use a SF with extended Persistence Context?

. To trigger deployment create a file called Guestbook.war.dodeploy 13:52:02,449 INFO  [org.jboss.as ... deployment directory. To trigger deployment create a file called Paltzefomat.war.dodeploy 13:52:02,512 INFO

Unexpected exception during open the database

EmbeddedSystems The exception is thrown during index rebuild. It is strange that a schema change triggers an index ... is part of an external java process that we have triggered with the process builder. The errors are retrieved from

ObjectDB is opening too many sockets

am under impression, that creating heap dump also triggers GC, as I saw today, that some sockets ... sockets opened idle2_4h_after_GC_ trigger - I run jcmd GC.run three times in a row, which cleared

JBoss 7 startup fails

. To trigger deployment create a file called Guestbook_ObjectDB_web.war.dodeploy 13:49:34,984 INFO [org ... - 1) Found Guestbook_Jee.war in deployment directory. To trigger deployment create a file called

enhanced object .. NOT enhanced

has _odbTracker field added) So, instead of DB write a standard serialization mechanizm is triggered . Finnally ... is triggered . Using serialization is not the result of no enhancement but of a missing @Entity

Problem to use find method on an abstract Class: AbstractMethodError is thrown

Guestbook.war in deployment directory. To trigger deployment create a file called Guestbook.war ... ) JBAS015003: Found Paltzefomat.war in deployment directory. To trigger deployment create a file called

Filename.odb$ Persisting Issue

. There is no way to isolate the issue directly as there is no consistent pattern or trigger . I can provide

LifeCycle Event with Embeddable classes

, onPreUpdate() is triggered on Foo, but not on Bar (even if priority or comment have changed

Soft Reference Object Cache Recommendation

; The screenshot of post #1 was taken after triggering multiple full GCs (via the option in JavaVisualVm

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

it's something fishy there. zmirc Mircea Chirac More feedback. The third case that triggers

Unexpected exception (Error 990)

I don't know how to reproduce this error, because I don't know what exactly did trigger it, but I thought that it might help if I report it. It's maybe because I removed 2 Integer fields from an Entity class. After restarting ObjectDB server, it didn't appear anymore. [ObjectDB 2.5.3] Unexpected

Dont want to use Proxy Class

. Is it possible to do that. The second one is about using another persistaable class which cannot trigger

Attempt to execute a query using a closed EntityManager

for creating an user. Create button is pressed. 2. @RequestScoped ClientB.create() is triggered

Entity Update - Is the documentation up to date?

, these changes will not trigger making the containing entity object dirty, but if it is marked dirty

Failed to commit transaction: Java heap space (error 613)

state but left the JVM up, thus didn't trigger the automatic restart. If the heap space is exhausted

LAZY @ManyToOne field functions as EAGER

(there is no trigger ), so such fields have to be loaded in advance. support Support thanks for explanation, have tested and confirmed result. webel Dr Darren Kelly

Error during cascaded merge

the problem down I created this simple testcase which triggers the error: @Test @Transactional public

Method Invocation On All Entities

 client side for direct execution in the database and therefore do not trigger lifecycle events

Safe Settings

(). It never got triggered with no setting that I could come up with. How come? Thanks in advance

PersistenceException: Failed to locate field

Hi, have recently been running into this issue when changing the schema: com.objectdb.o._PersistenceException: Failed to locate field in this case, adding a primitive String field to an Entity. pretty sure that in the past schema evolution would not have triggered errors, is this case, a simple

Retrieving Metamodel without connection

Hello! I use Spring Data JPA. It uses the Metamodel to create repository beans. This triggers a connection to the ObjectDB server. It happens on every start of the Context. If it fails the application isn't available at all. I had the situations multiple times that my database server took

Compile time enhancement using build.xml of a Netbeans web application

Compile for any changed file to trigger my custom per-file enhancement task in the build.xml. webel Dr Darren Kelly

Empty temporary dat files in the temp folder

the previous version the trigger for the clean up? It is very important that we can appraise

Feature Request for database.obj$ file

triggered backup with createQuery("objectdb backup"). I have no glue what might happen to the data

Time Sequence Object Command DB

.   Method commands are generally used to trigger creation of transient objects. 

Deadlock, if two threads try to close an entity manager

Hello, we get into a deadlock, if two threads  try to close an entity manager. The first thread try to close the entity manager factory which close all opened entity managers. The second thread is triggered by an event and try to close the entity manager after a database access. Both threads

Catching exceptions from client-server mode online backup

We're using the following to trigger an online backup and we're trying to implement server-side online backup (as discussed in https://www.objectdb.com/forum/2737). EntityManager em = database.createEntityManager(); TypedQuery backupQuery = em.createQuery("objectdb backup", Thread.class

ODB IndexActivation NullPointerException

. this.entityManagerFactory = createEntityManagerFactory(....); // trigger the ODB IndexActivation. It failed

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

that triggers the building of 2 separate - usually large and complex - Projects, via the @Stateful ... lazy builder method triggers . */ private void reset() { project = null; } public Project ... triggers creation of a project (all complex sub-elements and wiring removed here) via: project = request

ODB-FileWriter holds unecessary entity reference after transaction and entity manager are closed

. Also triggering the Garbage Collector did not release the instances of MST and PGC from the heap

Unexpected exception when execute query without enhanced entities

is triggered only when the class is used against ObjectDB, e.g. to create the objects that the query

InternalException

it's related to what fields in the entity are triggered in the query? Thanks. bensteele Ben Steele

Best practise loading big data

. Server: ******** User: objectdb PW: ******** I will upload the heap dump soon - with triggered GC. Kind

Retrieving Metamodel without Connection

Hello! I use Spring Data JPA. It uses the Metamodel to create repository beans. This triggers a connection to the ObjectDB server. It happens on every start of the Context. If it fails the application isn't available at all. I had the situations multiple times that my database server took longer

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

at all is that loading should be triggered via the JSF EL access to the property, in this case ownedElements

TYE NullPointerException

it triggers any thoughts. felixobjectdb Richard Szurgot Actually, now that you mention it I think

When using inheritance, you can specify, which ID to use

. It should be possible to trigger generating ID from child entity, for example like this: public abstract

com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null:

; } where:     abstract public class ExtRequestCommon extends All_ { and it is triggered

javax.jdo.listener.InstanceLifecycleEvent

- the instance that triggered the event type - the event type Since: JDO 2.0 InstanceLifecycleEvent ... with the specified source , type , and target . Parameters: source - the instance that triggered the event type ... " Since: JDO 2.0 int getEventType () Returns the event type that triggered this event. Return

InstanceLifecycleEvent.InstanceLifecycleEvent(source,type) - JDO Constructor

JDO Constructor in javax.jdo.listener.InstanceLifecycleEvent InstanceLifecycleEvent (   Object source,    int type ) Creates a new event object with the specified source and type . Parameters: source - the instance that triggered the event type - the event type Since: JDO 2.0

InstanceLifecycleEvent.getEventType() - JDO Method

JDO Method in javax.jdo.listener.InstanceLifecycleEvent int getEventType () Returns the event type that triggered this event. Return: the event type Since: JDO 2.0

InstanceLifecycleEvent.InstanceLifecycleEvent(source,type,target) - JDO Constructor

that triggered the event type - the event type target - the "other" instance Since: JDO 2.0