ObjectDB Database Search
101-150 of 200 resultsJBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception.lang.Thread.run(Thread.java:722) [rt.jar: 1 .7.0_04] Caused by : javax.persistence ... ) [jbossweb-7.0.13.Final.jar:] at java.lang.Thread.run(Thread.java:722) [rt.jar: 1 .7.0_04] I obtained it by ... ] (DeploymentScanner-threads - 1 ) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed | |
Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x steps 1 . Update the package.jdo with an index defined 2. Convert the old odb file 3. Connect ... defination and tried the following steps 1 . Update the package.jdo with an index defined 2. Convert ... .. i did the following steps 1 . Update the package.jdo with an index defined 2. Convert the old odb | |
Pre-detach loading: retrieval by navigation not working in if statement 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 ... -Djava.compiler=NONE webel Dr Darren Kelly OK. It could still be an optimization that is used by the 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 ... ) at com.n2nconnect.mm.jsf.controller.ProjFeedController$ 1 .createPageDataModel(ProjFeedController.java:60 ... .java:513) at java.lang.Thread.run(Thread.java:662) Caused by : com.objectdb.o._PersistenceException | |
NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1--127.0.0. 1 -8080- 1 ) [ObjectDB 2.5. 1 _05] Package test is not found by the enhancer (error 108) 12:25 ... by the enhancer 12:25:10,224 ERROR [stderr] (http--127.0.0. 1 -8080- 1 ) at com.objectdb.o.MSG.d(MSG ... + Jboss 7. 1 . 1 @Entity public class Person extends AbstractObject { private static final long | |
Issue deploying J6EE/Eclipse/Glassfish example to TomEE 1.5.1; It seems to be hardcoded to assume it is being deployed into JBoss AS: ....snip.... Caused by : com ... .Provider.createContainerEntityManagerFactory(Provider.java:118) ... 21 more Caused by : com.objectdb.o ... .MSG.d(MSG.java:74) at com.objectdb.jpa.EMF.initJtaRegistry(EMF.java:138) ... 24 more Caused by : javax | |
InternalException & UserException using objectdb with Jboss AS 7.1.1 final Hello. We are currently using ObjectDB in application server Jboss as 7. 1 . 1 .final. ObjectDB version is 2.5.3_02. The following errors occur when multiple ajax requests are executed: Caused by : com.objectdb.o.InternalException: Error reading UTF string Caused by : com.objectdb.o.UserException | |
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 ... ; new Location(" 1 ", "A"), new ... ; new Street(null, "s2", locations.get( 1 )), new Street | |
java.lang.NullPointerException when using ORDER BY We are using ObjectDB 2.5. 1 _04. The following query causes an internal null pointer exception ... == 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 | |
Should derived fields of an EmbeddedId be manually maintained by app code?] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1 .6.0_27 (on Windows Server 2008 6.0 ... id = " 1 "; @SuppressWarnings("unused") // used by JPA @Version private int version; @Basic protected ... exception (Error 990) Generated by Java HotSpot(TM) Client VM 1 .6.0_27 (on Windows Server 2008 6.0 | |
How to disable use of graphic windows by objectDB; #The server is running [root@GhostRider bin]# ps -ax | grep javauser 4238 pts/ 1 Sl  ... javauser 4238 pts/ 1 Sl 0:00 /usr/java/jdk/bin/java -server ... -10-24 23:50:36 # 1 server] java.net.UnknownHostException: GhostRider | |
Strange behaviour with ORDER BY and IN Hi, after trying out objectdb for a while now and being quite impressed by its speed and overall performance I noticed a strange behaviour where an ORDER BY - directive isn't executed as ... if we order by a simple member (e.g. a String) being the Entity-ID and, at the same time, filter | |
find repeated records by JPQL.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:627) ... 1 more Caused by : java.lang.OutOfMemoryError ... in # 1 contains GROUP BY / HAVING. The outer query in # 1 contains the IN operator. The query in #3 ... (select id from TTT s group id having count(id) 1 ) I dont know how to do this using JPQL, but I use | |
ObjectDB Website - Terms and Conditions of Use 1 . Terms By accessing and using this web site, you agree to be bound by these web site Terms ... from using or accessing this site. The materials contained in this web site are protected by ... of these restrictions and may be terminated by ObjectDB Software at any time. Upon terminating your viewing | |
Literals in JPQL and Criteria Queries both Java and SQL syntax for numeric literals. Numeric suffixes (for example, 1 .5F ) are also supported ... ) numeric literals. This feature is not supported by all JPA implementations. String literals JPQL ... , 'Adam' or '' ), and a single quotation mark within a string is represented by two single quotation | |
Updating JPA Entities, 1 ); em. getTransaction (). begin (); employee.setNickname("Joe the Plumber"); em. getTransaction ... that are referenced by modified entities through fields that are marked with CascadeType . PERSIST or ... an entity by modifying it within an active transaction. You do not need to invoke an EntityManager method | |
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 ... may be the same Java type. See Also: Converter Convert.converter Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.EntityManager via a call to close , to allow resources to be cleaned up by the persistence provider. This approach places ... EntityManager may be obtained by dependency injection, using PersistenceContext . // inject the container ... the EntityTransaction obtained by calling getTransaction . A complete idiom for custom application | |
Logical Operators in JPQL and Criteria API the following table: Set 1 : JPQL / SQL Set 2: Java / JDO AND && OR || NOT ! JPQL uses SQL notation, while Java uses its own notation, which is also used by the JDO Query Language (JDOQL). ObjectDB ... , Boolean expressions are represented by the Expression interface and its descendants. For example | |
Auto Generated Values. It takes a name, an initial value (default is 1 ), and an allocation size (default is 50). A sequence is global to the application and can be used by multiple fields across different classes. Specify ... ="seq", initialValue = 1 , allocationSize =100) public class EntityWithSequenceId { // Use | |
jakarta.persistence.metamodel.EntityType of the given name is not present in the managed type. Since: Jakarta Persistence (JPA) 1 .0 Set ... of the managed type. Since: Jakarta Persistence (JPA) 1 .0 Class getBindableJavaType () Return the Java ... . Since: Jakarta Persistence (JPA) 1 .0 BindableType getBindableType () Return the bindable type | |
each 1-2 days objects on some objectdb level lock/block each other each 1 -2 days we have the situation that our system changes to a completely underperforming mode ... (0x00000000b6681e10) by one thread. The second thread dump (0x00000000bc88c318) is related ... % and around 200 threads hgzwicker Hans-Georg Zwicker According to the subject of this thread it happens every 1 -2 | |
jakarta.persistence.metamodel.IdentifiableType (JPA) 1 .0 SetAttribute getDeclaredSet ( String name ) Return the Set-valued attribute declared by ... Persistence (JPA) 1 .0 Set getAttributes () Return the attributes of the managed type. Inherited from ManagedType Returns: attributes of the managed type. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.metamodel.MappedSuperclassType. Since: Jakarta Persistence (JPA) 1 .0 Set getAttributes () Return the attributes of the managed type. Inherited from ManagedType Returns: attributes of the managed type. Since: Jakarta Persistence (JPA) 1 .0 ... type. Since: Jakarta Persistence (JPA) 1 .0 CollectionAttribute getCollection ( String name ) Return | |
JPA Core Types. Use its static methods to create an EntityManagerFactory as the first step for accessing | |
JPA Query API, which was the only query interface in JPA 1 , and the TypedQuery interface, which was introduced in JPA 2 ... , which retrieves all Country objects from the database, is represented by both q1 and q2 . When you build ... JPA, building queries by passing JPQL query strings directly to the createQuery method is called | |
Server User List contains the following element: The elements ... ... Each user is represented by a single element ... to connect to the server only from the specified IP addresses. For example, "127.0.0. 1 " (the local computer ... of "192.18.0.0-192.18.194.255,127.0.0. 1 " allows connections from any IP address in the range 192.18.0.0 | |
jakarta.persistence.metamodel.ManagedType) 1 .0 Attribute getDeclaredAttribute ( String name ) Return the attribute declared by the managed ... the managed type. Since: Jakarta Persistence (JPA) 1 .0 Set getAttributes () Return the attributes of the managed type. Returns: attributes of the managed type. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.metamodel.EmbeddableType (JPA) 1 .0 Attribute getDeclaredAttribute ( String name ) Return the attribute declared by ... (JPA) 1 .0 Set getDeclaredAttributes () Return the attributes declared by the managed type. Returns ... is not present in the managed type. Since: Jakarta Persistence (JPA) 1 .0 Set getAttributes () Return | |
jakarta.persistence.PersistenceConfiguration by "jakarta.persistence.schema-generation.create-script-source" . Since: Jakarta Persistence (JPA) 1 ... , ValidationMode.AUTO by default. Returns: the validation mode. Since: Jakarta Persistence (JPA) 1 .0 ... of this PersistenceConfiguration class should use sharedCacheMode . Since: Jakarta Persistence (JPA) 1 .0 JDBC_DATASOURCE | |
Deleting JPA Entities You can delete existing entities from the database either explicitly by calling the remove method ... : Employee employee = em. find (Employee.class, 1 ); em. getTransaction (). begin (); em. remove (employee ... that you can specify by using the orphanRemoval element of the @OneToOne and @OneToMany annotations | |
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 | |
Mapped by fields are not initialized by JOIN FETCH in queries As demonstrated in this forum thread , a mapped by collection field with lazy fetch mode is not initialized in results of a query that uses JOIN FETCH on that collection field (when enhancement is used). support Support Build 2.4. 1 _06 fixes this issue (fields are now initialized | |
jakarta.persistence.EntityManagerFactory of EntityManager . A persistence unit defines the set of all classes that are related or grouped by ... may be defined by a persistence.xml file, or it may be defined at runtime ... . An EntityManagerFactory with a lifecycle managed by the application may be created using the static operations | |
combined index not used --------------------- Group the results of step 5 by : a.endDate,v$ 1 .nodePath,v$3.doubleValue. Step 7: Apply ... we can see that this index is not used: Query Plan Description ====================== Step 1 : Process ... retaining only results that satisfy: (a.endDate=: 1 ). [ Step 1c] Retrieve fields in Action (a) instances | |
jakarta.persistence.criteria.CriteriaQuery.. Since: Jakarta Persistence (JPA) 1 .0 Root from ( Class entityClass ) Create and add a query root ... to the given entity. Since: Jakarta Persistence (JPA) 1 .0 Root from ( EntityType entity ) Create and add ... Returns: query root corresponding to the given entity. Since: Jakarta Persistence (JPA) 1 .0 List | |
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 | |
jakarta.persistence.criteria.Root: - the entity type referenced by the root Super Interfaces: From , Path , FetchParent , Expression , Selection ... Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 ... Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type | |
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 | |
Strings in JPQL and Criteria Queries). Therefore, the position of the first character is 1 . A value of zero ( 0 ) is returned if the substring is not ... ' . TRIM(BOTH FROM ' UK ') is evaluated to 'UK' . By default, spaces are removed, but you can specify | |
Numbers in JPQL and Criteria Queries) is evaluated to 1 .414213562373095 The SQRT function takes as an argument a numeric value of any ... in the previous example, you can convert a number to a numeric expression by using the literal method. | |
Comparison in JPQL and Criteria API Most JPQL queries use at least one comparison operator in their WHERE clause. Comparison operators ObjectDB supports two sets of comparison operators, as shown in the following table: Set 1 : JPQL ... . != ) operators. JPQL follows SQL notation, while Java uses its own notation, which is also used by JDOQL | |
jakarta.persistence.TypedQuery Persistence (JPA) 1 .0 CacheRetrieveMode getCacheRetrieveMode () The cache retrieval mode that will be in ... required to be supported by the provider. Inherited from Query Parameters: position - position type - type ... back. Since: Jakarta Persistence (JPA) 1 .0 Stream getResultStream () Execute a SELECT query and return the query | |
jakarta.persistence.Query execution. See Also: TypedQuery StoredProcedureQuery Parameter Since: Jakarta Persistence (JPA) 1 .0 ... back. Since: Jakarta Persistence (JPA) 1 .0 CacheRetrieveMode getCacheRetrieveMode () The cache retrieval mode ... required to be supported by the provider. Parameters: position - position type - type Returns | |
ObjectDB Object Database Features Databases are also supported by ObjectDB. The combination of Object Database features ... (limited only by operating system resources). Unlimited CPUs and cores. Reliability and Stability Recovery from failure by using a recovery file and double writing. Additional recovery layer | |
jakarta.persistence.EntityGraph Persistence (JPA) 2. 1 Public Instance Methods AttributeNode addAttributeNode ( String attributeName ... . IllegalArgumentException - if the attribute is not an attribute of this managed type.. Since: Jakarta Persistence (JPA) 1 ... ) 1 .0 Subgraph addElementSubgraph ( PluralAttribute attribute ) Add a node to the graph | |
Blocked by find: BLOCKED on rbccm.felix.objectdb.workflow.ObjectDbInstanceContainer@9c71a4 owned by : DEV1-WSAgent- 1 ... , 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 | |
Java EE Web Tutorial (session beans) it requires a full Java EE 6 application server, such as GlassFish 3.0. 1 or JBoss AS 6 ... can sign the guestbook by filling a simple form. The visitors that have already signed are listed below the form: Persistence is managed by JPA. Every visitor that has signed the guestbook | |
Getting Started with JPA. The sample application is also explained in details in Chapter 1 of the ObjectDB Manual , but if you prefer to start by running a live sample application in your IDE, you should be able to follow |