ObjectDB Database Search
51-100 of 200 resultsHow can I enable serialization? How can I enable serialization for objectdb or an entity manager if I do not use a configuration file: System.setProperty("objectdb.???", /* ??? */); OR this.entityManager.setProperty(/* ??? */, /* ??? */); itsme Martin Petzold It has to be enabled in the objectdb.conf file as shown on this manual | |
Exception when querying Map property with @embedded & Enhancer enabled Hi, I have the following test class that is failing when the enhancer is enabled , resulting in ... ; for (MyEntity2 myEntity : em.createQuery(" select e from MyEntity2 e", MyEntity2.class).getResultList()) {   ... myEntity2 : em.createQuery(" select from MyEntity2 e where e.values.get('key1').value = 'value1 | |
How to enable and disable auto schema update? Hello, Can I enable and disable the auto schema update? In some cases if multiple applications are using same database and mistakenly one of application uses entity of older version build(my specified entity libs) then the whole db is being corrupted and db need to be restart. Expected | |
ClassCastException on SELECT NEW ... after UPDATE over Java RMI internally runs SELECT NEW ... queries. For example: SELECT NEW com.arunta.base.db.FileNameDTO(r.id, r.fileName) FROM RecordingMetaData AS r WHERE ... A remote RMI client runs SELECT (but not SELECT ... is that once we UPDATE a record from the client (via the RMI interface), all SELECT NEW ... queries | |
Running JPA Queries The Query interface defines two methods for running SELECT queries: Query.getSingleResult ... objects in return: TypedQuery query = em. createQuery (" SELECT c FROM Country c", Country.class); List ... ) type: Query query = em. createQuery (" SELECT c FROM Country c"); List results = query | |
BIRT/ODA ObjectDB Driver Developers extension. To install it: Open the [Install] dialog box by selecting Help Install New Software ... and press ENTER. Select the ObjectDB Birt/ODA feature. Complete the installation by clicking Next twice ... ] window and selecting New Data Source . Select ObjectDB Data Source from the list of available | |
Use temporary files to enable very large transactions. This enables us to repeatedly commit on the second database and in case of a fault we can still recover ... . support Support A build with ability to use temporary files is available now (2.6.2_06). To enable ... and preferred. support Support We test to enable temporary files in transaction flush/commit | |
JPA Named Queries: @NamedQuery ( name ="Country.findAll", query =" SELECT c FROM Country c") The @NamedQuery annotation ... . But since the scope of named queries is the entire persistence unit, names should be selected ... ", query =" SELECT c FROM Country c") public class Country { ... } Attaching multiple named queries | |
Paths and Types in JPQL and Criteria API identification variables and SELECT result variables. Parameters - when instances of these classes ... : SELECT c.name, c.capital.name FROM Country c The c identification variable is used ... : SELECT COUNT(e) FROM Object e WHERE TYPE(e) Country Binding an identification variable ( e | |
Index Definition and range queries: SELECT p FROM Point p WHERE p.x = 100 SELECT p FROM Point p WHERE p.x BETWEEN 50 AND 80 SELECT p FROM Point p WHERE p.x = 50 AND p.x = 10 But this time a full index scan is required ... for sorting results and for projection: SELECT MIN(p.x) FROM Point p WHERE p.x | |
DELETE Queries in JPA/JPQL DELETE queries provide an alternative way for deleting entity objects. Unlike SELECT queries ... . Selective Deletion The structure of DELETE queries is very simple relative to the structure of SELECT queries. DELETE queries cannot include multiple variables and JOIN, and cannot include the GROUP | |
Database Schema Evolution that enables transparent use of old entity objects after schema change. When an entity object | |
JPA Lifecycle Events should be stateless and should have a public no-arg constructor (or no constructor at all) to enable | |
Updating JPA Entity Objects. If global cascade persist is enabled all the reachable entity objects that are not managed | |
Server Configuration on the data directory, its subdirectories and database files, to enable operations of the server process | |
Deleting JPA Entity Objects should only be enabled for fields that hold private non shared dependent objects. Orphan removal can also be set | |
Database Connection using JPA an argument a name of a persistence unit . As an extension, ObjectDB enables specifying a database URL (or | |
JPA Annotations for Relationships annotation enables configuring cascade and fetch policy, using the following enum types: Additional | |
JPA Metamodel API The JPA Metamodel API, which is introduced in JPA 2.0, enables examining the classes, fields and properties of the persistent object model, similarly to the Java reflection API. The main interface of the JPA Metamodel API is: Types (mainly classes) and attributes (persistent field and properties | |
ObjectDB License a Site License OEM License ObjectDB 2.x OEM license enables distribution of ObjectDB runtime bundled in | |
Collections in JPQL and Criteria Queries that doesn't contain 'English' . ObjectDB enables as an extension to standard JPQL to use | |
Database Replication and Clustering has to be enabled , but no other preparations or settings are required. Setting Slave Databases Setting slave | |
Privacy Policy You with services available through the Website and to enable You to use some of its features. They help | |
UPDATE SET Queries in JPA/JPQL provide an alternative way of updating entity objects. Unlike SELECT queries, which are used ... - the executeUpdate method returns the number of objects that have been modified by the query. Selective Update ... , which is essential for updating selected entity objects, is supported. For example, the following | |
Issue with DISTINCT Select It is getting more and more frustrating :( We've introduced distinct select instead of regular selection in our code (no changes else) and suddenly receive invalid identifiers in queries exceptions ... ) multiple times for different selections in the same query!! so after debugging the query returns | |
JPA Query API for both Query and TypedQuery : Query q1 = em. createQuery (" SELECT c FROM Country c"); TypedQuery q2 = em. createQuery (" SELECT c FROM Country c", Country.class); In the above code, the same JPQL query | |
Getting Started with JPA - Eclipse Project: Select File Import... Maven Existing Maven Projects and click Next . Select the points-console directory as Root Directory and press ENTER . Select the project and click Finish . Run the project in Eclipse: Right click the project node and select Run As Java Application . Select Main - point and click OK . | |
Step 1: Install BIRT and ObjectDB Driver selecting Help Install New Software... In the [Work with] field enter the BIRT update site url. http ... /update-site/4.6 (Eclipse Neon, Oxygen) and press ENTER. Click the Select All button to select ... ] dialog box by selecting Help Install New Software... In the [Work with] field enter the ObjectDB | |
Step 1: Create a Web Project.g. by using File New Project... Select Java Web Web Application and click Next . Choose a Project Name (e.g. Guestbook ) and click Next . Select Apache Tomcat 6 as the Server. Note ... and select Add Jar/Folder... Select the objectdb.jar file from the bin subdirectory of the ObjectDB | |
Step 1: Create a Java EE Web Project] dialog box, e.g. by using File New Project... Select Java Web Web Application and click Next . Choose a Project Name (e.g. Guestbook ) and click Next . Select GlassFish Server 3 (or above)  ... ] window and select Add Jar/Folder... Select the objectdb.jar file from the bin subdirectory | |
Step 2: Entity Class and Persistence Unit) and selecting New Class . Enter guest as the package name - use exactly that case ... node (in the [Project Explorer] window) and selecting New Folder (or New Other... General Folder and clicking Next ). Select the project src folder as a parent folder, enter META-INF as a new | |
Step 2: Entity Class and Persistence Unit the project node (in the [Package Explorer] window), select New Source Folder ... right clicking the new source directory node (in the [Package Explorer] window) and selecting   ... the [Project Explorer]) and select New Folder. The parent folder should be resources. Enter META | |
Getting Started with JPA - NetBeans Project NetBeans: Select File Open Project... . Select the points-console directory and click Open Project . Run the project in NetBeans: Select Run Run Main Project... (or F6 ). Click Select Main Class . | |
Getting Started with JPA - IntelliJ Project IntelliJ IDEA: Select File Open Project... . Select the points-console directory and click Open Project . Run the project in IntelliJ IDEA: Select Run Run Main Project... (or F6 ). Click Select Main Class . | |
Java EE 6 JPA Tutorial - Eclipse Project Eclipse: Select File Import... Maven Existing Maven Projects and click Next . Select the guestbook-jee6 directory as Root Directory and press ENTER . Select the project and click Finish . Run the project in Eclipse: Right click the project node and select Run As Run | |
Spring MVC JPA Tutorial - Eclipse Project the project zip file: Spring MVC JPA - Maven Project (8KB) Open the Maven project in Eclipse: Select File Import... Maven Existing Maven Projects and click Next . Select the guestbook-spring directory as Root Directory and press ENTER . Select the project and click Finish | |
JPA Web App Tutorial - Eclipse Project and extract the project zip file: JPA Web App - Maven Project (6KB) Open the Maven project in Eclipse: Select File Import... Maven Existing Maven Projects and click Next . Select the guestbook-web directory as Root Directory and press ENTER . Select the project and click Finish | |
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 ... ] window and select Add Jar/Folder... Select the objectdb.jar file from the bin subdirectory | |
Java EE 6 JPA Tutorial - NetBeans Project project in NetBeans: Select File Open Project... . Select the guestbook-jee6 directory and click Open Project . Run the project: Select Run Run Main Project... (or F6 | |
Spring MVC JPA Tutorial - NetBeans Project: Select File Open Project... . Select the guestbook-spring directory and click Open Project . Run the project: Select Run Run Main Project... (or F6 ). Choose or define | |
JPA Web App Tutorial - NetBeans Project: Select File Open Project... . Select the guestbook-web directory and click Open Project . Run the project: Select Run Run Main Project... (or F6 ). Choose or define the server and click | |
Step 4: Create an ObjectDB Data Set and selecting New Data Set . Select the data source that was created in the previous step (e.g. ObjectDB ... value in a specified range: SELECT p.x as x, p.y as y FROM Point p WHERE p.x BETWEEN :low AND :high Use | |
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 a Chart from the [Palette] window and dropping it on the report design (.rptdesign) layout. In the [ Select Chart Type] tab select Tube as the chart type and click Next . In the [ Select Data | |
Step 1: Create a Java Project Project] dialog box: Select Java Project and click Next . Choose a Project Name (e.g. Tutorial ) and click Next . In the Libraries tab, click Add External JARs... and select the objectdb.jar file from | |
Step 1: Create a Web Project We start by creating a new Eclipse Dynamic Web Project: Open the [New Project] dialog box, e.g. by using File New Project... Select Web Dynamic Web Project and click Next . Choose a Project Name (e.g. Guestbook ). Select Apache Tomcat v6.0 as the Target runtime. Note: You may have to add Tomcat 6 | |
Step 3: Add a Context Listener Class File] dialog box by right clicking the guest package node (in the [Projects] window) and selecting New Other... Select Web Web Application Listener and click Next . Enter GuestListener as the class name | |
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 ... .getTransaction().commit(); } // Display the list of guests: List guestList = em.createQuery( " SELECT g FROM | |
[ODB1] Chapter 5 - JDO Connections server connection to enable user identification and permission checking. Username and password ... a JDOUserException (a subclass of JDOException ) to be thrown. A true value enables modifying | |
[ODB1] Chapter 2 - A Quick Tour file does not exist in that path, a new database file is created automatically. To enable updating | |
[ODB1] Chapter 1 - About ObjectDB with every ObjectDB product, is a sophisticated tool that enables browsing, querying, editing and the construction |