ObjectDB Database Search
51-100 of 129 resultsGeneral Performance Issues Illustrated with a Specific Method getGnArea() { return gnArea; } /** * @param gnArea the gnArea to set */ public void setGnArea(Area ... ; } /** * @param dsArea the dsArea to set */ public void setDsArea(Area dsArea) { this.dsArea = dsArea ... the phmArea to set */ public void setPhmArea(Area phmArea) { this.phmArea = phmArea; } /** * @return | |
Explorer in 2.3 about using a Java expression to set a value when editing a field, not a JPQL expression in a query ... for setting the value. This dialog will allow me to enter a Java expression which will return the value I want to set in the field. This value might be something I want to compute, such as SHA1.hash | |
mapping file is not being loaded with the Persistence api: EntityManagerFactory emf = Persistence.createEntitManagerFactory("project.odb"); //this set is alwasy empty with ObjectDB Set managedEntities = emf.getMetaModel().getEntities(); I ... classes in the persistence.xml file makes any difference. Another thing to check - setting   | |
Problem persisting a TreeSet field Hello, I am getting a "java.lang.IllegalArgumentException: Can not set java.util.TreeSet field ... to have a well defined traversal order when iterating through the Set . Best regards, Benjamin ... interface types ( Collection , Set , List , Map ) should be used in persistent field definition | |
jakarta.persistence.metamodel.IdentifiableType.getIdClassAttributes() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.IdentifiableType Set getIdClassAttributes() Return the attributes corresponding to the id class of the identifiable type. Returns: id attributes. Throws: IllegalArgumentException - if the identifiable type does not have an id class. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.TypedQuery.setLockMode(LockModeType) Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery setLockMode ( LockModeType lockMode ) Set the lock mode type to be used for the query execution. Parameters: lockMode - lock mode Returns: the same query instance. Throws: IllegalStateException | |
jakarta.persistence.TypedQuery.setCacheRetrieveMode(CacheRetrieveMode) Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery setCacheRetrieveMode ( CacheRetrieveMode cacheRetrieveMode ) Set the cache retrieval mode that is in effect during query execution. This cache retrieval mode overrides the cache retrieve mode in use by | |
jakarta.persistence.metamodel.ManagedType.getAttributes() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.ManagedType Set getAttributes() Return the attributes of the managed type. Returns: attributes of the managed type. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.TypedQuery.setCacheStoreMode(CacheStoreMode) Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery setCacheStoreMode ( CacheStoreMode cacheStoreMode ) Set the cache storage mode that is in effect during query execution. This cache storage mode overrides the cache storage mode in use by the entity manager | |
jakarta.persistence.ParameterMode.REF_CURSOR Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.ParameterMode REF_CURSOR Stored procedure reference cursor parameter. Some databases use REF_CURSOR parameters to return result sets from stored procedures. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.TypedQuery.setFlushMode(FlushModeType) Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery setFlushMode ( FlushModeType flushMode ) Set the flush mode type to be used for the query execution. The flush mode type applies to the query regardless of the flush mode type in use for the entity manager | |
Jboss 6 persistence.xml startup error out feasibility, but I keep getting stuck on setting up the persistence.xml on JBoss 6 AS. Here is my setup ... -data-source element in the persistence.xml that I managed to find. Also, when setting up a jboss ... ? I don't want to use the API as I much rather declarative-ly set it up. Thanks Willks William | |
Removing objects where ManyToMany relationships exist private Set setOfOtherEntities; public Set getOtherEntities() {   ... well, so, the TreeSet is reduced in size? Or do I end up having a number of null pointers in the Sets ?  ... where an entry points to an to-be-removed OtherEntity, to remove it from the Set manually? Hope not | |
Problem on JPA Merge Entity. Hello, I have a problem with the EntityManager.merge() function. I set a property value ... ). The statement update don't throw exception. And when i try to reload statement the value i have set before ... ; // set a property of statement with the newSingleConstraint   | |
Can I Disable the Creation of the "log" Directory? (attached to forum thread mentioned above), I disable logging (by setting log path="") but the "log ... which you set the log path to empty, since apparently the only place in which "log" is specified in ... ); // Sets %objectdb environment variable System.setProperty("objectdb.conf", objectDbConFile.toString | |
joining of tables", referencedColumnName = "add_id") ) public Set getAddress() { return address; } in Address class: @ManyToMany(mappedBy = "address") public Set getEmployee() { return employee; } how can i solve this problem ... if it is bidirectional relationships also add a reference back from Address to Employee with a mappedBy setting | |
SSL cannot connect from client StackOverflow error Hello, i am trying to set up the SSL for connections to objectDB server. I cannot connect ... option, which I missed on java client side? I read https://www.objectdb.com/java/jpa/ setting /ssl ... the SSL howto https://www.objectdb.com/java/jpa/ setting /ssl thamal Tomas Hamal Thank | |
Populating entity id before transaction commit) value generation strategy and IDs would be set on persist rather than on commit . Alternatively you can force early auto ID setting by: Object id = emf. getPersistenceUnitUtil() . getIdentifier ... to sequence or table or I will try to force setting id. Thanks. lwalkowski Lukasz Walkowski | |
Problem with byte arrays in JDO - internal exception[] data; /** * @return the id */ public long getId() { return id; } /** * @param id the id to set ... name; } /** * @param name the name to set */ public void setName(String name) { this.name = name; } /** * @return the data */ public byte[] getData() { return data; } /** * @param data the data to set | |
Problem with distinct select, order by and equivalent alias/attribute path;System.setProperty( "objectdb.temp.no-distinct-order-restrictions", "true"); Set the property before using ... etc.). Where would you recommend to set this property? I tried to set it in persistence.xml, directly | |
combined index not used.query-plan-text", "ObjectNode[ set ]"); This tells ObjectDB to prefer a query plan that uses the "ObjectNode[ set ]" element (included in the query plan XML representation). In the case ... , a.objectsInCharge.properties.doubleValue [[objectdb.query-plan-text=ObjectNode[ set ]]] You can also automate | |
ClassCastException of same object type. Are you embedding ObjectDB as suggested in this thread ? You may also try setting the current thread ... had it as @PrePersist. I then tried explicitly setting it before persist(). However I keep geting | |
Database connection url I'd like to run a database called db1.odb on port 6136, and simultaneously open it in the explorer. I left the conf file set as: However, I'm not ... .odb created under db-files/ nor can I connect to it from explorer. So, how does one set up odb as | |
Programatic configuration or configuration file loaded from classpath or file Hi! I found information about the configuration of ObjectDB: https://www.objectdb.com/java/jpa/ setting . However, I have a dynamic environment and don't want to place the configuration file in ... .objectdb.com/java/jpa/ setting /entities#The_cache_element a) Is it possible to configure this  | |
Replaying recorded requests...; Questions: 1) Why am I seeing this if I've set recording enabled to false? 2 ... have recording sets when that is turned off in the config file? b) should I be worried about so many | |
Possible cause for "Enhancement of type ... is old and cannot be used": Failed to set numeric value of field property Element.id using reflection However, in my main real-world ... ) ... 47 more Caused by: com.objectdb.o.UserException: Failed to locate set method for field property com | |
Database is erased after deploying a new web application version the web-app from Tomcat's manager? Should I set some kind of listener? Yotam Yotam Boaz You can set | |
LifeCycle Event with Embeddable classes and prepersist annotation are a quite elegant way of setting these properties. ObjectArts objectArts objectArts JPA lifecycle events are not applicable for embeddable classes. You can set an event | |
Objectdb recovery (disk)? Can setting sync=true (for recovery) help with this issue, how will be the performance ... on too many factors, so it has to be checked with your specific application): This setting guarantees | |
javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test for your precious feedback, Alex alexweirig Alex Weirig BTW: I forgot to mention that if I set ... the context class loader. Setting the context class loader, as suggested in #2 above, is a known | |
Optimistic locking: prevent version increment on entity collection attribute transaction. Finally I have tested it with the no-detached property set to true (System.setProperty ... . support Support Ok, thank you for that. I have cascade persist set at the database configuration | |
ObjectDB Roles and Groups.clarke St Clair Clarke Currently it is not possible. You can define common settings for a virtual $default user and all the other users will inherit these settings . It would be possible to support | |
problem with lazy loading - unittest project attached which is defined in my m2 settings .xml please add the spring milestone repo in the POM spring-maven ... me to call entityManager.getTransaction().begin()/commit() and i also can not set the isolation to READ | |
Cascading makeTransient , so everything is already transient, just that ObjectDB sets a permanent strong reference from B ... it you will have to set a system property before using ObjectDB: System.setProperty("objectdb | |
Failed to commit transaction: Attempt to commit a rollback only transaction locking is off dmoshal David Moshal update 1: problem persists if optimistic locking set to true in ... ; currentTx.commit() but it disturbs me that I'm not setting rollback | |
Is 2 level cache in use? by setting its size to 0. The main problem with the default implementation is that the server ... by indexes without accessing the primary data. Currently this hint must be set at the query level | |
Database is locked when in use for us :-( Do you have any settings or other way to handle this? binitbhaskar Binit Bhaskar Using copy & paste to clone | |
Complex Schema Upgrade not working package and class names requires setting in the configuration, but moving fields in the hierarchy | |
InternalException Trying to move a project from test into production phase, I have started to get internal exceptions when working on large data sets : java.util.concurrent.ExecutionException: com.objectdb.o.InternalException: Unexpected internal exception .... Caused by: com.objectdb.o.InternalException: Unexpected | |
Extended HashMap as Embeddable class Hi, Should it be possible to create an Embeddable class that extends HashMap (or Set etc.)? I can user HashMaps as parameter type in entities, but when I extend it and annotate it with @Embeddable annotation - I get an error. @Embeddable public class A extends HashMap { (...) }   | |
JPA inheritance issue with ObjectDB - Field not found in type error qry = getEntityManager().createQuery(temSQL, entityClass); Set s = parameters.entrySet(); Iterator | |
IDs of Entities suddenly became UUIDs? the application, and possibly set into a field that was marked (maybe by mistake) as @Id. support Support | |
Is redirecting the log file possible I have the objectdb in the same directory as jdk in the Program Files directory (Win 11). This directory is protected by the O/S and therefore objectdb has problem creating its log file. Relaxing the secutity settings is of course possible, but seems somewhat unsecure. Is there a way to tell | |
new objects not available in mappedBy associations is set to use FlushModeType.AUTO ). support Support What does this mean: "Try to refresh ... object if that object's department is set ? I'm wondering if I'm doing something wrong, but I'm definitely ... it automatically return a newly created Employee object if that object's department is set ? Yes | |
javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName Enhancer modifies the names of persistent property get and set methods by adding __odbHidden ... included a dirty and quick fix that used get as a prefix for both get and set persistent ... with annotations that can only be used with set methods. Build 2.2.6_02 improves the fix by hiding | |
unclear syntax for update query the syntax for selective update is unclear as the syntax in the documentation seems to be wrong. Query Update Action Set transferred = 0 where a.objectsInCharge.nodePath like "/(PR)W4455NS01 ... ===================== Unexpected query token 'a' Update Action Set transferred = 0 where == a | |
evalution limit error on digital ocean ubuntu Trying to run the code on Digital Ocean Ubuntu instance. Generated license and set key in objectdb conf file. It gives below exceeds evaluation error when we try to run the code. Caused by: com ... .objectdb.jpa.EMImpl.persist(EMImpl.java:434) Bharat Bharat Usually this is the result of setting | |
Unlimited JPA Persistable Types Ashton Hogan Actually you can persist any Serializable type by setting the configuration ... configuration. Is there a way to do the setting via a Java configuration by any chance? Why won't Thread behave | |
retrieval again and again started issue. There are many query execution timeout exceptions in the new log. Did you set a limit of 10 ... seconds timeout set . At the times when the timeout happens the system is very slow hgzpincher Hans | |
Query Execution Error')).debitor=true)))) BTW - should null pointer exceptions EVER happen if query access not set fields or |