ObjectDB Database Search
1-50 of 181 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. Basic - for any other persistable type. In JPA only Basic is optional while the other annotations ... { @ Basic ( optional =false) Integer field1; @OneToOne ( cascade = CascadeType . ALL ) MyEntity field2 | |
Chapter 1 - Quick Tour This chapter demonstrates basic ObjectDB and JPA concepts by introducing a simple example program. After reading this chapter you should be able to write basic programs that create, open and close ObjectDB databases and perform basic CRUD operations (Create/Store, Retrieve, Update and Delete | |
What's next? This chapter introduced the basic principles of JPA using ObjectDB. You can go into details by reading the other chapters of this manual. If you prefer to get started with ObjectDB right away you can follow one of the following tutorials to create and run the example program that was described in | |
Chapter 3 - Using JPA This chapter explains how to manage ObjectDB databases using the Java Persistence API (JPA). The first two pages introduce basic JPA interfaces and concepts: The next section explains how to use JPA for database CRUD operations: More advanced topics (e.g. locking and events) are discussed in the last section: | |
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: // Get the underlying Java representation of the type: Class cls = type. getJavaType (); // Get one of BASIC | |
Paths and Types in JPQL and Criteria API are considered as basic paths and also serve as a starting point for building more complex paths | |
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 | |
jakarta.persistence.criteria.Path 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 ... - if invoked on a path that corresponds to a basic type. IllegalArgumentException - if attribute of the given | |
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 type. Since: Jakarta Persistence (JPA) 3.2 Predicate equalTo ( Expression value ) Create | |
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 ... : IllegalStateException - 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 | |
jakarta.persistence.criteria.CriteriaBuilder.SimpleCase , 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 | |
jakarta.persistence.ElementCollection Jakarta Persistence (JPA) Annotation Type jakarta.persistence.ElementCollection Implemented 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 | |
jakarta.persistence.FetchType: @ Basic (fetch = LAZY) protected String getName() { return name; } See Also: Basic ElementCollection | |
jakarta.persistence.Enumerated is a Java enum type. The Enumerated annotation may be used in conjunction with the Basic annotation, or ... () { ... } ... } See Also: EnumeratedValue Basic ElementCollection Since: Jakarta Persistence (JPA) 1.0 The JPA Persistable | |
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 |