ObjectDB Database Search
101-150 of 197 resultsSource not found error after downloading ObjectDB 2.3.7_04 Code snippet: Properties prop = new Properties (); prop.setProperty("javax.jdo ... . I debugged following code import java.util. Properties ; import javax.jdo.JDOHelper; import javax.jdo ... ; Properties prop = new Properties (); prop.setProperty("javax | |
openejb jpa jaas module; this.sharedState = sharedState; this.options = options; final Properties properties = new Properties (); properties .put("javax.persistence.jdbc.user",options.get("user")); properties .put("javax.persistence.jdbc | |
How force always recreate database on redeployment.. Is there a system property , persistence.xml property , or config file property I can use to set ... on the Properties map of an EntityManagerFactory does not work: 'http://docs.oracle.com/javaee/6/api/javax/persistence/EntityManagerFactory.html#getProperties() java.util.Map getProperties() Get the properties | |
How to enable and disable auto schema update?. Thank you Manoj Manoj Kumar Maharana There are 2 undocumented system properties ... ): System.setProperty("objectdb.temp.no-schema-downgrade", "true"); Set the relevant property before ... ")) can you please explain how can i demonstrate it. Set the relevant property before accessing ObjectDB, or as | |
Problem on JPA Merge Entity. Hello, I have a problem with the EntityManager.merge() function. I set a property value ... is a null value. I check with the Explorer, the statement has a null value on the property ... update. The statement's property is typed by a class that is a superclass of the newSingleValue | |
Does ObjectDB support @Parent for @Embeddable reference to parent?.IDENTITY) private Integer id; @Access(AccessType. PROPERTY ) @Embedded private Profile profile; public ... () ) { // for this kind of usage } } // .. other properties .. } Visit also: http://stackoverflow.com ... well, but get methods should be annotated when using property access, rather than the annotated fields, as | |
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 ... is probably simple. The system property is checked on the server side, so in client server mode | |
Configure ObjectDB in spring context to keep this structure, and define all my database related properties in this file... Can you help ... specific properties ... ... ... ... ... ... ... if possible at all... vachagan Vachagan ObjectDB ... /objectdb. properties "), @PropertySource("classpath:properties/markets/cryptsy. properties | |
Query by array element properties []= new boolean[1024]; } I would like to query objects with feature '42': select me from MyEntity me where me. properties [42]=true Is it possible? Thank you! haromlabu Bela Haromlabu ... ; boolean properties [] = new boolean[1024];   | |
ObjectDB License Error I got.EnableTransactionManagement; import javax.persistence.EntityManagerFactory; import java.util. Properties ... .manage.jpa"); emf.setPersistenceProviderClass(com.objectdb.jpa.Provider.class); Properties jpa = new Properties (); // Embedded file DB (use an absolute path) // for making new odb file: // java -jar | |
connect with server want to know the right connection string. i used "Map properties = new HashMap (); properties .put("javax.persistence.jdbc.user", "admin"); properties .put("javax.persistence.jdbc.password ... :6136/myDbFile.odb", properties ); em = emf.createEntityManager();" where emf | |
multi EntityManager with Spring Boot, but 'Too many persistable types (>10) ) { LocalContainerEntityManagerFactoryBean entityManagerFactoryBean = new LocalContainerEntityManagerFactoryBean(); Properties props = new Properties (); props.put("javax.persistence.jdbc.url",url); props.put("javax.persistence ... LocalContainerEntityManagerFactoryBean(); Properties props = new Properties (); props.put("javax.persistence | |
Entity listener - event instead of object existing property values Object ... ; // cycle through property names, extract corresponding property ... ; LOG.debug("{} for: {}, ID: {}, property : {}, old | |
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 ... that uses property access mode. More details are in this issue thread (see post #4). support Support | |
TemporalType injection with Calendar using JPA;Is there something obvious here that I am failing to see? @Embeddable @Access(AccessType. PROPERTY ... ; And this is embedded in this Entity class @Entity @Access(AccessType. PROPERTY ) public class Chart implements ... , and added some converter methods. @Embeddable @Access(AccessType. PROPERTY ) public class | |
Does ObjectDB support lazy loading? the Explorer) I can see all the property values of the Child objects in the list. However, when the Parent object is read from EntityManager, all the properties except ID of the Child objects are null ... to @OneToMany(fetch=FetchType.EAGER), the properties can be read. It seems to me that ObjectDB doesn't | |
Server connection management Side) You should be able to set the connection pool size by a property in persistence.xml : The property can also be specified in properties map when instantiating the EntityManagerFactory | |
Standalone server needs dependencies?.PersistenceException Failed to locate set method for field property com.xxx.aaa.model.ActionMessage ... for field property com.xxx.aaa.model.ActionMessage.trackerType using reflection at com.objectdb.o.MSG ... Error Thank you for the update. This is still unexpected, as the server should work with property | |
Spring Transactions (@Transactional) within ObjectDB is one of the entity properties . This was working well with ORM - Hibernate when used with Spring Data / JPA ... need help here -- I thin the entity Manger property for FlushModeType is need to be specified in ... setting a system property : System.setProperty("objectdb.temp.auto-flush", "true | |
Double persist of Entity field with Cascade.ALL I am building a JavaEE application using Netbeans 7.0.1, Glassfish 3.1 and ObjectDB 2.3.3. I have a Book class with entity field Chapter which has a CascadeType.ALL property . The Book fields are as ... . You can un-comment the property for stand-alone mode in the persistence.xml to use it. I created | |
Cascading makeTransient it you will have to set a system property before using ObjectDB: System.setProperty("objectdb ... property , then on pm.makeTransient(A) both fields A.__odbTracker and A.B.__odbTracker are nulled | |
Update Entity references if we change the type of an entity option to version 1.7.0_02, which can be enabled by setting a system property before accessing ... disabled. support Support Hello, the version with the new property can't not be used. We get exceptions | |
Missing Data on Retrieval (0, null values) by reflection (and not by invoking property methods or accessing the fields directly ... an enhanced class (e.g. by invoking a property method in the entity class if the class is enhanced | |
Upgrade to 2.4.1_03 is: [ObjectDB 2.4.1_03] javax.persistence.PersistenceException Failed to clear field property com ... (RemoteTestRunner.java:197) Caused by: com.objectdb.o.UserException: Failed to clear field property com.contextspace | |
New to Product & Having An Issue shows these two classes. package test.Domain; ...imports.... @Entity @Access(AccessType. PROPERTY ... .Domain; ...imports.... @Embeddable @Access(AccessType. PROPERTY ) public class DomainId implements | |
multiple different applications access one odb file. You may, however, try an undocumented system property : System.setProperty("objectdb.temp.no-schema-downgrade", "true"); (set this property before accessing ObjectDB or when running | |
UPDATE query to set a new field after schema change I've added a new property /field to one of my objects and want to set the value of this (boolean) property to false for all existing entities in the DB. I tried to execute an update statement with the Explorer tool. The statement ends and tells me that 1000 entities have been updated. I then save | |
Bidirectional OneToMany is slow on updated items? Is there a way, not to change the code. Instead set a property to force objectdb to handle all mappedby as ... two unidirectional relationships. As your request, a new system property was added in ObjectDB 2.4.7 to disable | |
Again about $temp from objectdb.conf.getInitParameter("OBJECT_DB_CONFIG")); } Well, my question is: what would be the name of the property ... .tmpdir" system property , but that will change the temporary directory for the entire JVM, not just for ObjectDB. support Support | |
Upgrade to 2.4.1_02 to clear field property com.contextspace.AddressTest$AbstractContactDetail.type using reflection (error ... field property com.contextspace.AddressTest$AbstractContactDetail.type using reflection at com | |
How to define Default Entity Listeners without persistence.xml and orm.xml I am using JPA programaticaly..ie without xml file, and i would like to define Default Entity Listeners. How to do ? Here my init code: Properties config = new Properties (); config.put("javax.persistence.provider", "com.objectdb.jpa.Provider"); config.put("javax.persistence.jdbc.url", "objectdb | |
Null returned by Persistence.createEntityManagerFactory persistenceUnitName, Map properties ) { EntityManagerFactory emf = null; PersistenceProviderResolver ... .createEntityManagerFactory(persistenceUnitName, properties ); if (emf != null) { break; } } if (emf | |
Apache Tomee 1.5.2: Failed to use JTA (TransactionManager is not found) from catalina. properties and it works properly. PS. Your solution worked also (with WEB-INF ... objectdb.jar into common.loader from catalina. properties zmirc Mircea Chirac You are welcome. Thanks for the update. support Support | |
PostUpdate on array changes Given this config: I'm not getting PostUpdate changes when a string is added to a list of strings. All other property changes fire events just fine. thoughts? dmoshal David ... ;with property b_list which is a list of other entities (class B) When an instance of B is added | |
Updating existing persistence entries I have stored some instances of MyObject via em.persist(myObjectInstance); I can fetch them and bind them to a kind of property editor in my app (it simply calls the setters to reflect gui editing ... bean to a property editor which calls my setters automagically when changing associated values in | |
Pessimistic Lock Timeouts setting Hi, I realise that JPA2 doesn't necessarily define a standard API way for Lock Timeouts. However, there is a standardised query 'hint' that can be setup to make the underlying DB lock a record for a specific time. The hint property is: "javax.persistence.lock.timeout" I have a situation | |
LifeCycle Event with Embeddable classes and prepersist annotation are a quite elegant way of setting these properties . ObjectArts   | |
Entity Type is not found (error 301) in Query; "User.checkConstraints(): Property | |
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 | |
javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName the h:forms anyway, and they both perform a full submit. There is nothing wrong with the property name ... Enhancer modifies the names of persistent property get and set methods by adding __odbHidden ... property methods that are being hidden by the Enhancer. This could cause future problems | |
ObjectDB 2.7.0 Extended maximum supported entity object size to nearly 2GB. Added a temporary system property ... PersistenceManager . Fixed an "Enhancement ... is old" bug on overriding persistent properties with a different return type. Fixed a bug in using java.lang.Enum as a field/ property type (and not | |
several times a day queries take several minutes we have queries like (see the database that we handed over to you for other issues) select distinct o from ObjectNode o join o. properties p1 join o. properties p2 where o.classIdentifier = "(OP ... " and o.linkedObjects.type =1) and (o. properties .name = "feedbackState" and o. properties .doubleValue | |
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 ... of the collection once the property /field is access, such as by a JSF page EL expression. This is a massive ... ://stackoverflow.com/questions/3642151/detach-jpa-objects-with-lazy-initialized- properties support Support May I | |
again merger missing logs + objectdb exception to find that. What is the id of that large corrupt property object ? hgzwicker Hans-Georg Zwicker The id of the corrupted object property is 238146996. There is another object property (not corrupted | |
ArrayIndexOutOfBoundsException with enhanced Entity and do access the myEmbed property the first time with getMyEmbed ... do get a Nullpointer exception in the same class though this time during a simple string- property setter???   ... .. it seems that when I do remove an enum property from Embed_A it works as well so it looks more or | |
performance issues, database after adding statistics, after doctor : select distinct o from ObjectNode o where (o.classIdentifier = '(RG)' and o. properties .name = 'noCapacityPlanning' and o. properties .doubleValue = 0 and o.linkedObjects.classIdentifier = '(CA ... well for other values but very bad for doubleValue = 0, as there are 22,134,587 properties with that value | |
[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null @Access(AccessType. PROPERTY ) public class Chart implements Serializable { private TimePeriod id; private ... ; } } And its embedded primary key @Embeddable @Access(AccessType. PROPERTY ) public class | |
Navigation through lazy loading from Detached Objects an initial attempt to provide some sort of basic support of this feature. A new system property ... ; } } When the line that sets the system property is commented the output is: 1-e1:[2-e2:null | |
Querying error - java.lang.ClassCastException: com.objectdb.o.STV, a temporary property on the client side disables the suspected optimization: System.setProperty("com ... of the property at #3. support Support Build 2.1.1_08 produces the exception below. I've tried repairing | |
Blocked by find with the new temporary "objectdb.page.circle" system property set to "true" - a page circle ... ). The system property doesnt seem to have produced any extra logging though - I've checked |