ObjectDB Database Search
101-150 of 200 resultsGroup by date / time Hi, I'm trying to create reporting query that will return entities grouped by year / mont / day ... WHERE YEAR(record_date) = 2009 GROUP BY YEAR(record_date), MONTH(record_date) or maybe something like this: SELECT COUNT(id) FROM stats WHERE YEAR(record_date) = 2009 GROUP BY DATE_FORMAT(record_date | |
Mapped By Fetch is very Slow Well ! I think i pointed out a HUGE performance issue with mapped- by attribute (yeah ... , go the MyEntity class and remove "mapped- by ". You obtain 1 second max of query fetch. So my performance ... = "myEntity") // Test by adding / remove "mappedBy" public MyEntityChild getEntityChild() {   | |
Connection is closed Caused by: java.io.EOFException after an undetermined period. Caused by : com.objectdb.o.UserException: Connection is closed at com ... .createEntityManager(EMF.java:160) ... 39 more Caused by : java.io.EOFException at com.objectdb.o.NTS | |
Null returned by Persistence.createEntityManagerFactory the application I get an exception. The exception is ultimately caused by a null pointer on the line "em ... it is, because stack traces are occasionally inaccurate. Try to change your code by moving suspected lines to separate methods, etc. support Support | |
Getting java.lang.ArithmeticException: / by zero() is throwing the following exception ava.lang.ArithmeticException: / by zero at com.objectdb.td.remove(td.java ... Binit Bhaskar This division by zero occurs in some hash table that happens to have a 0 size (but I | |
Unable to repair DB by Doctor. Hi, I am unable to repair a database by Doctor. Getting following error. com.objectdb.o.UserException: Failed to locate field field com.apps.test.ContactTab.col8 using reflection at com.objectdb.o ... ) at com.objectdb.o.DCM.j(DCM.java:112) at com.objectdb.Doctor.main(Doctor.java:10) Caused by : java | |
find out if an entity is refered by other entities Hello, it is possible to find out if a child entity is just referenced by other parent entity types. But the types of the parent entities are unknown. Is there a possibility to find out if an entity is referenced? best regards btc_es BTC EmbeddedSystems You can only find it (using a query | |
Bug: ClassCastException by retrieval tn3 = em.find(tNode.class, 1); System.out.printf("find by retrieval : %s %n",tn3.getTa | |
Query by array element MyEntity that wraps the array access operation and then use that method in the query. It is supported by | |
Get multiple entities by Id I'm trying to fetch a list of entities, by their Id. I Use this query: SELECT c FROM User c WHERE c.id IN :ids This querey works as long as I don't set the property "id" as @Id. If i set @Id to any other member, this query works, if I set id as @Id, it stops working and gives zero results | |
Internal ObjectDB error by read the primary key covered by the fix of 2.6.6_05. Build 2.6.6_06 should fix it. Unfortunately it is difficult to cover | |
Retrieval by Access bug? of objectC, and I cant find any reason for that. Could be any bug in ObjectDB when I retrieve by navigation | |
Will Entire JPQL Supported by ObjectDb? JPQL features are not supported yet by ObjectDB. The main missing feature is subqueries | |
Finding an object by its datetime. I want to search for objects by exact timestamps. takada Takumi Adachi It should work | |
Group by: list if no aggregate function is specified Hello! In a query like SELECT parent, children FROM Parent parent LEFT JOIN p.children children GROUP BY parent maybe it would be good if it will return a list of Object[2], where the second object is a list of children of a parent. Because creating a query to get a list of parents | |
java.sql.Time field off by 30 minutesjava.sql.Time field off by 30 minutes | |
getting "Unexpected total page count" error when diagnosis mu db by ObjectDB doctor.getting "Unexpected total page count" error when diagnosis mu db by ObjectDB doctor. | |
Can you implement fastest Native JPA for MySQL by ClusterJ like?Can you implement fastest Native JPA for MySQL by ClusterJ like? | |
InternalException caused by OOM: Metaspace.5_05] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0 ... ) and the next part: Caused by : java.lang.OutOfMemoryError: Metaspace at java.lang.ClassLoader | |
Lazy retrieval by access not working correctly I have a problem loading lazy associations by access/navigation with an @Embedded attribute containing an @ElementCollection which is lazy loaded. I'm not sure if the same problem exists ... { ... @ElementCollection // lazy loaded by default private Map values; ... } @Stateless public class | |
Incorrect entity returned by queryIncorrect entity returned by query | |
JPA Criteria Query Expressions expression handling by using a minimal set of reusable interfaces, so many different types of expressions are represented by the same Expression interface. Core expressions The following interfaces | |
Server Configuration The configuration element specifies settings for running an ObjectDB Server . The server is also affected by other elements in the configuration file, such as the and elements. The default ... server. Every database file in the data directory and its subdirectories can be accessed by the server | |
Schema Update the original name (specified by the required name attribute) to the new name. All classes in ... , the class name changes from the original name (specified by the required name attribute) to the new name | |
Auto Generated Values is global to the application and can be used by multiple fields across different classes. Specify ... Hibernate, TopLink, EclipseLink, and OpenJPA) simulate a sequence by using a table to support | |
JPA Fetch Plan Graphs Jakarta Persistence (JPA) Entity Graphs optimize query performance by specifying which attributes should be loaded eagerly. Graph definitions Use the following interfaces to define ... Individual components within a graph are represented by the following interface: Represents a specific | |
Defining a JPA Entity Class. Only the persistent state of the object, which is represented by its persistent fields , is stored. By default, any | |
Obtaining a JPA Database Connection In JPA, a database connection is represented by the EntityManager interface. Therefore, to manipulate an ObjectDB database, you need an EntityManager instance. Operations that modify database ... directory, which by default is the directory where ObjectDB is installed. If a database file does not | |
Database Schema Evolution to the new schema on a field- by -field basis: For every field in the new schema that has a matching field in ... ) The automatic schema evolution mechanism, as described above, is based on matching fields by | |
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 | |
jakarta.persistence.metamodel.IdentifiableType name ) Return the attribute declared by the managed type that corresponds to the specified name ... the attributes declared by the managed type. Returns empty set if the managed type has no declared attributes ... the Collection-valued attribute declared by the managed type that corresponds to the specified name | |
jakarta.persistence.metamodel.EntityType ( String name ) Return the attribute declared by the managed type that corresponds to the specified ... () Return the attributes declared by the managed type. Returns empty set if the managed type has no declared ... elementType ) Return the Collection-valued attribute declared by the managed type that corresponds | |
jakarta.persistence.metamodel.MappedSuperclassType ( String name ) Return the attribute declared by the managed type that corresponds to the specified name ... the attributes declared by the managed type. Returns empty set if the managed type has no declared ... ) Return the Collection-valued attribute declared by the managed type that corresponds to the specified | |
jakarta.persistence.metamodel.ManagedType) 1.0 Attribute getDeclaredAttribute ( String name ) Return the attribute declared by the managed ... getDeclaredAttributes () Return the attributes declared by the managed type. Returns empty set if the managed type ... the Collection-valued attribute declared by the managed type that corresponds to the specified name | |
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 ... getDeclaredCollection ( String name , Class elementType ) Return the Collection-valued attribute declared by | |
Spring MVC and JPA Tutorial a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. All visitors that have already signed are listed below the form: Persistence is managed by JPA. Every visitor | |
Step 4: Add a Controller Class In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Package Explorer] window ... . A GuestDao component is automatically constructed and injected by Spring into the guestDao field | |
Step 6: Set the Spring XML editor ( by right clicking and selecting Open With Text Editor or by double click | |
Step 1: Create a Java Project We start by creating a new NetBeans Project: Open the [New Project] dialog box, e.g. by using File New Project... Select Java Java Application and click Next . Choose a Project Name (e.g. Tutorial ). The name of the Main class should be tutorial.Main . Verify that exactly this case sensitive fully | |
Step 6: Set the Spring XML another xml configuration file. Open the web.xml file (under Web Pages WEB-INF) in a text editor ( by right clicking and selecting Edit or by double click and then moving to the XML tab in the editor window | |
Step 1: Create a Maven Web Project We start by creating a new Maven web project in NetBeans: Open the [New Project] dialog box, e.g. by using File New Project... Select Maven Maven Web Application and click Next . Choose a Project Name (e.g. Guestbook ) and select Java EE 5. Enter Maven Group Id (e.g. com.objectdb.tutorial.spring | |
Step 7: Run the Spring Web App;you can run the application now by right clicking the project node (in the [Project Explorer] window ... ; ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual . | |
Java EE JPA Tutorial - Maven Project The Java EE Web Application tutorial provides step by step instructions on how to build a simple Java/JPA database driven web application (for GlassFish 3/ JBoss 6) in Eclipse or NetBeans . Building a new application step by step is an effective way to learn - but  | |
Step 6: Run the Java EE 6 Application You can run the application now by right clicking the GuestServlet node (in the [Project Explorer] window) and selecting Run As Run on Server Finish : Since we are using ObjectDB in embedded mode ... : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual . | |
Step 6: Run the Web Application You can run the application now by right clicking the GuestServlet node (in the [Project Explorer] window) and selecting Run As Run on Server Finish : Since we are using ObjectDB in embedded mode ... the database file in ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual . | |
Step 2: Entity Class and Persistence Unit , enter src/main/java as Folder Name and click Finish . Open the [New Java Class] dialog box, e.g. by ... by setting a META-INF/persistence.xml file: Right click the src/main/resources node (in | |
Step 4: Add a Controller Class In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Projects] window) and selecting ... is automatically constructed and injected by Spring into the guestDao field (because it is annotated | |
Spring MVC JPA Tutorial - Maven Project The Spring MVC JPA tutorial provides step by step instructions on how to build a simple Java/JPA Spring MVC database driven web application in Eclipse or NetBeans . Building a new application step by step is an effective way to learn - but if you prefer | |
Step 6: Run the Java EE 6 Application You can run the application now by right clicking the GuestServlet node (in the [Projects] window), selecting Run File , and then clicking OK (no need to change the servlet ... server and open the database file in ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual . | |
Step 6: Run the Web Application You can run the application now by right clicking the GuestServlet node (in the [Projects] window), selecting Run File , and then clicking OK (no need to change the servlet execution URI ... of the tutorial. Learn more about ObjectDB and JPA by reading the Manual . |