Internal Website 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 | |
Redeployment in GlassFish - Failed to open file: Exception while dispatching an event java.lang.IllegalStateException: WEB9031: WebappClassLoader ... ) at org.glassfish.persistence.jpa.JPADeployer. event (JPADeployer.java:395) at org.glassfish.kernel. event ... exception still exists and I can not redeploy the application. WARNING: Exception while dispatching an event | |
Metamodel Attribute NOT EQUALS to same Attribute in a different EntityManager Attribute from Metamodel initialized on @PostConstruct event IS NOT EQUALS of the same Attribute from Metamodel of a differente EntityManager initialized on a @Controller @RequestMapping event . I ... and these two metamodels come from different EntityManagers. One of these is on a @PostConstruct 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 | |
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 | |
@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 | |
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 | |
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 | |
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 | |
@Column length is not working. a lifecycle event callback . support Support i think implementation of lifecycle event callback is expensive | |
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 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 | |
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 | |
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 | |
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 | |
Objectdb recovery file should not be corrupted. You can check your database file after such events by running | |
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 | |
Cast exception? Description: Error during event handling: java.lang.ClassCastException: database.entity.Player | |
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 | |
Getting Foreign Key. WriteObjectQuery query = (WriteObjectQuery) event .getQuery(); query.getReferenceClass().getSimpleName() by using | |
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 | |
ObjectDB JDO - foreign key constraints to JDO lifecycle events and then execute cascading operations by using the relevant code. support Support | |
Embedding ObjectDB on server application Description: Error during event handling: javax.persistence.PersistenceException: No Persistence | |
Project runs in Eclipse but not when exported to runnable jar) at java.awt. event .InvocationEvent.dispatch(Unknown Source | |
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   | |
Updating Entities.java file... What I want to know is... How I can force an event in EntityManager paygradeDB to affect | |
JPA 2.1 and AttributeConverter field for the File or URL and convert it from/to byte[] or String in JPA lifecycle events methods | |
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 | |
Tomcat + JPA Problem sending context initialized event to listener instance of class OcspServer.CertEntryListener java.lang | |
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 | |
Changing existing objects from Entity to Embedded.Explorer$1.run(Explorer.java:57) at java.awt. event .InvocationEvent.dispatch(InvocationEvent.java:311 | |
Managing software release cycles. can be defined by configuration. In some cases you may have to write code. You can use the PostLoad event | |
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 | |
Compress ODB file with XML content can remain empty in the database, and using JPA events you can initialize value by | |
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 | |
ObjectDB is opening too many sockets: During sudden events of socket creations, information on the new sockets should be written to the ObjectDB | |
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 | |
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 | |
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 | |
Tracking changes to new collections (in enhancement mode) after flush, relying on automatic invocation of change events , including in embedded collections. We should check | |
Blocked by find callback event rbccm.felix.framework.ApplicationException: Error flushing data container at rbccm | |
@PrePersist not working correctly the event callback method. Notice, however, that using merge as a replacement of persist | |
EOFException)? Any special event before that failure (e.g. power failure? shutdown? process kill?) Any other  | |
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 |