ObjectDB Database Search
1-50 of 200 resultsProgramatic configuration or configuration file loaded from classpath or file classloader? If one or both are possible, could you please give some examples? Thanks a lot! itsme Martin | |
zip file or JAR manifest missing I found the message: Error opening zip file or JAR manifest missing: /E:/projects/ObjectDB/bin/objectdb.jar Some of projects can read the DB, but others can not read or write the DB. Exception in ... more Error opening zip file or JAR manifest missing: /E:/projects/ObjectDB/bin/objectdb.jar | |
To open source, or not to open sourceTo open source, or not to open source | |
Apache License, Version 2.0, January 2004 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright ... and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause | |
JPA Entity Fields either the Java transient modifier (which also affects serialization) or the JPA @Transient ... its methods or code. This state is reflected by its persistent fields, including fields inherited from superclasses. When an entity is stored in the database, each persistent field must contain either null or | |
jakarta.persistence.EntityManager identity that is not ( or no longer) associated with any active persistence context. A removed ... to perform operations that affect the state of the persistence context, or that modify the lifecycle state ... instance by mutating the entity directly, or it may request that the state of a detached instance | |
JPA Lifecycle Events and take no arguments. They can have any name and any access level ( public , protected , package , or ... ). @PostPersist : Invoked after a new entity is stored in the database (during a commit or flush operation ... is updated in the database (during a commit or flush operation). @PreRemove : Invoked when an entity | |
Database Management Settings. Moving or copying a database file that was not closed properly without its recovery file might corrupt the database. The element specifies the recovery file settings: The enabled attribute ( "true" or "false" ) specifies whether a recovery file is used. The sync attribute ( "true" or "false | |
Setting and Tuning of JPA Queries . To take effect, you must invoke these methods before running a query with getResultList or ... and on commit or flush . COMMIT - Flushes changes only on an explicit commit or flush . In most JPA ... that EntityManager , or at the individual query level, which overrides the EntityManager setting | |
Storing JPA Entities calling the persist method or implicitly through a cascade operation. Explicit persist The following ... the EntityManager , or by commit . Referenced embedded objects The following code stores an Employee instance ... fields is also stored. You can do this either by explicitly persisting every reachable object or by | |
JPA Criteria Query Expressions, representing any typed value, calculation, or path within the query. Extends Selection   ... WHERE and HAVING clauses. An enum defining the logical operators ( AND , OR ) used to combine multiple predicates. A navigation path to an attribute value or a referenced entity. A type-safe representation | |
Compare two schemas or odb filesCompare two schemas or odb files | |
SELECT clause (JPQL / Criteria API) (for example, an entity class) or a lightweight "transfer" class that is used only for collecting ... "). get ("name")); is equivalent to using select with one of the factory methods ( array , tuple , or ... type (as set when CriteriaQuery is instantiated): If the expected result type is Object or Object | |
JPA Named Queries Annotations). It is defined on an entity or mapped superclass and assigned a unique name for retrieval ... , cache usage, or fetch graphs. For details and examples, see the JPA Named Queries section of the ObjectDB Manual. Query references Access named queries in the application by name or by using | |
jakarta.persistence.Convert: Annotation Target: Method, Field, Type Specifies how the values of a field or property are converted ... defined autoApply=true , or overriding the use of a converter specified by a field or property of an embedded type or inherited mapped superclass. It is not necessary to use the Basic annotation ( or | |
jakarta.persistence.EntityManagerFactory of EntityManager . A persistence unit defines the set of all classes that are related or grouped by ... may be defined by a persistence.xml file, or it may be defined at runtime via the PersistenceConfiguration API. Every persistence unit has a transaction type , either JTA , or RESOURCE_LOCAL . Resource | |
jakarta.persistence.Entity must: be a non- final top-level class or static inner class, have a public or protected constructor with no parameters, and have no final methods or persistent instance variables. An enum, record, or ... annotation, and may have one or more secondary tables, mapped using the SecondaryTable annotation | |
jakarta.persistence.JoinColumn: Annotation Target: Method, Field Specifies a column for joining an entity association or element ... . If the join is for a OneToOne or ManyToOne mapping using a foreign key mapping strategy, the foreign key column is in the table of the source entity or embeddable. If the join is for a unidirectional | |
jakarta.persistence.LockModeType , Comparable , Serializable Enumerates the kinds of optimistic or pessimistic lock ... as an argument to: one of the methods of EntityManager which obtains locks ( lock() , find() , or refresh() ), or to Query.setLockMode or TypedQuery.setLockMode . Optimistic locks are specified using | |
jakarta.persistence.Embeddable of multiple persistent fields or properties, across several entities, and so distinct instances ... must: be a non- abstract , non- final top-level class or static inner class, or a Java record type, have a public or protected constructor with no parameters, unless it is a record type, and have no final | |
jakarta.persistence.PersistenceUnitUtil or managed by entity managers for this persistence unit or on new entity instances. Since: Jakarta ... . PersistenceException - if the entity is not associated with an open persistence context or ... persistence context is an instance of the given entity class, or false otherwise. This method | |
jakarta.persistence.MapKeyColumn of the following: the name of the referencing relationship field or property; " _ "; " KEY ". Example: @Entity ... . If the map key is for a ManyToMany entity relationship or for a OneToMany entity relationship using a join ... relationship field or property; " _ "; " KEY ". Default: "" Since: Jakarta Persistence (JPA) 1.0 boolean | |
jakarta.persistence.EntityGraph ) Get an existing attribute node for the attribute with the given name, or add a new attribute node ... attribute node for the given attribute, or add a new attribute node if there is no existing node ... addAttributeNodes ( String... attributeName ) Add one or more attribute nodes to the entity graph | |
jakarta.persistence.Graph for the attribute with the given name, or add a new attribute node if there is no existing node ... addAttributeNode ( Attribute attribute ) Get an existing attribute node for the given attribute, or add a new ... Persistence (JPA) 3.2 void addAttributeNodes ( String... attributeName ) Add one or more attribute | |
jakarta.persistence.IdClass: Annotation Target: Type Specifies a composite primary key type whose fields or properties map to the identifier fields or properties of the annotated entity class. The specified primary key type must: be a non- abstract regular Java class, or a Java record type, have a public or protected constructor | |
jakarta.persistence.GenerationType for the particular database. For a primary key of type java.util.UUID or String , this is equivalent to UUID . For a primary key of type Long , Integer , long , or int , the provider selects between TABLE , SEQUENCE , and IDENTITY . The AUTO generation strategy may expect a database resource to exist, or | |
jakarta.persistence.Converter and must be annotated with the Converter annotation or declared as a converter in the object/relational ... of the Convert annotation ( or XML equivalent). The Convert annotation may be used to override or disable ... never applies to id attributes , version attributes , relationship attributes, or to attributes explicitly | |
jakarta.persistence.MapKeyJoinColumn key join column is in the collection table, join table, or table of the target entity that is used ... relationship or for a OneToMany entity relationship using a join table, the foreign key column is in a join ... of the referencing relationship property or field of the referencing entity or embeddable class | |
jakarta.persistence.ManyToOne the relationship field or property of the entity that is the owner of the relationship. A ManyToOne association usually maps a foreign key column or columns. This mapping may be specified using the JoinColumn ... to specify the relationship field or property of the embeddable field or property on the owning | |
jakarta.persistence.EmbeddedId: Annotation Target: Method, Field Specifies that the annotated persistent field or property of an entity class or mapped superclass is the composite primary key of the entity. The type of the annotated field or property must be an embeddable type, and must be explicitly annotated Embeddable | |
jakarta.persistence.Enumerated: Annotation Target: Method, Field Specifies that a persistent property or field should be persisted as an enumerated type. This annotation is optional if the type of a persistent field or property is a Java enum type. The Enumerated annotation may be used in conjunction with the Basic annotation, or | |
jakarta.persistence.FlushModeType within a transaction, if AUTO is set on the Query or TypedQuery object, or if the flush mode setting for the persistence context is AUTO (the default) and a flush mode setting has not been specified for the Query or ... this by flushing updates to those entities to the database or by some other means. On the other hand | |
jakarta.persistence.Lob: Annotation Target: Method, Field Specifies that the annotated persistent property or field ... conjunction with the Basic annotation or with the ElementCollection annotation when the element collection value is of basic type. A Lob may be either a binary or character type. The LOB type ( BLOB or CLOB | |
jakarta.persistence.ManyToMany has two sides, the owning side and the non-owning, or inverse, side. The join table is specified on the owning ... the relationship field or property of the owning side. The join table for the relationship, if not defaulted ... the mappedBy element of the ManyToMany annotation to specify the relationship field or property | |
jakarta.persistence.JoinTable", referencedColumnName = "ID")) This annotation may not be applied to a persistent field or property not annotated ManyToOne , OneToOne , ManyToMany , or OneToMany . See Also: JoinColumn JoinColumns Since: Jakarta ... (JPA) 1.0 ForeignKey foreignKey (Optional) Used to specify or control the generation of a foreign | |
jakarta.persistence.MapKey when the map key is itself the primary key or a persistent field or property of the entity that is the value of the map. If a persistent field or property other than the primary key is used as a map key ... ) 1.0 Annotation Elements String name (Optional) The name of the persistent field or property | |
jakarta.persistence.ElementCollection Interfaces: Annotation Target: Method, Field Declares a collection of instances of a basic type or ... Elements Class targetClass (Optional) The basic or embeddable class that is the element type of the collection. This element is optional only if the collection field or property is defined using Java | |
[ODB1] Chapter 6 - Persistent Objects content, or a transient object, i.e. not related to any database. Storing Objects Explicitly ... can become persistent, either by multiple calls to makePersistent( ... ) , or by passing a collection or array ... . The makePersistentAll( ... ) method stores all the elements in the specified collection or array in the database | |
jakarta.persistence.GeneratedValue. The GeneratedValue annotation may be applied to a primary key property or field of an entity or mapped ... ) The name of the primary key generator to use, as specified by the SequenceGenerator or TableGenerator | |
jakarta.persistence.MapKeyClass.util.Map . The map key can be a basic type, an embeddable class, or an entity. If the map is specified ... ; otherwise they must be specified. The MapKeyClass annotation is used in conjunction with ElementCollection or one of the collection-valued relationship annotations ( OneToMany or ManyToMany ). The MapKey | |
jakarta.persistence.MapKeyEnumerated is an enumerated type. The MapKeyEnumerated annotation can be applied to an element collection or relationship of type java.util.Map , in conjunction with the ElementCollection , OneToMany , or ManyToMany annotation. If the enumerated type is not specified or the MapKeyEnumerated annotation is not used | |
jakarta.persistence.MapKeyTemporal. The MapKeyTemporal annotation can be applied to an element collection or relationship of type java.util.Map in conjunction with the ElementCollection , OneToMany , or ManyToMany annotation. Example ... TemporalType value (Required) The type used in mapping java.util.Date or java.util.Calendar | |
jakarta.persistence.MapsId: Annotation Target: Method, Field Designates a ManyToOne or OneToOne relationship attribute that provides the mapping for an EmbeddedId primary key, an attribute within an EmbeddedId primary key, or ... or OneToOne relationship declared by a dependent entity is annotated MapsId , an instance | |
Eclipse/JPA Spring MVC Web Tutorial Eclipse - using ObjectDB, JPA, Tomcat ( or GlassFish) and Maven. The demo web application manages ... software: Java JDK 6.0 ( or above). Eclipse IDE for Java EE Developers. m2eclipse (Maven plugin | |
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 | |
ObjectDB 1.0 Manual (SQL, JDBC or JDO) is not required in order to follow this guide, but a strong background ... you may want to extend your knowledge of JDO by reading the JDO specification or a book on JDO. Feedback We would appreciate any comment or suggestion regarding this manual. Please send your comments or questions to support@objectdb.com . | |
Step 2: Entity Class and Persistence Unit node (in the [Project Explorer] window) and selecting New Folder ( or New Other... General | |
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 | |
Spring MVC JPA Tutorial - IntelliJ Project IDEA: Select the new run configuration at the toolbar and click the green run icon ( or Shift | |
Step 6: Set the Spring XML editor (by right clicking and selecting Open With Text Editor or by double click |