ObjectDB Database Search
1-49 of 49 resultsJPA Lifecycle Events, the transaction is marked for rollback, and no more callback methods for that operation are invoked. Listeners ... , you can define them in a separate listener class: public class MyListener { @PrePersist void onPrePersist ... . The argument's type can be Object or a more specific entity type. The listener class must be stateless | |
How to Use a SF with extended Persistence Context? Hey, I have a problem to use SF with an Extended Persistence Context Regarding to Transactions. The need for an extended persistence Context emerges for the need to create queries in advance ... : The GuestDao is a SF with an extended persistence context . the GuestServlet holds reference to a SL called | |
listening on a particular IP aside localhost to listen in server mode to other connections from another machine where client is installed. I ... 8888 in configuration file but I wasn't able to add listening ip address such as 192.168.50.56 olyjosh Joshua Aroke ObjectDB will listen automatically to all requests to the server on which it is running | |
Configure ObjectDB in spring context is to configure entire ObjectDB (optionally objectdb.conf too) in springs context .xml file so that I'd ... creating persistance.xml file. My previous database.xml (which is included in application- context .xml | |
Puzzler: Not getting cascades on read from Spring context. My best guess is that perhaps I have something misconfigured in my persistence.xml or my context .  | |
jakarta.persistence.EntityManager: AutoCloseable Interface used to interact with the persistence context . An instance of EntityManager ... - { // do work in a persistence context ... }); In the Jakarta EE environment, a container-managed ... { entityManager.close(); } Each EntityManager instance is associated with a distinct persistence context | |
Server Configuration to the server: The port attribute specifies the TCP port on which the server listens for new | |
Database is erased after deploying a new web application version That may be the problem. The servlet context is available in specific listener and servlet methods ... the web-app from Tomcat's manager? Should I set some kind of listener ? Yotam Yotam Boaz You can set a listener for creating and destroying the EntityManagerFactory: https://www.objectdb.com/tutorial | |
jakarta.persistence.PersistenceUnitUtil class if the given entity belonging to the persistence unit and to an open persistence context ... . PersistenceException - if the entity is not associated with an open persistence context or ... persistence context is an instance of the given entity class, or false otherwise. This method | |
jakarta.persistence.EntityListeners Interfaces: Annotation Target: Type Specifies the callback listener classes to be used for an entity or ... entity listener classes may have callback methods annotated PrePersist , PreUpdate , PreRemove ... listener classes Since: Jakarta Persistence (JPA) 1.0 Additional JDK methods inherited from java | |
jakarta.persistence.FlushModeType for the persistence context is AUTO (the default) and a flush mode setting has not been specified for the Query or ... of all entities in the persistence context which could potentially affect the result of the query ... , if COMMIT is set, the effect of updates made to entities in the persistence context on queries | |
Migration problem.springframework.boot. context .properties.bind.DefaultValue; import org.springframework.data ... and listeners . Is there anything specific in this code that you want to check? support Support | |
problem with lazy loading - unittest project attached ApplicationContext at org.springframework.test. context .TestContext.getApplicationContext(TestContext.java:308) ~[spring-test-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.test. context .support ... .java:109) ~[spring-test-3.0.5.RELEASE.jar:3.0.5.RELEASE] at org.springframework.test. context .support | |
jakarta.persistence.PostPersist Jakarta Persistence (JPA) Annotation Type jakarta.persistence.PostPersist Implemented Interfaces: Annotation Target: Method Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener | |
jakarta.persistence.PostLoad Jakarta Persistence (JPA) Annotation Type jakarta.persistence.PostLoad Implemented Interfaces: Annotation Target: Method Specifies a callback method for the corresponding lifecycle event. This annotation may be applied to methods of an entity class, a mapped superclass, or a callback listener | |
jakarta.persistence.ExcludeSuperclassListeners Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ExcludeSuperclassListeners Implemented Interfaces: Annotation Target: Type Specifies that the invocation of superclass listeners is to be excluded for the entity class (or mapped superclass) and its subclasses. Since: Jakarta | |
jakarta.persistence.ExcludeDefaultListeners Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ExcludeDefaultListeners Implemented Interfaces: Annotation Target: Type Specifies that the invocation of default listeners is to be excluded for the entity class (or mapped superclass) and its subclasses. Since: Jakarta Persistence (JPA | |
jakarta.persistence.PersistenceContext.type Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext PersistenceContextType type (Optional) Specifies whether a transaction-scoped persistence context or an extended persistence context is to be used. Default: PersistenceContextType.TRANSACTION Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PersistenceContext.synchronization Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext SynchronizationType synchronization (Optional) Specifies whether the persistence context is always automatically synchronized with the current transaction or whether the persistence context must be explicitly joined | |
jakarta.persistence.PersistenceUnitUtil.load(Object,String) persistent attribute of an entity belonging to the persistence unit and to an open persistence context ... with an open persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.PersistenceUnitUtil.load(E,Attribute) attribute of an entity belonging to the persistence unit and to an open persistence context ... persistence context or cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.PersistenceUnitUtil.load(Object) and to an open persistence context . After this method returns, PersistenceUnitUtil.isLoaded must return true ... to the persistence unit. PersistenceException - if the entity is not associated with an open persistence context | |
jakarta.persistence.JoinColumn) The name of the foreign key column. The table in which this column is found depends on the context | |
jakarta.persistence.MapKeyColumn) The name of the map key column. The table in which it is found depends upon the context . If the map key | |
jakarta.persistence.MapKeyJoinColumn upon the context . If the join is for a map key for an element collection, the foreign key column is in | |
jakarta.persistence.MappedSuperclass are interpreted in the context of each entity class which inherits the mapped superclass | |
jakarta.persistence.EntityNotFoundException and the persistence context has been joined to it, will be marked for rollback. See Also: EntityManager | |
jakarta.persistence.EntityExistsException, if one is active and the persistence context has been joined to it, will be marked for rollback | |
jakarta.persistence.PersistenceContext.name Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext String name (Optional) The name by which the entity manager is to be accessed in the environment referencing context ; not needed when dependency injection is used. Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.PersistenceUnit.name Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnit String name (Optional) The name by which the entity manager factory is to be accessed in the environment referencing context ; not needed when dependency injection is used. Default: "" Since: Jakarta Persistence (JPA) 1.0 | |
UTF Error(RenderKitUtils.java:1272) at com.sun.faces. context .ExceptionHandlerImpl.throwIt(ExceptionHandlerImpl.java:255) at com.sun.faces. context .ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:119) at javax.faces. context .ExceptionHandlerWrapper.handle(ExceptionHandlerWrapper.java:93) at com.sun.faces | |
package not found running ObjectDB under OSGi the following way : @Override public void start(BundleContext context ) throws Exception { super.start( context ); ClassLoader classLoader = context .getBundle | |
connection pooling specifies a TPC port on which the server is listening for new connections. Usually the default port 6136 | |
Sync ObjectDB and MySQL Is there a listener or program that can be used to sync across data from/to MySQL and ObjectDB so that I can use ObjectDB for development and then just make sure MySQL always has the same data? ThreaT Ashton Hogan There are plans to implement such a tool. You may subscribe to this feature request | |
Cast exception? cannot be cast to database.entity.Player, Listener : { Ext: TestServer, Type: JAVA, Lev: ZONE, { Zone | |
ClassCastException of same object type context class loader before using ObjectDB: Thread.currentThread().setContextClassLoader(MyEntity.class ... bundle. It is embedded as per the thread you mentioned. I will have a look at the thread context | |
javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test the context class loader. Setting the context class loader, as suggested in #2 above, is a known | |
Mismatch client-server protocol prefix context with path [] threw exception [Request processing failed; nested exception is org ... is very general internal exception. In this context it happens during reading query response on the client | |
Jboss 6 persistence.xml startup error persistence context named: testUnit at org.jboss.jpa.impl.deployment.PersistenceUnitInfoImpl | |
Can I Disable the Creation of the "log" Directory? These are questions asked in the context of the proposed architecture described in the forum thread titled, "Sample JDO Architecture for Follow Up Questions". In the objectdb.conf file (attached to forum thread mentioned above), I disable logging (by setting log path="") but the "log | |
Objectdb Doctor can help in this context in two ways: Running the Doctor in diagnosis mode once in awhile | |
Explorer in 2.3... commands (also available in the context menu when right clicking a reference). Using copy and paste | |
Populating entity id before transaction commit transaction is committed so all returned entities are not populated with ID in this context | |
JQL-Update Queries fails with activated L2-Cache, the EntityManager may not be aware that a cached entity object in its persistence context ... cache (the persistence context ). But if the data is also cached in the L2 cache it may not help. Use | |
InternalException: null the context of your second reported stack trace. If it does't solve the issue, we may need a test case that demonstrates the exception. support Support | |
InvalidClassException (which should be found in the log file) can help in understanding the context . If you are using client-server mode | |
[ObjectDB 2.6.0_04] Unexpected exception (Error 990) com.objectdb.jpa.JpaQuery.getResultList(InjectorImpl.java:229) at org.eclipse.e4.core. contexts .ContextInjectionFactory.invoke | |
new objects not available in mappedBy associations the object is retrieved again from the database (and not from the persistence context cache), or | |
ObjectDB 2.8.9_07; JDOHelper.makeDirty . Fixed opening context menu in the Explorer. |