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 | |
Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities ObjectDB support, while the entities in a result set list from a JPQ query are initially managed ... of the container, and then in ObjectDB (but not in EclipseLink) lazy loading fails. The 3 possible solutions in the ObjectDB case seem to be: 1. Use explicit FetchType.EAGER on all desired collections | |
in-memory and on-disk support? looking at replacing a setup of H2 where I have 40GB in -memory backed by 800GB on-disk, the 40GB in ... , the records at the end continuously purge as the new ones come in (duplicate write, one to in -memory and one to on-disk). Does ObjectDB offer a similar in -memory/on-disk option? I noticed the embedded and TCP | |
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 | |
SpringBoot-Point mouse events) and generating the output (the canvas display). It is explain in the Frontend Section ... . the points that the user draws on the canvas, are stored using Jakarta Persistence (JPA) in ... in the Java Object Model section. The other components are explained in the next pages | |
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 | |
Entity Management Settings The configuration element specifies front end settings that are relevant on the client side and in ... the reference type for holding non dirty entities in the persistence context of the EntityManager ... entities are always held by strong references in the persistence context (until commit or flush | |
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 | |
Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config Hello, in our application we use ObjectDB in embedded mode as part of the Profile ... design. The product can be installed in different configurations ( in other words with more or ... of entites which are not found in the class path. With this background it would be very helpful | |
JPA Query Expressions (JPQL / Criteria) the following operators ( in order of decreasing precedence): Navigation operator (.) Arithmetic operators ... : =, , =, IS [NOT] NULL, [NOT] BETWEEN, including Collection operators: [NOT] IN , IS [NOT] EMPTY, [NOT] MEMBER [OF] and the [NOT] LIKE operator. Logical operators : AND, OR, NOT. In addition, JPA | |
JPA Queries Queries are represented in JPA by the Query and TypedQuery interfaces: The JPA Query API section ( in chapter 4 of the ObjectDB manual) provides detailed explanation of how exactly to use ... that is known only at runtime (e.g. depending on which fields are filled by a user in a form | |
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 Annotations for Classes 2 of the ObjectDB manual explains these annotations in detail. Entity and mapped super classes ... policy (as explained in chapter 3 ): Another JPA class annotation defines an ID class: ID classes are useful in representing composite primary keys as explained in the Primary Key section of the ObjectDB manual. | |
Server User List addresses can also be specified in a comma separated list and using a hyphen (-) to indicate a range. For example, a value "192.18.0.0-192.18.194.255,127.0.0.1" allows connecting from any IP address in ... under that directory. Therefore, path "/" indicates permission to access any directory in the data directory | |
Chapter 4 - JPA Queries (JPQL / Criteria) well as how to use the JPA Criteria API, which provides an alternative way for building queries in JPA ... Language (JPQL) is discussed in the next two sections. First, the structure of a JPQL query ... ), which is more Java oriented and is based on the syntax of Java. JDOQL is not covered in this manual | |
SSL Configuration in client-server mode, for both the client side and the server side. The default configuration file ... as a "man in the middle attack"). The server, on the other hand, might be less selective and allow ... the path to the file, and password , which specifies a password that is needed in order to use the file | |
Tracking changes to new collections (in enhancement mode) after flush Hello, We have an issue with a list as a value in a hashmap. Within one transaction a new key ... operations being performed in between. Once the transaction is committed, the issue is that the last element in the list is not persisted and cannot be retrieved in another transaction. The last element | |
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 object is constructed and stored in | |
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 object | |
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 object in the database. getAllGuests | |
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 object 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 object in the database. getAllGuests - for retrieving | |
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 object in the database | |
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 | |
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 WEB-INF under src/main/webapp ( in the [Package Explorer] window ... the request's guestDao attribute that is set by the controller in the previous step | |
JPA Web App Tutorial - IntelliJ Project To open and run the JPA Web Application tutorial project in IntelliJ IDEA: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the project in IntelliJ IDEA ... and select Tomcat Server Local . Enter a name (e.g. Guestbook ) at the top of the dialog box. 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 ... " attribute that is set by the servlet in the previous step). The next step (and the last one in this tutorial) is running the web application . | |
Java EE 6 JPA Tutorial - IntelliJ Project To open and run the Java EE 6 Web Application tutorial project in IntelliJ IDEA ... the project in IntelliJ IDEA: Select File Open Project... . Select the guestbook-jee6 ... . Enter a name (e.g. Guestbook ) at the top of the dialog box. In the Deployment tab select  |