Internal Website Search
51-100 of 200 resultsHow to enable and disable auto schema update? Hello, Can I enable and disable the auto schema update? In some cases if multiple applications ... that you can use: To disable any schema upgrade: System.setProperty("objectdb.temp.no-schema-upgrade", "true")' To disable switching back to one of the previous versions (but allowing upgrade | |
Can I Disable the Creation of the "log" Directory? (attached to forum thread mentioned above), I disable logging (by setting log path="") but the "log ... be disabled ? CBE CBE This may indicate that ObjectDB doesn't use the objectdb.conf file in | |
How to disable Transparent Update. How to disable Transparent Update. I have done 2 task in a single transaction. 1. Find a entity by a em.find(Class cls,Object o) and change some fields.(not updating) 2. Persist a new entity. But i ... for your reference. Manoj Manoj Kumar Maharana You cannot disable transparent update. You can detach | |
Disable Evaluation possibility Hello, we are now using quite old version, so I am sorry, if something changed in the meanwhile we have not yet had time to test newer version. Is it possible somehow to disable Evaluation completely, for example via some argument for ObjectDB server, or you could create separate jar | |
disabling JDO in objectdb embedded mode classes. Currently there is no way to disable it but it has never caused problems till now | |
Option or strategy to disable/skip runtime enhancement checks (to improve load time)? are redundant. Q: Is there an option or strategy to disable /skip runtime enhancement checks (to improve | |
How to disable use of graphic windows by objectDB Helo folks, i created a shell script to start objectDB as a service in my linux machine, but the problem is when it starts, show some popup windows and try to create a notification icon in my gnome's process bar. How can i disable that feature? Regards, LottaLava LottaLava Edson Alves | |
Temporary disabling of indexes?, and can be rebuilt later? sjzlondon Steve Zara Disabling indexes requires removing the @Index | |
Problem with distinct select, order by and equivalent alias/attribute path; String q1 = " select distinct s_location "   ... ; q1 = " select distinct s.location "   ... ; String q2 = " select distinct s.location "   | |
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 | |
Multi selection and distinct in a criteria query hi, How can I realize multi selection with the criteria api concerning distinct? I.e. doing something like SELECT DISTINCT $1, $2 wouldn't work because I do only have something like criteria.multiselect(...) and nothing like builder.distinct( selection ) so that I could do something like criteria | |
Is there any faster select method? SELECT : TypedQuery query = em.createQuery( " SELECT p FROM Point p WHERE p ... ); ** the Point class is of the tutorial. I found the above select method is ten times slower ... . Is there any faster method of select ? TIA pikotenta pikotenta Entity objects can be retrieved by | |
Database Transaction Replayer ObjectDB can record its internal engine operations in special binary recording (journal) files. Recording is enabled by default and can be disabled in the configuration . The ObjectDB Replayer tool can apply recorded database operations on a matching database backup (if available). This ability | |
JPA Persistable Types on other platforms (e.g. .NET). Therefore, it is recommended to only use explicitly specified persistable types. S erialization is disabled by default . | |
Database Doctor - if the recovery file is disabled . Using the database file simultaneously by two instances | |
JPA Entity Fields the following query (where :d represents the Department entity): SELECT e FROM Employee e WHERE e ... of the following query: SELECT e FROM Employee e WHERE e.department = :d ORDER BY e.name The specified field ... from the inverse query results by specifying a selected key field using the MapKey annotation | |
Logical Operators in JPQL and Criteria API query retrieves countries whose population and area (both) exceed specified limits: SELECT c FROM ... The following query retrieves countries whose population or area exceeds a specified limit: SELECT c ... The following query retrieves all the countries whose population does not exceed a specified limit: SELECT | |
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 Queries;(e.g. " SELECT c FROM Country" ). Criteria Query API Building dynamic queries with a structure ... are organized in this reference into three groups. SELECT and ORDER BY elements (including tuples): FROM clause | |
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 | |
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 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 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 | |
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 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 | |
Step 7: Run the Spring Web App), selecting Run As Run on Server , selecting the Tomcat 6.0 server and clicking Finish ... Maven Jetty plugin: Right click the project node and select Run As Maven Build... Enter  | |
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 | |
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 | |
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 | |
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 | |
Step 6: Set the Spring XML editor (by right clicking and selecting Open With Text Editor or by double click ... that file: Right click the WEB-INF node in the [Package Explorer] window, select New Other... XML | |
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 ... of guests: List guestList = em.createQuery( " SELECT g FROM Guest g", Guest.class).getResultList | |
Step 3: Add a Context Listener Class] dialog box by right clicking the guest package node (in the [Package Explorer] window), selecting New ... as the class name - use exactly that case sensitive class name. Click Next and then Select | |
Step 6: Set the Spring XML clicking and selecting Edit or by double click and then moving to the XML tab in the editor window ... , select New Other... and then choose the XML category, XML Document and click Next . Enter spring | |
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 1: Create a Java EE 6 Web Project We start by creating a new Java EE dynamic web project in Eclipse: 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 GlassFish Server Open Source Edition 3 (Java EE 6) as the Target | |
Step 3: Define an EJB Session Bean node (in the [Projects] window), selecting New Other... Java EE (or Enterprise JavaBeans) Session ... getAllGuests() { TypedQuery query = em.createQuery( " SELECT g FROM Guest g ORDER BY g.id", Guest.class | |
Step 3: Define a Spring DAO Component clicking the guest package node (in the [Projects] window under Source Packages) and selecting New ... () { TypedQuery query = em.createQuery( " SELECT g FROM Guest g ORDER BY g.id", Guest.class); return | |
Step 3: Create an ObjectDB Data Source Connections to the database are represented in BIRT as data sources. To create an ObjectDB data source: Open the [New Data Source] dialog box by right clicking the Data Sources node in the [Data Explorer] window and selecting New Data Source . Select ObjectDB Data Source from the list | |
Step 6: Design a BIRT Report Table) layout. Set the column number to 2 , number of details to 1 , select the data set (e.g. Points by X ... in the [Navigator] window and selecting Report Run Report : | |
Step 3: Define a Spring DAO Component clicking the guest package node (in the [Package Explorer] window) and selecting New Class ... getAllGuests() { TypedQuery query = em.createQuery( " SELECT g FROM Guest g ORDER BY g.id", Guest.class); return | |
Step 2: Create a Project and a Report To use BIRT we need to create a BIRT Report project in Eclipse: Open the [New Project] dialog box, e.g. by using File New Project... Select Business Intelligence and Reporting Tools Report Project ... project: Right click the Reports node in the [Navigator] and select New Report . Enter the report | |
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 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 3: Define an EJB Session Bean node (in the [Package Explorer] window) and selecting New Class . The package name should be guest ... ); } // Retrieves all the guests: public List getAllGuests() { TypedQuery query = em.createQuery( " SELECT g FROM | |
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 database consistency, it is recommended that write caching be disabled - at least for the database | |
[ODB1] Chapter 7 - JDOQL Queries. When a more selective retrieval is needed, JDOQL (JDO Query Language) is used. JDOQL for JDO is like ... "this.verified" is a valid query filter. It selects all the objects with the true value in that field |