ObjectDB Database Search
151-200 of 200 resultsfind repeated records by JPQL 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.jpa.JpaQuery.getResultList(JpaQuery.java:627) ... 1 more Caused by: java.lang.OutOfMemoryError | |
@OneToOne query issue with OR and IS NULL the WHERE clause. Try LEFT OUTER JOIN : SELECT a FROM A a LEFT JOIN a.another b WHERE a.another IS NULL OR b | |
Query execution time issue inner join e.person person inner join person.address address left join address.place addressPlace left join address.city addressCity left join address.county addressCounty left join person.birthPlace birthPlace left join person.birthCounty birthCounty left join person.citizenship citizenship left | |
Fetching Collections Puzzle;colletions are to be lazy fetched. You can try this in a query. "select n from Node n left outer | |
jakarta.persistence.TypedQuery Persistence (JPA) 1 .0 CacheRetrieveMode getCacheRetrieveMode () The cache retrieval mode that will be in ... back. Since: Jakarta Persistence (JPA) 1 .0 Stream getResultStream () Execute a SELECT query and return the query ... been joined to the transaction. Since: Jakarta Persistence (JPA) 1 .0 X getSingleResultOrNull | |
jakarta.persistence.criteria.CriteriaBuilder.Case which they are specified. Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods Selection alias ( String ... : selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast ... of the given type. See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 Expression cast ( Class | |
jakarta.persistence.Subgraph within an EntityGraph . See Also: EntityGraph AttributeNode NamedSubgraph Since: Jakarta Persistence (JPA) 2. 1 Public ... is not an attribute of this managed type.. Since: Jakarta Persistence (JPA) 1 .0 void addAttributeNodes ... - if this EntityGraph has been statically defined. Since: Jakarta Persistence (JPA) 1 .0 Subgraph | |
jakarta.persistence.criteria.Predicate Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast upon the expression, returning ... . See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast ... (JPA) 1 .0 List getCompoundSelectionItems () Return the selection items composing a compound selection | |
jakarta.persistence.Graph (JPA) 1 .0 void addAttributeNodes ( Attribute ... attribute ) Add one or more attribute nodes ... : IllegalStateException - if this EntityGraph has been statically defined. Since: Jakarta Persistence (JPA) 1 .0 Subgraph ... . Since: Jakarta Persistence (JPA) 1 .0 Subgraph addElementSubgraph ( String attributeName , Class type | |
jakarta.persistence.criteria.ParameterExpression 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 ... . Inherited from TupleElement Returns: alias. Since: Jakarta Persistence (JPA) 1 .0 List | |
jakarta.persistence.criteria.CriteriaBuilder.Coalesce otherwise. Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods Selection alias ( String ... : selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast ... of the given type. See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 Expression cast ( Class | |
jakarta.persistence.criteria.CriteriaUpdate. A CriteriaUpdate object must have a single root. Since: Jakarta Persistence (JPA) 2. 1 Public Instance ... . Since: Jakarta Persistence (JPA) 1 .0 Root from ( EntityType entity ) Create and add a query root ... of type X Returns: query root corresponding to the given entity. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.criteria.LocalDateTimeField The date part of a datetime. Since: Jakarta Persistence (JPA) 1 .0 DAY The calendar day of the month, numbered from 1 . Since: Jakarta Persistence (JPA) 1 .0 HOUR The hour of the day in 24-hour time, numbered from 0 to 23. Since: Jakarta Persistence (JPA) 1 .0 MINUTE The minute of the hour, numbered from | |
jakarta.persistence.Column field. If no Column annotation is explicitly specified, the default values apply. Example 1 : @Column ... of type numeric or decimal . Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements String name ... Persistence (JPA) 1 .0 boolean unique (Optional) Whether the column is a unique key | |
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 ... value set and only the statement is rolled back. Since: Jakarta Persistence (JPA) 1 .0 Stream | |
jakarta.persistence.TableGenerator annotation. Example 1 : @Entity public class Employee { ... @TableGenerator( name = "empGen", table ... ", allocationSize = 1 ) @Id @GeneratedValue(strategy = TABLE, generator = "empGen") int id; ... } Example 2 ... ; ... } See Also: GeneratedValue Since: Jakarta Persistence (JPA) 1 .0 The Auto Generated Values article | |
jakarta.persistence.metamodel.SingularAttribute Bindable Returns: Java type. Since: Jakarta Persistence (JPA) 1 .0 BindableType getBindableType ... . Since: Jakarta Persistence (JPA) 1 .0 ManagedType getDeclaringType () Return the managed type ... . Since: Jakarta Persistence (JPA) 1 .0 Member getJavaMember () Return the java.lang.reflect.Member | |
jakarta.persistence.metamodel.MapAttribute Persistence (JPA) 1 .0 BindableType getBindableType () Return the bindable type of the represented object. Inherited from Bindable Returns: bindable type. Since: Jakarta Persistence (JPA) 1 .0 CollectionType ... type. Since: Jakarta Persistence (JPA) 1 .0 ManagedType getDeclaringType () Return the managed type | |
Issue with UPPER ? Hi, Assuming those queries which are all the same except the UPPER calls: # Case ( 1 ) SELECT COUNT($ 1 ) FROM com.lexware.vereinsverwaltung.verein.mitglied.Mitglied $ 1 LEFT JOIN $ 1 .mitgliedschaft $2 LEFT JOIN $ 1 .profile $3 LEFT JOIN $3.organisation $4 LEFT JOIN $ 1 .postalAddresses $5 LEFT JOIN $ 1 | |
jakarta.persistence.criteria.Expression Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast upon the expression, returning a new ... ) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type, returning a new ... . Inherited from TupleElement Returns: alias. Since: Jakarta Persistence (JPA) 1 .0 List | |
JPA Entity Fields of a new entity is 1 when it's stored in the database for the first time. In every transaction | |
Storing JPA Entities the clear and flush methods together to save memory during large transactions: em. getTransaction (). begin (); for (int i = 1 ; i | |
ObjectDB License Agreement [ver. 2.0.4] of this agreement will be binding, unless in writing and signed by an authorized representative of each party. 1 | |
JPA Persistable Types are stored as ordinal numbers (0, 1 , and 2), while values of the color3 field are stored as strings | |
Logical Operators in JPQL and Criteria API Logical operators in JPQL and JPA criteria queries combine simple Boolean expressions to form complex expressions. Logical operators ObjectDB supports two sets of logical operators, as shown in the following table: Set 1 : JPQL / SQL Set 2: Java / JDO AND && OR || NOT ! JPQL uses SQL notation | |
Numbers in JPQL and Criteria Queries) is evaluated to 1 .414213562373095 The SQRT function takes as an argument a numeric value of any | |
JPA Class Enhancer to integrate enhancement into the build process: ... ... ... org.codehaus.mojo exec-maven-plugin 1 .6.0 | |
JPA Query API Jakarta Persistence (JPA) represents queries with two interfaces: the Query interface, which was the only query interface in JPA 1 , and the TypedQuery interface, which was introduced in JPA 2. The TypedQuery interface extends the Query interface. Use the Query interface primarily when the query | |
Deleting JPA Entities: Employee employee = em. find (Employee.class, 1 ); em. getTransaction (). begin (); em. remove (employee | |
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/SQL Set 2: Java/JDO Less Than Less Than or Equal To = Equal To = == Not Equal To != The main | |
ORDER BY clause (JPQL / Criteria API) COUNT(c) 1 ORDER BY c.currency In the query above, the ORDER BY clause sorts the results by | |
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 and Conditions of Use, all applicable laws and regulations, and agree that you are responsible for compliance with any applicable local laws. If you do not agree with any of these terms, you are prohibited | |
JPA Primary Key ( long ). The primary key of the first entity is 1 , the second is 2, and so on. Primary key values | |
ObjectDB 2.3.6 LEFT OUTER JOIN. Fixed GROUP BY DATE(...) - merging AM and PM into the same date. | |
ObjectDB 2.2.8 Fixed a critical bug in extensive removal operations of large objects. Improved the performance of navigation through an inverse (mapped by) field if the owner field is indexed. Fixed a LEFT OUTER JOIN bug . Fixed a bug in parsing queries with parenthesis followed by NOT . Fixed a bug in running | |
New issues with queries using build 2.7.8 Hello, we found another query bug: SELECT a FROM ArtifactImpl a LEFT OUTER JOIN a.tcSignal s WHERE a.startStep.stepNumber = 0 AND (s.name IN ('In1') OR a.tcSignal IS NULL) With 2.7.6_b6 we get the expected three result objects. But with 2.8.0 we get only two result objects | |
Performance issue with query Hello, we have an issue with following query which needs with objectdb-2.7.6_07 only 15 - 30 milli seconds, but since objectdb-2.7.6_08 the query needs round about 3000 ms. I added a database example in a ticket. SELECT a FROM ArtifactImpl a LEFT OUTER JOIN a.tcSignal s WHERE a.endStep.stepNumber = 2000 AND a.startStep.stepNumber | |
Eclipse/JPA Spring MVC Web Tutorial.6. 1 but it should work with other Eclipse versions as well (dialog boxes and menus might look | |
Getting Started with JPA and Eclipse). This tutorial was written for Eclipse 3.6. 1 but it should work with other Eclipse versions as | |
NetBeans/JPA Web Application Tutorial (just download and extract). The tutorial was written for NetBeans 6.9. 1 but it should work | |
Step 7: Run the Spring Web App/. This Spring web application can also run with GlassFish 3.0. 1 , with a small change in the  | |
JPA Tutorials, such as GlassFish 3.0. 1 or JBoss AS 6. Another tutorial shows how to use JPA in a Spring MVC Framework | |
Java EE Web Tutorial This tutorial demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application using GlassFish, ObjectDB and JPA. Since this web application uses Java EE 6 EJB (session beans) it requires a full Java EE 6 application server, such as GlassFish 3.0. 1 or JBoss AS 6 | |
NetBeans/JPA Spring MVC Web Tutorial for NetBeans 6.9. 1 but it should work with other NetBeans versions as well (dialog boxes and menus might look | |
Eclipse/JPA Web Application Tutorial (just download and extract). The tutorial was written for Eclipse 3.6. 1 but it should work | |
Step 6: Design a BIRT Report Table In this final step we will add a simple table to the report: Open the [Insert Table] dialog box by dragging a Table from the [Palette] window and dropping it on the report design (.rptdesign) layout. Set the column number to 2 , number of details to 1 , select the data set (e.g. Points by X | |
Getting Started with JPA. The sample application is also explained in details in Chapter 1 of the ObjectDB Manual , but if you prefer | |
Getting Started with JPA and NetBeans). The tutorial was written for NetBeans 6.9. 1 but it should work with other NetBeans versions as | |
Step 7: Run the Spring Web App/Guestbook/. This tutorial should also run with GlassFish 3.0. 1 , with a small change in | |
[ODB1] Chapter 4 - JDO Metadata and the other resources (possibly in a jar file). 4. 1 JDO Metadata Files During JDO enhancement and later |