ObjectDB Database Search
1-50 of 200 resultsHow to Use a SF with extended Persistence Context?(InterceptorContext. java :288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.as. ee ... . java :288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.as. ee .component.TCCLInterceptor.processInvocation(TCCLInterceptor. java :45) [jboss-as- ee -7.1.1.Final.jar:7.1.1.Final] at org.jboss | |
RT Java application recording into 100DB run OOM after a few hours. Hi, I am running a java application that records data from 100 feeds into 100 different database ... (I checked there is no leak in java - I cleared the entity manager every 10 new entity) - I run ... .objectdb.o.JPE.g(JPE. java :89) com.objectdb.o.ERR.f(ERR. java :60) com.objectdb.o.OBC.onObjectDBError(OBC | |
Java 8 Enhancer Problem Hello! I am currently migrating my project to Java 8. I'm using Spring and AspectJ load time ... non @Entity or already enhanced classes but in conjunction with new Java 8 class files it throws ... at com.objectdb.o.InternalException.f(InternalException. java :236) at com.objectdb.o.JCP.p(JCP. java :195 | |
Error when trying to open the Explorer (failed to find Java VM) get this windows error: "Failed to find Java VM". What is the problem? dreckguy Ophir Haramaty Have you tried both explorer.exe and explorer-b.exe ? Can you write it from the console : java -jar explorer.jar ... \bin\ [err] Failed to find Java VM. and the windows startup error is shown By trying explorer-b | |
java.sql.Time field off by 30 minutes Hihi, I'm wondering if this is a bug. I have a simple entity with java .sql.Time field. On writing ... it is related to your specific system or Java configuration (possibly combined with ObjectDB). Can you provide ... (and with some fixes and adjustments to the posting instructions ): import java .util.*; import javax | |
Unexpected output "*** PatternParameterImpl" in the java console We have an unexpected output "*** PatternParameterImpl" in our java console. Do you know why? Caused by: PrintStream.write(String) line: 603 PrintStream.print(String) line: 745 PrintStream.println(String) line: 882 ThreadPrintStream.println(String) line: 179 TYS.k() line: 199 TYM.Z(boolean | |
jakarta.persistence.EntityManagerFactory("orderMgt"); Alternatively, in the Jakarta EE environment, a container-managed EntityManagerFactory ... EntityManager s. Alternatively, in the Jakarta EE environment, a container-managed EntityManager ... terminates, the application should close the entity manager factory. If necessary, a java .lang.ref | |
jakarta.persistence.EntityManager - { // do work in a persistence context ... }); In the Jakarta EE environment, a container-managed ... some other native connection type, and is not required to support java .sql.Connection ... until the transaction completes. Overrides AutoCloseable. java .lang.AutoCloseable/close() Throws | |
Eclipse/JPA Spring MVC Web Tutorial software: Java JDK 6.0 (or above). Eclipse IDE for Java EE Developers. m2eclipse (Maven plugin ... 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 | |
jakarta.persistence.EntityNotFoundException Jakarta Persistence (JPA) Class jakarta.persistence.EntityNotFoundException java .lang.Object ∟ java .lang.Throwable ∟ java .lang.Exception ∟ java .lang.RuntimeException ∟ jakarta.persistence ... ) EntityManager.refresh(Object, java .util.Map) EntityManager.refresh(Object, LockModeType, java .util.Map | |
jakarta.persistence.PessimisticLockException Jakarta Persistence (JPA) Class jakarta.persistence.PessimisticLockException java .lang.Object ∟ java .lang.Throwable ∟ java .lang.Exception ∟ java .lang.RuntimeException ∟ jakarta.persistence ... .. Since: Jakarta Persistence (JPA) 1.0 Additional JDK methods inherited from java .lang.Throwable java .lang | |
jakarta.persistence.LockTimeoutException Jakarta Persistence (JPA) Class jakarta.persistence.LockTimeoutException java .lang.Object ∟ java .lang.Throwable ∟ java .lang.Exception ∟ java .lang.RuntimeException ∟ jakarta.persistence ... . Since: Jakarta Persistence (JPA) 1.0 Additional JDK methods inherited from java .lang.Throwable java | |
jakarta.persistence.EntityExistsException Jakarta Persistence (JPA) Class jakarta.persistence.EntityExistsException java .lang.Object ∟ java .lang.Throwable ∟ java .lang.Exception ∟ java .lang.RuntimeException ∟ jakarta.persistence ... inherited from java .lang.Throwable java .lang.Throwable/addSuppressed(Throwable), java .lang.Throwable | |
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 | |
jakarta.persistence.GenerationType Jakarta Persistence (JPA) Enum jakarta.persistence.GenerationType java .lang.Object ∟ java .lang ... for the particular database. For a primary key of type java .util.UUID or String , this is equivalent to UUID ... . May be used to generate primary keys of type java .util.UUID or String . Since: Jakarta Persistence | |
jakarta.persistence.EnumType Jakarta Persistence (JPA) Enum jakarta.persistence.EnumType java .lang.Object ∟ java .lang.Enum ... how a persistent property or field whose type is a Java enum type should be persisted. See Also: Enumerated ... (String) Additional JDK methods inherited from java .lang.Enum java .lang.Enum/clone(), java .lang.Enum | |
jakarta.persistence.PersistenceUnitTransactionType Jakarta Persistence (JPA) Enum jakarta.persistence.PersistenceUnitTransactionType java .lang.Object ∟ java .lang.Enum ∟ jakarta.persistence.PersistenceUnitTransactionType Implemented Interfaces ... (), valueOf(String) Additional JDK methods inherited from java .lang.Enum java .lang.Enum/clone(), java .lang | |
jakarta.persistence.FlushModeType Jakarta Persistence (JPA) Enum jakarta.persistence.FlushModeType java .lang.Object ∟ java .lang.Enum ... ) Additional JDK methods inherited from java .lang.Enum java .lang.Enum/clone(), java .lang.Enum/compareTo(E), java .lang.Enum/describeConstable(), java .lang.Enum/equals(Object), java .lang.Enum/finalize | |
jakarta.persistence.LockModeType Jakarta Persistence (JPA) Enum jakarta.persistence.LockModeType java .lang.Object ∟ java .lang.Enum ... from java .lang.Enum java .lang.Enum/clone(), java .lang.Enum/compareTo(E), java .lang.Enum/describeConstable(), java .lang.Enum/equals(Object), java .lang.Enum/finalize(), java .lang.Enum/getDeclaringClass | |
jakarta.persistence.InheritanceType Jakarta Persistence (JPA) Enum jakarta.persistence.InheritanceType java .lang.Object ∟ java .lang ... (), valueOf(String) Additional JDK methods inherited from java .lang.Enum java .lang.Enum/clone(), java .lang.Enum/compareTo(E), java .lang.Enum/describeConstable(), java .lang.Enum/equals(Object), java .lang | |
jakarta.persistence.ConstraintMode Jakarta Persistence (JPA) Enum jakarta.persistence.ConstraintMode java .lang.Object ∟ java .lang ... (String) Additional JDK methods inherited from java .lang.Enum java .lang.Enum/clone(), java .lang.Enum/compareTo(E), java .lang.Enum/describeConstable(), java .lang.Enum/equals(Object), java .lang.Enum | |
jakarta.persistence.DiscriminatorType Jakarta Persistence (JPA) Enum jakarta.persistence.DiscriminatorType java .lang.Object ∟ java .lang ... java .lang.Enum java .lang.Enum/clone(), java .lang.Enum/compareTo(E), java .lang.Enum/describeConstable(), java .lang.Enum/equals(Object), java .lang.Enum/finalize(), java .lang.Enum/getDeclaringClass | |
jakarta.persistence.FetchType Jakarta Persistence (JPA) Enum jakarta.persistence.FetchType java .lang.Object ∟ java .lang.Enum ... JDK methods inherited from java .lang.Enum java .lang.Enum/clone(), java .lang.Enum/compareTo(E), java .lang.Enum/describeConstable(), java .lang.Enum/equals(Object), java .lang.Enum/finalize(), java .lang | |
Database Transaction Replayer is bundled in the objectdb.jar file. You can run it from the command line: $ java -cp objectdb.jar com ... . You can also run the Replayer up to a specified transaction. For example: $ java -cp objectdb.jar com | |
Database Management Settings. Activation codes are generated by running the Activator utility from the command line: $ java -cp objectdb | |
SELECT clause (JPQL / Criteria API) performance and can sometimes reduce the amount of Java code needed. Note that query results | |
Storing JPA Entities. getTransaction (). commit (); The Employee instance is constructed as an ordinary Java object | |
jakarta.persistence.Id to which the Id annotation is applied should have one of the following types: any Java primitive type; any primitive wrapper type; String ; java .util.UUID ; java .util.Date ; java .sql.Date ; java .math.BigDecimal ; java .math.BigInteger . The mapped column for the primary key of the entity is assumed | |
jakarta.persistence.MapKeyTemporal of type java .util.Date and java .util.Calendar . It may only be specified for map keys of these types. The MapKeyTemporal annotation can be applied to an element collection or relationship of type java .util ... the date/time types defined in java .time . Since: Jakarta Persistence (JPA) 2.0 Annotation Elements | |
jakarta.persistence.Embeddable must: be a non- abstract , non- final top-level class or static inner class, or a Java record type ... . The Transient annotation or the Java transient keyword must be used to explicitly declare any field ... EmploymentPeriod { @Temporal(DATE) java .util.Date startDate; @Temporal(DATE) java .util.Date endDate | |
jakarta.persistence.IdClass must: be a non- abstract regular Java class, or a Java record type, have a public or protected constructor ... from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang.annotation.Annotation/hashCode(), java .lang.annotation.Annotation/toString() | |
jakarta.persistence.MapKeyClass: Annotation Target: Method, Field Specifies the type of the map key for associations of type java ... using Java generics, the MapKeyClass annotation and associated type need not be specified ... . Since: Jakarta Persistence (JPA) 1.0 Additional JDK methods inherited from java .lang.annotation.Annotation | |
jakarta.persistence.ManyToMany of the association. Optional only if the collection-valued relationship property is defined using Java ... collection is a java .util.Map , the cascade element applies to the map value. Defaults to no operations ... (JPA) 1.0 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation | |
jakarta.persistence.Convert may be applied to: a basic attribute, or a collection attribute of any type other than java .util.Map , in ... collection attribute, that is, a collection attribute of type java .util.Map , in which case ... java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang | |
jakarta.persistence.MapKeyEnumerated relationship of type java .util.Map , in conjunction with the ElementCollection , OneToMany , or ManyToMany ... methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang.annotation.Annotation/hashCode(), java .lang.annotation.Annotation/toString() | |
jakarta.persistence.MapKey: Annotation Target: Method, Field Specifies the map key for associations of type java .util.Map ... : "" Since: Jakarta Persistence (JPA) 1.0 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals | |
jakarta.persistence.MapsId Java type as the primary key of the entity referenced by the relationship, the value attribute is not ... . Default: "" Since: Jakarta Persistence (JPA) 1.0 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation | |
jakarta.persistence.ColumnResult (JPA) 1.0 Class type (Optional) The Java type to which the column type is to be mapped. If the type ... Since: Jakarta Persistence (JPA) 2.1 Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object | |
jakarta.persistence.Entity are persistent by default. The Transient annotation or the Java transient keyword must be used to explicitly ... Additional JDK methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang.annotation.Annotation/hashCode(), java .lang.annotation.Annotation/toString() | |
jakarta.persistence.ElementCollection of the collection. This element is optional only if the collection field or property is defined using Java ... inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang.annotation.Annotation/hashCode(), java .lang.annotation.Annotation/toString() | |
jakarta.persistence.Enumerated is a Java enum type. The Enumerated annotation may be used in conjunction with the Basic annotation, or ... methods inherited from java .lang.annotation.Annotation java .lang.annotation.Annotation/annotationType(), java .lang.annotation.Annotation/equals(Object), java .lang.annotation.Annotation/hashCode(), java .lang.annotation.Annotation/toString() | |
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 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 | |
JPA Web App Tutorial - Maven Project The JPA Web Application tutorial provides step by step instructions on how to build a simple Java /JPA database driven web application (for Tomcat / Jetty) in Eclipse or NetBeans ... and install ObjectDB or a Java web server - Maven will download the ObjectDB jar and the Jetty | |
Step 2: Define a JPA Entity Class; import java .io.Serializable; import javax.persistence.*; @Entity public class Point implements ... (and its annotations) - the Point class is an ordinary Java class. The next step is adding to the project | |
[ODB1] Chapter 6 - Persistent Objects. Therefore, a JDO portable application should manage Object IDs using java .lang.Object references. You can assume ... one: Extent extent = pm.getExtent(Person.class, false); java .util.Iterator itr = extent.iterator ... over any ordinary Java collection using an Iterator instance. Each call to next() retrieves | |
Spring MVC and JPA Tutorial This tutorial demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application using Tomcat (or GlassFish), JPA, ObjectDB and Maven. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. All visitors | |
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) and selecting New Class . The package name should be guest . Enter GuestController as | |
ObjectDB 1.0 Manual Welcome to the ObjectDB for Java /JDO Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JDO ( Java Data Objects), the revolutionary database programming ... and understanding of the Java language is essential. Further Reading and Resources This guide focuses mainly |