ObjectDB Database Search
1-50 of 200 resultsObjectDB - JPA Object Database for Java solution. Using a relational database management system (RDBMS) to store and retrieve Java objects requires slow conversions between graphs of Java objects and flat database table rows. Object Relational ... productivity. ObjectDB is the most productive software for developing Java database applications | |
What is the Java Persistence API (JPA)? The Java Persistence API (JPA) is a standard API for accessing databases from within Java applications. The main advantage of JPA over JDBC (the older Java API for interacting with databases ... JDBC. Using plain old Java objects (POJO) to represent persistent data can significantly simplify | |
Can I use ObjectDB with languages other than Java? ObjectDB can be used by Java Virtual Machine (JVM) languages, such as Java , Kotlin, Groovy and Scala. It can also be used with other languages, such as Python, JavaScript, Ruby and PHP, but currently only with their JVM implementations (e.g. Jython for Python, GraalVM for JavaScript | |
JPA Persistable Types superclasses, and embeddable classes. Simple Java data types: Primitive types, wrapper classes, `String ... is an ordinary user-defined Java class whose instances can be stored in the database. The easiest way ... , an entity class is like any other Java class. It can extend another entity class or a non-entity | |
Step 1: Create a Java Project We start by creating a new Java project, using: File New Project... If you are using Eclipse IDE 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 | |
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 ... a Project Name (e.g. Guestbook ). Select GlassFish Server Open Source Edition 3 ( Java EE 6) as the Target ... to GlassFish 3 (which has to be downloaded separately) . Click the Finish button to create the Java EE 6 | |
Eclipse/JPA Java EE Tutorial This is the Eclipse version of the Java EE JPA tutorial. It demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application in Eclipse - using ... For this tutorial you will need the following software: Java JDK (6.0 or above). Eclipse IDE | |
NetBeans/JPA Java EE Tutorial This is the NetBeans version of the Java EE JPA tutorial. It demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application in ... . Required Software For this tutorial you will need the following software: Java JDK (6.0 or | |
Step 1: Create a Java EE Web Project We start by creating a new Java EE 6 Web Application project in NetBeans: Open the [New Project] dialog box, e.g. by using File New Project... Select Java Web Web Application and click Next . Choose ... ;and Java EE 6 Web and click Next . Click the Finish button to create the project (Frameworks are not | |
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  ... ;if you prefer, you may download and run the result application as a Maven project: Java EE JPA Web | |
Java EE Web Tutorial This tutorial demonstrates how to create and run a full Java EE 6 MVC (Model View Controller) web application using GlassFish, ObjectDB and JPA. Since this web application uses Java EE 6 EJB (session beans) it requires a full Java EE 6 application server, such as GlassFish 3.0.1 or JBoss AS 6 | |
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 | |
Java EE 6 JPA Tutorial - Eclipse Project To open and run the Java EE 6 Web Application tutorial project in Eclipse: Download and extract the project zip file: Java EE JPA Web App - Maven Project (7KB) Open the Maven project in Eclipse: Select File Import... Maven Existing Maven Projects and click Next . Select | |
Java EE 6 JPA Tutorial - NetBeans Project To open and run the Java EE 6 Web Application tutorial project in NetBeans: Download and extract the project zip file: Java EE JPA Web App - Maven Project (7KB) Open the Maven project in NetBeans: Select File Open Project... . Select the guestbook-jee6 directory | |
Java EE 6 JPA Tutorial - IntelliJ Project To open and run the Java EE 6 Web Application tutorial project in IntelliJ IDEA: Download and extract the project zip file: Java EE JPA Web App - Maven Project (7KB) Open the project in IntelliJ IDEA: Select File Open Project... . Select the guestbook-jee6 | |
JPA Class Enhancer. Command line enhancement The ObjectDB Enhancer is a Java console application included in the objectdb.jar file. You can run it from the command line as follows: $ java -cp objectdb.jar com.objectdb ... . Usage: java com.objectdb.Enhancer [ | | ] ... - name of a class (without .class suffix) in | |
Step 6: Run the Java EE 6 ApplicationShows how to run the Eclipse/JPA Java EE (J2EE) web application tutorial. | |
Step 6: Run the Java EE 6 ApplicationShows how to run the NetBeans/JPA Java EE (J2EE) web application tutorial. | |
ObjectDB Object Database Features Requirements Windows, Linux, Unix, Mac OS, and most other OS with Java support. Java 8 or higher Tested ... Database with built in support for JPA . Java Persistence API (JPA) Most features of JPA are supported. Support for remaining features is in progress - see issue tracking (requires login). Java Data | |
Literals in JPQL and Criteria Queries Literals in JPQL, as in Java , represent constant values. JPQL supports various types of literals ... , similar to null in Java and SQL. Because JPQL is case-insensitive, NULL , null , and Null are equivalent. Comparison with NULL in JPQL follows SQL rules for NULL comparison rather than Java rules, as | |
JPA Primary Key , long , float , and double . Equivalent wrapper classes from the java .lang package: Byte , Short , Character , Integer , Long , Float , and Double . java .math.BigInteger and java .math.BigDecimal . java .lang.String . java .util.Date , java .sql.Date , java .sql.Time , and java .sql.Timestamp , java .time | |
Database Server is bundled in the objectdb.jar file. Run it from the command line as follows: $ java -cp objectdb.jar com ... ] Copyright (c) 2025, ObjectDB Software, All rights reserved. Usage: java com.objectdb.Server [options ... : $ java com.objectdb.Server start The server configuration is loaded automatically, as explained in | |
Index Definition , long , float , double Equivalent wrapper classes from the java .lang package: Byte , Short , Character , Integer , Long , Float , Double java .math.BigInteger , java .math.BigDecimal java .lang.String java .util.Date , java .sql.Date , java .sql.Time , java .sql.Timestamp Any enum type A reference | |
What is the Java Data Objects (JDO)? The Java Data Objects (JDO) is another standard for accessing persistent data in databases, using plain old Java objects (POJO) to represent the object model. Unlike Java Persistence API (JPA ... , and it is probably the most popular Java API for object databases today. | |
JPA Attributes Annotations to perform optimistic locking checks. Enum mapping Configure how Java enumerated types are persisted and used ... and calendar types to specific SQL temporal formats (modern java .time types are mapped automatically): Specifies the database SQL type for a persistent field or property of type java .util.Date or java .util | |
JPA Criteria Query Date/Time Extraction (such as java .time.LocalDate , and java .sql.Date ), including YEAR , MONTH , DAY , DAY_OF_WEEK , and DAY_OF_YEAR . Defines the component types of Time values (such as java .time.LocalTime , and java .sql.Time ), including HOUR , MINUTE , and SECOND . Defines component types applicable | |
Strings in JPQL and Criteria Queries', 'a') is evaluated to 0 . Positions are one-based (as in SQL), not zero-based (as in Java ... zero-based (as in Java ). If you do not specify the optional length argument, the function returns the remainder of the string, starting from the specified position. Java string methods (ObjectDB | |
Logical Operators in JPQL and Criteria API the following table: Set 1: JPQL / SQL Set 2: Java / JDO AND && OR || NOT ! JPQL uses SQL notation, while Java uses its own notation, which is also used by the JDO Query Language (JDOQL). ObjectDB ... . As part of its JDO support, ObjectDB also supports the Java /JDO && operator as a synonym | |
What are the system requirements for using ObjectDB? ObjectDB requires Java 8 or later. As a pure Java application, ObjectDB should be able to run on any platform that supports the Java Standard Edition. Either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) can be used. A version of ObjectDB for .NET is currently under development. | |
Numbers in JPQL and Criteria Queries ( % ) and bitwise complement ( ~ ) operators, which are supported in Java and JDO. JPA follows Java ... , similar to the Java modulo operator ( % ). ObjectDB also supports the % operator as an extension ... is of that same type. If the operands have different types, Java numeric promotion rules apply. For example | |
Defining a JPA Entity Class class is a POJO (Plain Old Java Object), an ordinary Java class that is marked (annotated) to indicate ... class is an ordinary Java class. The only JPA-specific addition is the @Entity annotation ... to the NotSerializableException that Java throws when you try to serialize a non-serializable object. However, all JPA | |
JPA Metamodel API about managed classes, persistent fields, and properties, similar to how Java reflection provides this capability for general Java types. The Metamodel interface The main interface of the JPA Metamodel ... is a thin wrapper for Class and provides only two methods: // Get the underlying Java representation of the type | |
Comparison in JPQL and Criteria API/SQL Set 2: Java /JDO Less Than Less Than or Equal To = Equal To = == Not Equal To != The main ... . != ) operators. JPQL follows SQL notation, while Java uses its own notation, which is also used by JDOQL ... standard Java logic. For example, null == null evaluates to true . All other operators | |
JPA Metamodel Attributes: COLLECTION , SET , LIST , or MAP . Represents an attribute typed as a generic java .util.Collection . Represents an attribute typed as a java .util.Set , implying unique elements without a specific order. Represents an attribute typed as a java .util.List , supporting ordered collections and index-based | |
JPA Criteria FROM and JOIN to an association typed as a java .util.Collection . Represents a join to an association typed as a java .util.Set . Represents a join to an association typed as a java .util.List . It provides support for list indices. Represents a join to an association typed as a java .util.Map . It provides access | |
JPA Entity Fields. This behavior is similar to transient fields in Java , which don't participate in serialization. Static ... either the Java transient modifier (which also affects serialization) or the JPA @Transient ... declared type, including a generic java .lang.Object , as long as the actual runtime value | |
Date and Time in JPQL and Criteria Queries when the query is executed: CURRENT_DATE : Returns the current date as a java .sql.Date instance. CURRENT_TIME : Returns the current time as a java .sql.Time instance. CURRENT_TIMESTAMP : Returns the current timestamp (date and time) as a java .sql.Timestamp instance. Extracting date parts JPA does not define | |
JPA Query Structure (JPQL / Criteria) operates on Java classes and objects. For example, a JPQL query can retrieve entities, unlike SQL ... and easier to use in Java applications. JPQL Query Structure Like SQL, a JPQL SELECT query consists ... ). The exceptions, where JPQL is case-sensitive, include Java source elements such as the names of entity classes | |
JPA Tutorials Tutorial Only basic Java experience is required in order to follow this tutorial. Web Application ... Java , including Servlets, JSP and HTML. The first tutorial demonstrates a simple JPA web application ... WebLogic). The next tutorial shows how to use JPA in a full Model-View-Controller (MVC) Java EE 6 web | |
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 ... the database was created in the project (under Java Resources: src/main/ java guest). Use copy ... java .io.Serializable; import java .sql.Date; import javax.persistence.Entity; import javax.persistence | |
Step 2: Define a JPA Entity Class the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Projects] window) and selecting New Java Class ... Enter Guest as the class name - use exactly that case sensitive class name ... code: package guest; import java .io.Serializable; import java .sql.Date; import javax.persistence.Entity | |
Step 2: Entity Class and Persistence Unit the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window ... objects in the database was created in the project (under Java Resources: src guest). Use copy and paste to replace the new source file content with the following code: package guest; import java .io | |
Step 2: Define a JPA Entity Class the [New Java Class] dialog box, e.g. by right clicking the tutorial package node (in the [Projects] window) and selecting New Java Class ... Enter Point as the class name - use exactly that case sensitive ... and paste to fill the new source file with the following content: package tutorial; import java .io | |
Step 1: Install BIRT and ObjectDB Driver IDE for Java EE Developers. Update your existing Eclipse IDE for Java EE Developers environment by ... with no Java EE support is more complicated because of BIRT dependencies and is not covered here). To update an existing Eclipse IDE for Java EE Developers environment: Open the [Install] dialog box by | |
Step 3: Define an EJB Session Bean node (in the [Projects] window), selecting New Other... Java EE (or Enterprise JavaBeans) Session ... name. The Java package name should be guest. Click Finish to create the new session bean (EJB ... java .util.List; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax | |
Step 2: Define a JPA Entity Class the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window ... and paste to replace the new source file content with the following code: package guest; import java .io.Serializable; import java .sql.Date; import javax.persistence.Entity; import javax.persistence | |
Eclipse/JPA Spring MVC Web Tutorial This is the Eclipse version of the Spring MVC and JPA tutorial. It demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application in ... software: Java JDK 6.0 (or above). Eclipse IDE for Java EE Developers. m2eclipse (Maven plugin | |
Step 4: Add a Servlet Class New Other... Web Servlet and clicking Next . The Java package name should be guest ... : package guest; import java .io.IOException; import java .util.List; import javax.servlet.ServletException | |
Getting Started with JPA and Eclipse . For this tutorial, besides the Java JDK (8 or above) and the Eclipse IDE (either Eclipse IDE for Java EE Developers or Eclipse IDE for Java Developers), you only need to download and extract the ObjectDB | |
NetBeans/JPA Web Application Tutorial This is the NetBeans version of the JPA Web App tutorial. It demonstrates how to create and run a database driven Java web application in NetBeans - using Tomcat 6 Apache Tomcat ... the following software: Java JDK (6.0 or above). NetBeans - Java or All bundle The last version of ObjectDB |