ObjectDB Database Search
101-150 of 200 resultsPre-detach loading: retrieval by navigation not working in if statement: objectdb.temp.no-detach NOT USED This problems only seems to occur in my large web application ... web application parallel to the large web application, but the problem does not happen in ... selected operations (while "visiting" the loaded managed entity) to load and fetch desired values. In | |
Occasionally slow requests in load testing, however there are quite a few "spikes" in the performance where we are getting a lot of very slow ... we can see that most of the requests get stuck in one of 2 places: com.objectdb.o.PGC:w: line number ... around 350 threads in the db server process and it is configured for 400. The server it is running | |
Explorer in 2.3 First, the new Explorer in ObjectDB is fantastic! This is exactly what we've needed - an easy way ... . Then allow import of that file into another database. 2. Lazy loading of data, especially in table view ... movement of the scrollbar also causes large pauses ( 30 seconds in some cases). I am using remote | |
UserException: Invalid configuration in 'internal' - Check permissions path. With such information I have tried to create an entityManager, in each slave, as follows ... .UserException: Invalid configuration in 'internal' - Check permissions. : Is there any way to change ... ) Exception in thread "main" java.lang.Exception: java.lang.ExceptionInInitializerError at com.jscilib.jppf | |
Memory Leak in EntityManagerFactory ? don't understand. 1. the server is running in embedded mode 2. the static EntityManagerFactory (m_manager_factory in the example) is opened via m_manager_facory = Persistence. createEntityManagerFactory ... and removed from memory (checked in the Profiler) 4. nevertheless there are lots of identical Copies | |
JPA Named Queries literals dynamically into the query string, which results in more efficient queries. @NamedQuery ... { ... } To attach multiple named queries to the same entity class, wrap them in a @NamedQueries annotation ... class Country { ... } Note: You can also define named queries in JPA XML mapping files instead | |
ObjectDB - JPA Object Database for Java it is the bottleneck in most applications. ObjectDB is extremely fast and much faster than any other JPA ... database with JPA support in one product , sparing the need to integrate an external JPA ORM ... , and in minutes you will be able to run your first Java and JPA database driven application in Eclipse | |
Database Doctor (for example, a bug in the operating system, Java, or ObjectDB). Copying a database file while it is in use. A network or I/O failure when copying, moving, or transferring a database file. Transferring a database file over FTP in ASCII mode instead of the required BINARY mode. Deleting a database's | |
Eclipse Distribution License - v 1.0. Redistribution and use in source and binary forms, with or without modification, are permitted provided ... , this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in | |
JPA Criteria Query Selection and Results and ordering, mirroring the SELECT and ORDER BY clauses in JPQL or SQL. These interfaces allow you to specify ... of Expression , most criteria expressions can be used directly in the SELECT clause. Defines a selection ... TupleElement . Represents a single selection in a compound selection and can be used to obtain the values | |
jakarta.persistence.EntityManager - { // do work in a persistence context ... }); In the Jakarta EE environment, a container-managed ... . A persistence context is a set of entity instances in which for any given persistent entity identity ... under the control of the persistence provider. Any entity instance can be characterized as being in | |
JPA Criteria Query Expressions interface for expressions ├─ Predicate # Boolean expression (WHERE/HAVING) │ └─ CriteriaBuilder. In # IN ... ;to allow using expression as query results. A boolean expression used to define restrictions in ... of arguments. A predicate used to determine if an expression matches any value in a provided list | |
Is ObjectDB better than competing object databases?: ObjectDB is unique in supporting the standard APIs. It is the only object database with built in ... is also unique in supporting features that are usually available only in relational databases. For example, most object databases do not support user defined primary keys, even though this is very useful in | |
JPA Queries with full type safety. General query objects Execute SELECT, UPDATE and DELETE queries in JPA using these core interfaces: The base interface for executing queries in JPA. It is often replaced by TypedQuery in modern applications to ensure compile-time type safety. A sub-interface of Query used | |
Obtaining a JPA Database Connection In JPA, a database connection is represented by the EntityManager interface ... . When using JPA, every operation on a database is associated with an EntityManager . Furthermore, in ... resources (such as a database file pointer or a socket to a remote server) in a connection pool | |
ObjectDB 2.9 Developer's Guide you productive with ObjectDB and JPA in a short time. Guide Structure Demonstrates basic database programming using ObjectDB and JPA. Shows how to define JPA entity classes that can be persisted in ... A prior knowledge of database programming (SQL, JDBC, ORM or JPA) is not required in order to follow | |
Deleting JPA Entities ) private Address address; : } In the preceding example, the Employee entity has an address field ... entity is removed, the remove operation cascades to the referenced Address entity. In ... . For example: @Entity class Employee { : @OneToMany ( orphanRemoval =true) private List addresses; : } In | |
JPA Relationships Annotations Relationships define associations between entities. They are represented In Java code by attributes (persistent fields or properties) in persistent classes that hold a reference or a collection ... the ordering of elements in a List-valued association at the time of retrieval. Specifies the attribute | |
Server User List addresses in a comma-separated list and use a hyphen (-) to specify a range. For example, a value 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 ... . If no permissions are specified, the user can still view the directory's contents in the Explorer but cannot open | |
ObjectDB Website - Terms and Conditions of Use from using or accessing this site. The materials contained in this web site are protected by ... of these materials or upon the termination of this license, you must destroy any downloaded materials in your possession whether in electronic or printed format. Some materials on ObjectDB website | |
Explorer bug ? Objects seem to be missing from database in Class view, but are present as references.Source [null](TEST: a 2nd source in (1st project)) INFO: RequestBean []: Persisted: com.greensoft.entity.Source [4](TEST: a 2nd source in (1st project)) INFO: RequestBean []: Created: com.greensoft.entity.Source [null](TEST: a 3rd source ( in 2nd project)) INFO: RequestBean []: Persisted: com.greensoft | |
Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct), the inability to robustly query relationship fields in a web application renders the ObjectDB ... showing the query result in indexTest.xhtml. The problems is illustrated by running the attached JavaEE ... via a querying @EJB gives many fields null (and not even empty, I mean truly null). In | |
What are the main benefits of using ObjectDB?. The ability to store ordinary objects in the database directly can simplify the code significantly ... to shorter time to market and saving in the total development time and costs. Improving Performance ... that ability and require multiple tables, multiple records and join operations in order to support | |
JPA Metamodel and Graphs to retrieve entity and attribute information by class or name, similar to the reflection API in Java ... , described in the following subsections: Describes the hierarchy of persistent types, including entities ... and further explanation, refer to the JPA Metamodel API section in the ObjectDB manual. Criteria query | |
Step 5: Design a BIRT Report Chart In this step we will add a simple chart to the report: Open the [New Chart] dialog box by dragging ... . In the [Select Chart Type] tab select Tube as the chart type and click Next . In the [Select Data] tab - enter row["y"] as the Y series and row["x"] as the X series, (use Ctrl + Space in | |
Getting Started with JPA. That is one of the benefits of ObjectDB, which is the only Object Database with built in support of 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 | |
Step 4: Add a Servlet Class In this step we will add a servlet to manage guestbook web requests: Open the [New Servlet] dialog box by right clicking the guest package node ( in the [Projects] window) and selecting New Servlet ... : If a new guest has registered (using a JSP form that will be added in the next tutorial step) - a new Guest | |
Step 4: Add a Servlet Class In this step we will add a servlet to manage guestbook web requests: Open the [Create Servlet] dialog box by right clicking the guest package node ( in the [Package Explorer] window), selecting  ... that will be added in the next tutorial step) - a new Guest entity is constructed and stored in the database | |
Step 4: Add a Servlet Class In this step we will add a servlet to manage guestbook web requests: Open the [New Servlet] dialog box by right clicking the guest package node ( in the [Projects] window) and selecting New Servlet ... (using a JSP form that is shown in the next tutorial step) - a new Guest entity is constructed | |
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 ... to process the web request: If a new guest has registered (using a JSP form that will be added in | |
Step 2: Define a JPA Entity Class To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the tutorial package node ( in the [Projects] window ... objects in the database. Besides the @Entity annotation and the id field (and its annotations | |
Step 1: Create a Maven Web Project We start by creating a new Maven-WTP dynamic web project in Eclipse: Open the [New Project ... ; maven-archetype-webapp as a filter, select maven-archetype-webapp in the artifact list and click ... of the new created project is contained in a pom.xml file that was created in the project main | |
Step 3: Define an EJB Session Bean that we will define in this step: Open the [New Session Bean] dialog box by right clicking the guest package node ( in the [Projects] window), selecting New Other... Java EE (or Enterprise JavaBeans) Session ... : persist - for storing a new Guest entity in the database. getAllGuests - for retrieving | |
Step 3: Define a Spring DAO Component) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right clicking the guest package node ( in the [Projects] window under Source Packages) and selecting New ... - for storing a new Guest entity in the database. getAllGuests - for retrieving all the existing  | |
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 ... has registered (using a JSP form that will be added in the next tutorial step) - a new Guest entity | |
Step 3: Define a Spring DAO Component) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right clicking the guest package node ( in the [Package Explorer] window) and selecting New Class ... - for storing a new Guest entity in the database. getAllGuests - for retrieving all the existing  | |
Step 2: Define a JPA Entity Class To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node ( in the [Projects] window ... on " + signingDate + ")"; } } The new class should represent Guest objects in the database | |
Step 1: Create a Java Project for Java EE Developers, you can see in the [New] menu a command for creating a [JPA Project]. We are not using that type of project in this tutorial but rather an ordinary Java Project. In the [New ... ) and click Next . In the Libraries tab, click Add External JARs... and select the objectdb.jar file from | |
Step 3: Define an EJB Session Bean that we will define in this step: Open the [New Java Class] dialog box by right clicking the guest package node ( in the [Package Explorer] window) and selecting New Class . The package name should be guest ... ) class defines two methods: persist - for storing a new Guest entity in the database. getAllGuests | |
Step 5: Add a JSP Page In this step we will add the JSP that generates the guestbook HTML output: Open the [New JSP File] dialog box by right clicking the WEB-INF node under the Web Pages node ( in the [Projects] window ... the controller in the previous step). The next step (and the last in this tutorial) is setting the Spring XML configuration . | |
Step 4: Run the Application You can run the application now by right clicking the Main node ( in the [Projects] window) and selecting Run File . The expected output in the [Output] window, is: Total Points: 1000 Average X: 499 ... , a new ObjectDB database file is generated in the db subdirectory under the ObjectDB installation | |
Spring MVC JPA Tutorial - IntelliJ Project To open and run the Spring MVC JPA tutorial project in Download and extract the project zip file: Spring MVC JPA - Maven Project (8KB) Open the project in IntelliJ IDEA: Select File ... ) at the top of the dialog box. In the Deployment tab select + Artifact... Guestbook:war and click | |
Java EE JPA Tutorial - Maven Project a simple Java/JPA database driven web application (for GlassFish 3/ JBoss 6) in Eclipse or  ... . You will have to deploy the generated WAR file in your GlassFish server. You may also open and run the Maven project in your IDE: NetBeans IDE and IntelliJ IDEA have built in Maven support. | |
Step 5: Add a JSP Page In this step we will add the JSP that generates the guestbook page output: Open the [New JSP File] dialog box by right clicking the Web Pages node ( in the [Projects] window) and selecting New JSP ... that have already signed (which are retrieved from the request's "guests" attribute that is set by the servlet in | |
Step 4: Run the Application You can now run the application by right clicking the Main.java file ( in the [ Package Explorer ] window) and selecting Run As Java Application . The expected output in the Eclipse [Console] window ... ) When you run the application for the first time, a new ObjectDB database file is generated in the db sub | |
Step 3: Add a Main Class In this step we will add code to the Main class (that was generated with the project) in order to store Point objects in the database and then retrieve them from the database. Use copy and paste ... .createEntityManager(); // Store 1000 Point objects in the database: em.getTransaction().begin(); for (int i = 0; i | |
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 ... ) in the third field and click OK . Fill the table with data by dragging the x and y columns from the data set in the [Data Explorer] window (under the data set node) and dropping them on the second | |
Step 2: Define a JPA Entity Class To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node ( in the [Package Explorer] window ... to create the new class. The new class should represent Guest objects in the database. Use copy | |
Step 5: Add a JSP Page In this step we will add the JSP that generates the guestbook page output: Open the [New JSP File] dialog box by right clicking the Web Pages node ( in the [Projects] window) and selecting New JSP ... that have already signed (which are retrieved from the request's "guests" attribute that is set by the servlet in | |
Step 5: Add a JSP Page In this step we will add the JSP that generates the guestbook page output: Open the [New JSP File] dialog box by right clicking the WebContent node ( in the [Package Explorer] window), selecting ... from the request's "guests" attribute that is set by the servlet in the previous step). The next step |