ObjectDB Database Search
101-150 of 200 resultsObectDb 2.3.6 in OSGi environment of 2. 3 .6. support Support Hi, Thanks, now I am one step closer. I get following stacktrace now: java ... use a persistence.xml! The stacktrace looks like this: [ObjectDB 2. 3 .6] javax.persistence ... (BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$ 3 .run(ParentRunner.java:231) at org.junit | |
Pre-detach loading: retrieval by navigation not working in if statement objectdb-2.6. 3 _04 JDK1.7 VM option at runtime: -javaagent:lib/objectdb.jar Experimental mode ... that can be referenced by ID, and meets a uniform and powerful IElement interface. - The BooleanValue is doing a heap ... to do it this way; but the wrapped boolean value is not the whole story. webel Dr Darren Kelly By JVM | |
Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2 Hi. I have faced a very serious issue. After upgrading the GlassFish server from 3 .1.1 to 3 .1.2 ... .java:513) at java.lang.Thread.run(Thread.java:662) Caused by : com.objectdb.o._PersistenceException ... (EJBLocalObjectInvocationHandler.java:214) ... 61 more Caused by : com.objectdb.o.UserException: Attempt to obtain | |
2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object" ObjectDB 2.7. 3 _03 gives my application a "com.objectdb.o.UserException: Attempt to modify ... ; (ObjectDB log file attached.) If I revert to ObjectDB 2.7. 3 , then no more exception. (No other code ... image that shows the error is attached.) CBE CBE This is probably caused by a change in version 2.7 | |
Explorer in 2.3 servers, it may be faster for local files. 3 . On the Query page, please add a checkbox to request ... evaluation. For me, #1, #2 and # 3 would be the most important. Also, I've found some small bugs: 1 ... to split the results by id ranges (adding additional top levels to the tree, similarly to viewing | |
Should derived fields of an EmbeddedId be manually maintained by app code? get an exception; Purged DB [ObjectDB 2. 3 .0_01] Unexpected exception (Error 990) Generated by Java ... , of type ECompoundKeyMapItem, identified by their "key" within the EContainer class. The items ... "ECompoundKeyMapSubItem", identified by their keys. The embeddedId for the item class, ECompoundKeyMapItemId | |
Problem with distinct select, order by and equivalent alias/attribute path when ordering the results of some projection when the order by expression is different (though logically ... Location("2", "B"), new Location(" 3 ", "C")   ... ; + "order by s_location.id asc";   | |
How to disable use of graphic windows by objectDB/java -server -Xms16M -Xmx256M -cp /opt/java-tools/objectdb-2. 3 .0_04/bin/objectdb.jar:/usr/java/jdk ... . 3 .0_04/bin/objectdb.jar:/usr/java/jdk/lib/tools.jar:/usr/java/jdk/lib/dt.jar:. -Dobjectdb.home=/home ... -Xmx256M -cp /opt/java-tools/objectdb-2. 3 .0_04/bin/objectdb.jar:/usr/java/jdk/lib/tools.jar:/usr/java | |
A few entities loss after update to 2.3.7_08! The old database is created by 2. 3 .6. And recreate the database by doctor is useless. But the other version such as 2. 3 .7 works fine. So we believe 2. 3 .7_08 has a bug. codefad FrankChu More details are required in order to understand the problem. support Support | |
java.lang.NullPointerException when using ORDER BY == 0)) ORDER BY r.startDateTime DESC If we remove the ORDER BY part, the query completes OK ... : Caused by : java.lang.IllegalStateException: com.objectdb.o.InternalException: Unexpected internal ... ; Caused by : com.objectdb.o.InternalException | |
Cannot sort descending, when ordering by caluculated float in a method Hi, I have found an issue in ordering by a method. I have two entities : Invoice and InvoiceItem ... this query: (I know, it's not very efficient...) select i from Invoice i order by i.getPrice() desc/asc ... Invoice(); i2.getItemList().add(new InvoiceItem( 3 , 3 | |
ObjectDB version 2.3 has been released ObjectDB 2. 3 has been released and it includes important additions and fixes: Added the ability ... (issue # 3 ). Other small Explorer improvements. Added support of IN operator in JPQL queries. Added ... . Improved error message for invalid mapped by (inverse) fields ( issue #473 ). Improved persisting | |
NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1 When using inheritance throw exception java.lang.NoSuchFieldError: __odbTracker on NetBeans 7. 3 ... ) if remove the inheritance works fine. On GlassFish 3 .1 with inheritance also works fine. Why "person ... --127.0.0.1-8080-1) [ObjectDB 2.5.1_05] Package test is not found by the enhancer (error 108) 12:25 | |
JPA Metamodel Attributes and superclasses). Metamodel Attributes Hierarchy in Jakarta Persistence (JPA) 3 . Base attribute definitions ... are represented by : Represents single-valued attributes. This includes basic types (primitives ... ) with "To-One" cardinality. Plural (collection) attributes Collection-valued attributes are represented by | |
JPA Criteria FROM and JOIN is structured as follows: Criteria Query From Components in Jakarta Persistence (JPA) 3 .2  ... variables are represented in the Criteria API by subinterfaces of the abstract From interface: Defines ... FETCH virtual variables Fetch joins optimize performance by pre-fetching specified related data  | |
jakarta.persistence.criteria.CriteriaBuilder. Since: Jakarta Persistence (JPA) 3 .2 Order asc ( Expression expression ) Create an ordering by ... more restriction predicates Returns: and predicate. Since: Jakarta Persistence (JPA) 3 .2 Expression ... asc ( Expression expression , Nulls nullPrecedence ) Create an ordering by the ascending value | |
JPA Metamodel Types Jakarta Persistence (JPA) 3 .2 Base type definitions The core abstractions of model types ... inherited by entities but not being entities themselves. Represents an @Embeddable type, a managed type | |
JPA Extended API Reference Guide Jakarta Persistence API (JPA) 3 .2 documentation, generated from the official JavaDoc and enriched with practical notes. It groups the API types into logical sections to help you locate core concepts ... model and entity behavior. Documents the exception hierarchy thrown by JPA to indicate errors | |
jakarta.persistence.EntityManagerFactory of the transaction Returns: the value returned by the given function. Since: Jakarta Persistence (JPA) 3 ... graphs Returns: a map keyed by graph name. Since: Jakarta Persistence (JPA) 3 .2 Map getNamedQueries ... Object.class meaning all queries Returns: a map keyed by query name. Since: Jakarta Persistence (JPA) 3 | |
jakarta.persistence.EntityGraph.. Since: Jakarta Persistence (JPA) 3 .2 AttributeNode addAttributeNode ( Attribute attribute ) Get an existing ... : IllegalStateException - if the EntityGraph has been statically defined. Since: Jakarta Persistence (JPA) 3 .2 void ... . Since: Jakarta Persistence (JPA) 3 .2 Subgraph addElementSubgraph ( String attributeName ) Add | |
combined index not used --------------------- Group the results of step 5 by : a.endDate,v$1.nodePath,v$ 3 .doubleValue. Step 7: Apply ... . [ Step 1d] Filter the results of step 1c retaining only results that satisfy: (a.state= 3 ). [ Step 1e] Filter the results of step 1d retaining only results that satisfy: (a.subType= 3 ). [ Step 1f] Filter | |
jakarta.persistence.Graph to EntityGraph and Subgraph . See Also: EntityGraph Subgraph Since: Jakarta Persistence (JPA) 3 .2 Public ... is not an attribute of this entity.. Since: Jakarta Persistence (JPA) 3 .2 AttributeNode ... Persistence (JPA) 3 .2 void addAttributeNodes ( String... attributeName ) Add one or more attribute | |
jakarta.persistence.Subgraph. IllegalArgumentException - if the attribute is not an attribute of this entity.. Since: Jakarta Persistence (JPA) 3 .2 ... has been statically defined. Since: Jakarta Persistence (JPA) 3 .2 void addAttributeNodes ( String ... Persistence (JPA) 3 .2 Subgraph addElementSubgraph ( String attributeName ) Add a node to the graph | |
Database Explorer, you must specify the path to the file. Alternatively, you can run the Explorer by double-clicking explorer.jar ... a database path on the server, which you can do by using the Browse button. You can also open recently used databases from the File Recent Connections menu. By default, the Explorer automatically tries | |
jakarta.persistence.StoredProcedureQuery parameters for which default values have been defined by the stored procedure. When getResultList ... procedure query, followed by getUpdateCount . The results of executeUpdate ... set can be obtained by calling getResultList or getSingleResult . The hasMoreResults method | |
jakarta.persistence.TypedQuery effect during query execution. Inherited from Query Since: Jakarta Persistence (JPA) 3 .2 CacheStoreMode ... . Inherited from Query Since: Jakarta Persistence (JPA) 3 .2 int getFirstResult () The position of the first ... required to be supported by the provider. Inherited from Query Parameters: position - position type - type | |
jakarta.persistence.Query that will be in effect during query execution. Since: Jakarta Persistence (JPA) 3 .2 CacheStoreMode ... . Since: Jakarta Persistence (JPA) 3 .2 int getFirstResult () The position of the first result the query object ... required to be supported by the provider. Parameters: position - position type - type Returns | |
ObjectDB 2.3.3 Improved compilation performance of OR queries with many elements. Fixed eager fetch of maps and nested embedded objects. Fixed a bug in removing a new flushed entity object before first commit ( issue #562 ). Fixed a NullPointerException in accessing inverse (mapped by ) collection fields | |
JPA Persistable Types are represented in queries by entity names . By default, the entity name is the unqualified name ... can be set explicitly by using the name attribute of the @Entity annotation: @Entity ( name ="MyName ... is declared as embeddable by marking it with the @Embeddable annotation: @Embeddable public class Address | |
Retrieving JPA Entities the no-argument constructors of entity classes and keep them as simple as possible. Retrieval by class and primary key Every entity can be uniquely identified and retrieved by the combination of its class ... is similar to the find method, but if the entity is not already managed by the EntityManager | |
jakarta.persistence.PersistenceUnitUtil or managed by entity managers for this persistence unit or on new entity instances. Since: Jakarta ... . This method may, but is not required to, load the given entity by side effect. Parameters: entity ... cannot be loaded from the database. Since: Jakarta Persistence (JPA) 3 .2 Object getIdentifier ( Object | |
jakarta.persistence.criteria.Root: - the entity type referenced by the root Super Interfaces: From , Path , FetchParent , Expression , Selection ... of the given basic type. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ... . Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Object value ) Create a predicate to test | |
jakarta.persistence.Column: Annotation Target: Method, Field Specifies the column mapped by the annotated persistent property or ... public String getDescription() { return description; } Example 3 : @Column(name = "ORDER_COST", updatable ... entailed by the primary key mapping and to constraints specified at the table level. Default: false | |
jakarta.persistence.AttributeConverter of the entity attribute Interface implemented by custom attribute converters . A converter is a class ... as the type of a persistent field or property, and a basic type used as an intermediate step in ... column for use by the JDBC driver: i.e., persistence providers are not expected to do such type | |
Database Management Settings for each new database file. The resize attribute specifies the size by which to extend the database ... can improve performance by reducing file fragmentation that can result from frequent resize operations ... environments. By default, the recovery file is created in the same directory as the database file | |
JPA Optimistic and Pessimistic Locking. When you use ObjectDB, optimistic locking is enabled by default and is fully automatic. Optimistic ... ;is modified, its version number is automatically incremented by one. Version numbers are managed internally but can be exposed by defining a version field . During commit (and flush ), ObjectDB checks | |
FROM clause (JPQL / Criteria API) By default, the name of an entity class in a JPQL query is the unqualified name of the class (for example, Country with no package name). The default name can be overridden by specifying another name ... to a single-value expression are less commonly used because they can usually be replaced by | |
Paths and Types in JPQL and Criteria API classes) are represented in JPQL by the following types of expressions: Variables : FROM ... persistent classes can participate in direct comparisons by using the = and operators ... by all six comparison operators and used for ordering . Navigation through path expressions A path | |
JPA Primary Key and can be retrieved by the combination of its type and its primary key. Primary key values must be unique for each ... part of their containing entities and do not have a separate identity. Automatic primary key By default ... value by declaring a primary key field: @Entity public class Project { @Id @GeneratedValue long id | |
Blocked by find, Object obj)" method which is synchronized and attempts to load an object by id using the EntityManager ... somewhere in the find. The thread dump looks like: Name: DEV1-WSAgent-1-Existing/ 3 State: RUNNABLE Total ... : BLOCKED on rbccm.felix.objectdb.workflow.ObjectDbInstanceContainer@9c71a4 owned by : DEV1-WSAgent-1 | |
jakarta.persistence.criteria.Predicate Returns: a scalar expression of the given basic type. Since: Jakarta Persistence (JPA) 3 .2 Predicate ... testing for equality. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Object value ) Create ... Persistence (JPA) 3 .2 String getAlias () Return the alias assigned to the tuple element or null | |
jakarta.persistence.criteria.CriteriaBuilder.In type. Since: Jakarta Persistence (JPA) 3 .2 Predicate equalTo ( Expression value ) Create a predicate ... Persistence (JPA) 3 .2 Predicate equalTo ( Object value ) Create a predicate to test whether the expression ... against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3 .2 String getAlias () Return | |
Query Parameters in JPA a Country object from the database by its name: public Country getCountryByName( EntityManager em ... a value for the parameter by using the setParameter method. The setParameter method supports method chaining by returning the TypedQuery instance on which it was invoked. This allows you to chain | |
InternalException using 2.3.7_12. 3 .7_02. I had to upgrade to 2. 3 .7_12 to pickup the fix for wildcard search on index, and now get this. [ObjectDB 2. 3 .7_12] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_21 (on Linux 3 .0.0-16-generic). Please report this error on http://www.objectdb.com | |
jakarta.persistence.criteria.CriteriaQuery) 3 .2 boolean isDistinct () Return whether duplicate query results must be eliminated or retained ... (i.e., a criteria query object created by either the createTupleQuery method or by passing a Tuple ... class X (i.e., a criteria query object created by passing a X class argument to the createQuery | |
[ObjectDB 2.4.3_07] Unexpected exception (Error 990) [2012-10-05 13:14:18 #7 store] Database '/home/glassfish/objectdb-2.4. 3 _07/db/test.odb' is opened by 7042@edi-gui-sbr-devel [2012-10-05 13:14:18 #8 server] [ObjectDB 2.4. 3 _07] Unexpected exception ... ] Database '/home/glassfish/objectdb-2.4. 3 _07/db/test.odb' is closed by 7042@edi-gui-sbr-devel hadnosoul | |
[ObjectDB 2.8.3_01] Unexpected exception (Error 990) Seeing strange new error, with previously working code! Objectdb: 2.8. 3 _01 JVM: 1.8.0_252 OS: Ubuntu: 18.0.4 ---- [ObjectDB 2.8. 3 _01] Unexpected exception (Error 990) Generated by OpenJDK 64 ... .run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) [ObjectDB 2.8. 3 _01 | |
[ObjectDB 2.3.7_25] Unexpected exception (Error 990) copy... [ObjectDB 2. 3 .7_25] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64 ... databases, but still if the database was created by an old version of ObjectDB (before 2. 3 .0) maybe ... :163) at com.objectdb.Doctor.main(Doctor.java:22) [ObjectDB 2. 3 .7_25] null lorenz2304 Benjamin Lorenz | |
ClassCastException after upgrade to 2.3.5_03) at java.lang.Thread.run(Thread.java:662) Caused by : com.objectdb.o.InternalException: Unexpected ... Source) ... 4 more Caused by : java.lang.ClassCastException: [B cannot be cast to [Ljava.lang.Object ... " field is a byte[]. This worked ok in 2. 3 . 3 _06. felixobjectdb Richard Szurgot Thank you for this report | |
Getting Started with JPA and NetBeans well (dialog boxes and menus might look slightly different but the code would be the same). This tutorial consists of the following steps : |