ObjectDB Database Search
1-50 of 186 resultsjakarta.persistence.Basic Jakarta Persistence (JPA) Annotation Type jakarta.persistence. Basic Implemented Interfaces ... to a single database column. The Basic annotation may be applied to a property or instance variable whose type ... [] , char[] or Character[] , a Java enum type, or any other serializable type. The use of the Basic | |
jakarta.persistence.metamodel.Attribute.PersistentAttributeType.BASIC Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel.Attribute.PersistentAttributeType BASIC Basic attribute Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.Type.PersistenceType.BASIC Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel.Type.PersistenceType BASIC Basic type Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Basic.fetch Jakarta Persistence (JPA) Method in jakarta.persistence. Basic FetchType fetch (Optional) Whether the value of the field or property should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the associated entity must be eagerly | |
jakarta.persistence.Basic.optional Jakarta Persistence (JPA) Method in jakarta.persistence. Basic boolean optional (Optional) Specifies whether the value of the field or property may be null. This is a hint and is disregarded for primitive types; it may be used in schema generation to infer that the mapped column is not null | |
Annotate a Map field with @ElementCollection or @Basic with @ElementCollection, in the other case with @ Basic . Is @ Basic also a valid annotation for a Map field? And when it is valid why @ Basic is faster at runtime. @Entity public class TestEntity { @ElementCollection private Map values = new HashMap (); @ Basic private Map values = new HashMap (); } best regards | |
Problem with @Basic(fetch = FetchType.LAZY) I have a class where two fields are annotated with @ Basic (fetch = FetchType.LAZY ... the problem: import javax.persistence.*; @Entity public class Sample { private String title; @ Basic (fetch = FetchType.LAZY) private String description; @ Basic (fetch = FetchType.LAZY) private String code | |
@Lob @Basic(fetch = FetchType.LAZY) is loaded when it's not needed Hello. I have a class Thing that contains OneToMany list of classes Photo. Photo contains @Lob @ Basic (fetch = FetchType.LAZY) private byte[] content; And after some queries with Thing ... ObjectDB always loads basic types eagerly. Consider replacing byte[] with a wrapper entity (e.g. Data | |
JPA Entity Fields of entity types. @ Basic : For any other persistable type. In JPA , only @ Basic is optional ... EntityWithFieldSettings { @ Basic ( optional =false) Integer field1; @OneToOne ( cascade = CascadeType | |
JPA ORM Mapping Annotations of collections of basic or embeddable types. Specifies the type of the map key for associations of type ... of a map with basic keys. Specifies a mapping to an entity that is a map key. A container ... superclasses or embeddables: Used to override the mapping of a Basic (field) property or id | |
Chapter 1 - Quick Tour This chapter demonstrates basic ObjectDB and JPA concepts by introducing a simple example program. After reading this chapter, you will be able to write basic programs that create, open, and close ObjectDB databases and perform basic CRUD (Create, Retrieve, Update, and Delete) operations | |
JPA Metamodel Attributes to the persistence provider. An enumeration defining the categorization of the attribute: BASIC , EMBEDDED , MANY ... are represented by: Represents single-valued attributes. This includes basic types (primitives | |
JPA Metamodel Types Java type known to the persistence provider. Represents basic foundation types (primitives, wrappers ... defining the high-level classification of a type: BASIC , ENTITY , EMBEDDABLE , or MAPPED_SUPERCLASS | |
JPA Attributes Annotations using the following annotations: Sets a field or property of a basic attribute (e.g., primitives | |
What's next? This chapter introduced the basic principles of JPA with ObjectDB. For more details, see the other chapters in this manual. To start using ObjectDB immediately, follow one of the tutorials below to create and run the example program from this chapter: These tutorials explain how to run the example | |
Chapter 3 - Using JPA This chapter explains how to manage ObjectDB databases by using Jakarta Persistence (JPA). The first two pages introduce basic JPA interfaces and concepts: The next section explains how to use JPA for database CRUD (create, read, update, and delete) operations: The final section discusses advanced topics, such as locking and events: | |
ObjectDB 2.9 Developer's Guide Welcome to ObjectDB for Java/JPA Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JPA (Java Persistence API). The main purpose of this guide is to make you productive with ObjectDB and JPA in a short time. Guide Structure Demonstrates basic database | |
JPA Metamodel API: Class cls = type. getJavaType (); // Get one of BASIC , EMBEDDABLE, ENTITY, MAPPED_SUPERCLASS | |
Paths and Types in JPQL and Criteria API variables . FROM variable expressions are considered basic paths and serve as a starting point | |
jakarta.persistence.Convert to a basic type , enabling a converter defined autoApply=false , overriding the use of a converter ... of an embedded type or inherited mapped superclass. It is not necessary to use the Basic annotation (or corresponding XML element) to specify the converted basic type. Nor is it usually necessary to explicitly | |
jakarta.persistence.Lob 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 ... it defaults to CLOB ; for all other types it defaults to BLOB . Example 1: @Lob @ Basic (fetch = LAZY | |
jakarta.persistence.criteria.Join , Expression , Selection , TupleElement A join to an entity, embeddable, or basic type. Since: Jakarta ... to Integer , Long , Float , and Double . Support for typecasts between other basic types is not required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression | |
jakarta.persistence.AttributeConverter: - a basic type representing the type of the database column - the target type, that is, the type ... as the type of a persistent field or property, and a basic type used as an intermediate step in mapping to the database representation. A converted field or property is considered Basic | |
jakarta.persistence.CollectionTable of basic or embeddable types. Applied to the collection-valued field or property. By default, the columns of the collection table that correspond to the embeddable class or basic type are derived from the attributes of the embeddable class or from the basic type according to the default values | |
jakarta.persistence.criteria.PluralJoin , and Double . Support for typecasts between other basic types is not required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression of the given basic type. Since: Jakarta ... : IllegalStateException - if invoked on a path that corresponds to a basic type. IllegalArgumentException | |
jakarta.persistence.criteria.Path , and String expressions to Integer , Long , Float , and Double . Support for typecasts between other basic types is not required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo | |
jakarta.persistence.criteria.MapJoin to Integer , Long , Float , and Double . Support for typecasts between other basic types is not required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Expression entry () Create an expression | |
jakarta.persistence.criteria.Root expressions to Integer , Long , Float , and Double . Support for typecasts between other basic types is not required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value | |
jakarta.persistence.criteria.SetJoin . Support for typecasts between other basic types is not required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression of the given basic type. Since: Jakarta ... : IllegalStateException - if invoked on a path that corresponds to a basic type. IllegalArgumentException | |
jakarta.persistence.criteria.CollectionJoin , Long , Float , and Double . Support for typecasts between other basic types is not required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression of the given basic ... attribute. Throws: IllegalStateException - if invoked on a path that corresponds to a basic type | |
jakarta.persistence.criteria.ListJoin , and Double . Support for typecasts between other basic types is not required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression of the given basic type. Since: Jakarta ... : IllegalStateException - if invoked on a path that corresponds to a basic type. IllegalArgumentException | |
jakarta.persistence.criteria.From for typecasts between other basic types is not required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression of the given basic type. Since: Jakarta Persistence (JPA ... - if invoked on a path that corresponds to a basic type. IllegalArgumentException - if attribute | |
jakarta.persistence.criteria.Predicate between other basic types is not required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Predicate | |
jakarta.persistence.criteria.ParameterExpression expressions to Integer , Long , Float , and Double . Support for typecasts between other basic types is not required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value | |
jakarta.persistence.criteria.Subquery to Integer , Long , Float , and Double . Support for typecasts between other basic types is not required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Root correlate ( Root parentRoot ) Create | |
jakarta.persistence.criteria.CriteriaBuilder.Case . Support for typecasts between other basic types is not required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression of the given basic type. Since: Jakarta | |
jakarta.persistence.criteria.CriteriaBuilder.In , Long , Float , and Double . Support for typecasts between other basic types is not required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression of the given basic | |
jakarta.persistence.criteria.CriteriaBuilder.Coalesce . Support for typecasts between other basic types is not required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression of the given basic type. Since: Jakarta | |
jakarta.persistence.criteria.Expression , Float , and Double . Support for typecasts between other basic types is not required. Parameters: type - a basic type Returns: a scalar expression of the given basic type. Since: Jakarta Persistence | |
JPA Tutorials Tutorial Only basic Java experience is required in order to follow this tutorial. Web Application ... these tutorials requires some familiarity with basic concepts and principles of web applications in | |
Eclipse/JPA Spring MVC Web Tutorial a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. The visitors | |
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 | |
Report Generation with BIRT and JPA This tutorial demonstrates how to create reports based on data in an ObjectDB database using the popular open source Business Intelligence and Reporting Tools (BIRT). In order to keep things as simple as possible - we will use the basic points.odb ObjectDB database file from the Getting | |
NetBeans/JPA Web Application Tutorial application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple | |
Java EE Web Tutorial) see the JPA Web App Tutorial . The demo web application manages a basic guestbook page. Every visitor | |
NetBeans/JPA Spring MVC Web Tutorial manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form | |
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 GlassFish, ObjectDB and JPA. The demo web application manages a basic guestbook page. Every visitor | |
Eclipse/JPA Web Application Tutorial This is the Eclipse version of the JPA Web App tutorial. It demonstrates how to create and run a database driven Java web application in Eclipse - using Tomcat 6, ObjectDB and JPA. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by | |
JPA Web Application Tutorial This tutorial demonstrates how to create and run a database driven Java web application using Tomcat 6, ObjectDB and JPA. The demo web application manages a basic guestbook page. Every visitor can sign the guestbook by filling a simple form. The visitors that have already signed are listed | |
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 NetBeans - using GlassFish, ObjectDB and JPA. The demo web application manages a basic guestbook page |