ObjectDB Database Search
101-150 of 160 resultsException after update of indices of Entity class"}) }) public class Event extends Entity { @Embedded private ... ; private Event recurringEvent = null; ... } @Embeddable public abstract class Relation { private String relatedId = null; private Event | |
Method Invocation On All Entities lifecycle events (see this manual page ). support Support Thanks for the quick reply. I've ... events are implemented in JPA as client side events . DELETE and UPDATE queries bypass the JPA client side for direct execution in the database and therefore do not trigger lifecycle events | |
PostUpdate on array changes of strings. All other property changes fire events just fine. thoughts? dmoshal David Moshal Note: PostUpdate events are fired if the list contains other Entities ! So, the question ... to the b_list of and instance of A Then I expect a PostUpdate event to be fired for entity | |
Does ObjectDB has a similar feature like Oracle Database Change Notification ? ObjectDB based on JPA lifecycle events . But these events are fired only in the application ... has to set listeners for these events and then notify other applications and servers. support Support | |
@Convert is not supported? Vachagan You may try using a JPA lifecycle event (PostLoad). The purpose of converters is totally different (i.e. mapping RDBMS columns to Java types). support Support Thanks for "JPA lifecycle event ... JPA lifecycle events . support Support Yes but those methods are LIFECYCLE hooks, I have no way | |
Problem upgrading.Method.invoke(Method.java:498) ~[na:1.8.0_72] at com.vaadin. event .ListenerMethod.receiveEvent(ListenerMethod.java:508) ~[vaadin-server-7.5.6.jar:7.5.6] at com.vaadin. event .EventRouter.fireEvent(EventRouter.java:198) ~[vaadin-server-7.5.6.jar:7.5.6] at com.vaadin. event .EventRouter.fireEvent(EventRouter | |
Dirty checking there is: void postDirty(InstanceLifecycleEvent event ) http://www.objectdb.com/api/java/jdo/listener ... can see, there are: a) Lifecycle Listener classes, e.g: http://www.objectdb.com/java/jpa/persistence/ event and b ... /entities examples would be helpful dmoshal David Moshal You can use JPA lifecycle event | |
Missing (null) elements in eager loaded references; Is there an event , notification which indicates that all references have been resolved? So I could wait for that before returning the elements? Kevin Kevin Pfaff Is there an event , notification ... , so there is no need for any event , and it is not the application responsibility to wait, unless the application | |
stored procedure in ObjectDB Yang No stored procedures in ObjectDB. JPA (or JDO) lifecycle events can be used as a replacement ... overhead (no additional round trips), and JPA lifecycle events (unlike stored procedures) are portable | |
auto generate timestamp the timestamp in an ordinary Date / Timestamp field and update it in an event callback method ... future versions. You can, however, use the server time in the event callback by running a query (not very efficient but should work). support Support | |
JBoss 7 startup fails initialized event to listener instance of class guest.GuestListener: javax.persistence ... _ObjectDB_web]] (MSC service thread 1-3) Exception sending context destroyed event to listener instance | |
Problem undeploying Glassfish3.1.1 web application cleanly.java:405) at org.glassfish.persistence.jpa.JPADeployer. event (JPADeployer.java:396) at org.glassfish.kernel. event .EventsImpl$1.run(EventsImpl.java:120) at java.util.concurrent.Executors$RunnableAdapter | |
exception thrown when try to run explorer again?:56) at java.awt. event .InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue ... . event .InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl | |
Class loading problem with private packages in OSGi environment) at com.objectdb.Explorer$1.run(Explorer.java:57) at java.awt. event .InvocationEvent.dispatch(Unknown ... .java:57) at java.awt. event .InvocationEvent.dispatch(InvocationEvent.java:312) at java.awt.EventQueue | |
Database is erased after deploying a new web application version a listener event (and not by your own application) getServletContext should not return null ... on an invalid event . support Support I'm using 4 packages for this web application, each holds | |
Auto Date for Creation and Update these time/date fields in a JPA lifecycle event methods . support Support Hi, Using the proposed solution I ... is used instead of persist and it may affect which event methods are invoked. You may want to check | |
@Column length is not working. a lifecycle event callback . support Support i think implementation of lifecycle event callback is expensive | |
Tomcat + JPA Problem sending context initialized event to listener instance of class OcspServer.CertEntryListener java.lang | |
ArrayIndexOutOfBoundsException at com.objectdb.o.ALS.c(ALS.java:89).asScala // Convert to scala collection // Check stuff and log certain events em.close emf.close | |
Project runs in Eclipse but not when exported to runnable jar) at java.awt. event .InvocationEvent.dispatch(Unknown Source | |
Working with a cleared cache event callbacks. ObjectDB should produce better error messages, but if the same code works outside | |
Object explorer cannot open odb file. ObjectDB many-to-many relationship.Explorer$1.run(Explorer.java:53) at java.awt. event .InvocationEvent.dispatch(InvocationEvent.java:209 | |
Master database switching to read-only mode, possibly caused by slave failure of events was: 13:20 - our monitoring reported GC time per minute on the SLAVE instance over 30 | |
JPA 2.1 and AttributeConverter field for the File or URL and convert it from/to byte[] or String in JPA lifecycle events methods | |
Merge of entity classes with "mapped by" very slow - one with mapped by, second with adding entities list without "mapped by". The difference is huge event | |
Guestbook Tutorial (Eclipse/Glassfish) I have the tutorial working which has been a great help in understanding how to use ObjectDB. I have found one problem. The database file (C:\glassfish3.1\glassfishv3\glassfish\domains\domain1\eclipseApps\Guestbook\WEB-INF\db\guests.odb) is reset on occasions; I am not sure what set of events | |
Problems Running ODB Explorer(Timer.java:244) at java.awt. event .InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt | |
Problems down-casting in WHERE clause is also thrown for the following simpler query: SELECT e FROM Event e WHERE TYPE(e) = Practice AND ((Practice | |
How to convert a boolean to an int in the query? them. You can calculate it in a JPA lifecycle event . Currently you cannot convert boolean to int in | |
Getting Foreign Key. WriteObjectQuery query = (WriteObjectQuery) event .getQuery(); query.getReferenceClass().getSimpleName() by using | |
Cascade delete with unidirectional mapping, so if you have no relationship in that direction you have to perform the operation explicitly in your code (maybe in a lifecycle event ). support Support | |
ObjectDB stability after power failure I'm considering using ObjectDB in a system that is going to be running continuously without support instantly available for many years. How stable is ObjectDB when it comes to power failures and unattended restarts? Is database integrity maintained during such events ? I have seen | |
Embedding ObjectDB on server application Description: Error during event handling: javax.persistence.PersistenceException: No Persistence | |
Cast exception? Description: Error during event handling: java.lang.ClassCastException: database.entity.Player | |
Objectdb recovery file should not be corrupted. You can check your database file after such events by running | |
Version 2.5.6 enhancement problem solved by updating to version 2.5.7_03 After updating some of my code to java 8, enhancement threw "unexpected" exceptions from two of the source files I applied the most (maybe all) of the changes to. Problem might or might not have been related to the java 8 update. In any event , my enhancement problem went away when I | |
does ObjectDB / JPA support simple password field encryption of an entity class? Hari ObjectDB does not (currently) support this ability. Consider using JPA Lifecycle Events   | |
Best practice: Database update/migration of embedded databases in products a JPA event callback to make the conversion. In V1.1 your class will include the following fields | |
Error when using Object DB Java Agent(SAXParserImpl.java:333) at ch.qos.logback.core.joran. event .SaxEventRecorder.recordEvents(SaxEventRecorder.java | |
retrieval again and again started(WebSocketServerListener.java:200) at org.eclipse.jetty.websocket.common. events ... ; at org.eclipse.jetty.websocket.common. events .AbstractEventDriver.appendMessage(AbstractEventDriver.java:67) at org.eclipse.jetty.websocket.common. events | |
InternalException it: TypedQuery q1 = em.createQuery( "SELECT e,g FROM Event e, Guest g WHERE e.calendarId ... retrieval queries worked fine as well: TypedQuery q1 = em.createQuery("SELECT e FROM Event e WHERE e.calendarId = :calendarId" + " AND e.activeStartDate :startDate" + " AND :userId IN e.guests", Event | |
NullPointerException in ENH.g(ENH.java:401) most of the content but one corrupt instance is still included). I error happens when reading the field " Event ... there must be some issue with the database file (before deleting all other entities of type " Event " I could not read the field " Event .participants" from any of them). Thanks in advance Markus Ritter | |
NullPointerException on initial database creation.glassfish.persistence.jpa.JPADeployer. event (JPADeployer.java:408) at org.glassfish.kernel. event .EventsImpl | |
NPE using AND TRUE in WHERE clause The following (dynamically generated) query causes an NPE: SELECT e FROM Event e WHERE e.account=:account AND TRUE When I change it to a trivial term which evaluates to true, it works fine: SELECT e FROM Event e WHERE e.account=:account AND 1=1 Here is the stack trace: om.objectdb.o | |
Bean Validation (JPA 2.0) JPA 2 adds support for integration with the Bean Validation API. Constraints that are defined for entity and embeddable classes by using annotations can be checked automatically on PrePersist, PreUpdate and PreRemove JPA lifecycle events . Integration with the Validation API is not supported yet by | |
@PrePersist not working correctly the event callback method. Notice, however, that using merge as a replacement of persist | |
Blocked by find callback event rbccm.felix.framework.ApplicationException: Error flushing data container at rbccm | |
EOFException)? Any special event before that failure (e.g. power failure? shutdown? process kill?) Any other  | |
Can't open DB-file with explorer, but from within my code it works. event .InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown | |
Server crash - Mismatch client-server protocol prefix We've been having a problem where our ObjectDB server goes unresponsive every 2 days or so. I've reviewed the server-side logs, and there are no events logged shortly before the crash. Once the server gets in this state, it is unresponsive to bin/server.sh restart; I have had to reboot |