Internal Website Search

1-50 of 194 results

Dependency from enhanced classes to the objectDB library

Hello, we have a Question to the dependency from enhanced classes (required for license ... layer should have no dependency down. The persistence Layers have a dependency to the business layer and to the central DataAccess Layer. The Central DataAccess Layer has a dependency on JPA

Eclipse - Maven - Dependencies not getting automatically reflected

XP. I am able to create a Maven project but when trying to add Dependencies (select pom.xml - Dependencies - Add) artifactId's "Enter groupId, artifactId or sha1 prefix or pattern" which are inputted ... add Dependencies option? Thanks in advance destiny.sandeep Sandeep Is this question related

Standalone server needs dependencies?

Standalone server needs dependencies?

SELECT clause (JPQL / Criteria API)

duplicate results. Filtering duplicate results might have some effect on performance, depending on the size ... above. The behavior of the multiselect  method depends on the query result type (as set

Deleting JPA Entity Objects

instance is automatically removed. This is useful for cleaning up dependent objects (e.g. Address ... should only be enabled for fields that hold private non shared dependent objects. Orphan removal can also be set

Running JPA Queries

our expectation for a single object result might fail, depending on the database content. For example ... (); However, the correctness of this assumption depends on the content of the database. If the database

Database Explorer

, which is located in the bin directory of ObjectDB. It depends on the objectdb.jar file. You can run ... . The functionality of the Edit  Delete command depends on the context. Deleting a reference field sets

JPA Queries

that is known only at runtime (e.g. depending on which fields are filled by a user in a form

Posting Sample Code

/ embeddable classes. Avoid dependency on external libraries . Use a console application with a main

ObjectDB Object Database Features

. Single runtime JAR (including JPA/JDO) - no external dependencies . Simple (codeless) configuration

ORDER BY clause (JPQL / Criteria API)

dependent . Query results can also be ordered by multiple order expressions. In this case, the first

ObjectDB Overview

-Server mode and Embedded mode. Single JAR with no external dependencies . Database is stored as

javax.jdo.annotations.Persistent.dependent

JDO Annotation Attribute in javax.jdo.annotations.Persistent String dependent default "" Whether related object(s) of this member are dependent and so deleted when this object is deleted. Since: JDO 2.1

javax.jdo.annotations.Key.dependent

JDO Annotation Attribute in javax.jdo.annotations.Key String dependent default "" Whether the key is dependent on the owner (and will be deleted when the owner is deleted). Since: JDO 2.1

javax.jdo.annotations.Value.dependent

JDO Annotation Attribute in javax.jdo.annotations.Value String dependent default "" Whether the value is dependent on the owner (and will be deleted when the owner is deleted). Since: JDO 2.1

javax.jdo.annotations.Element.dependent

JDO Annotation Attribute in javax.jdo.annotations.Element String dependent default "" Whether the element is dependent on the owner, and will be deleted when the owner is deleted. Since: JDO 2.1

Step 1: Create a Maven Web Project

dependency on the Spring MVC Framework and ObjectDB and to automatically download all the required JAR

Step 1: Create a Maven Web Project

under Project Files in the [Project] window: To add dependency on the Spring MVC Framework and ObjectDB

Getting Started with JPA and Eclipse

distribution zip file. The distribution zip contains everything necessary (no external dependencies

Step 1: Install BIRT and ObjectDB Driver

with no Java EE support is more complicated because of BIRT dependencies and is not covered here). To update

Getting Started with JPA and NetBeans

dependencies ). The tutorial was written for NetBeans 6.9.1 but it should work with other NetBeans versions as

javax.persistence.EntityManager

, it is silently ignored. Portable applications should not rely on the standard timeout hint. Depending ... should not rely on the standard timeout hint. Depending on the database in use and the locking ... on the standard timeout hint. Depending on the database in use and the locking mechanisms used by the provider

[ODB1] Chapter 6 - Persistent Objects

Dependent Objects When an object is deleted from the database, all the embedded objects ... way to delete non embedded dependent objects is to implement the InstanceCallback interface, as ... , it is useful to define dependent objects of user defined classes as embedded. In addition to being simpler

javax.persistence.criteria.CriteriaQuery

. The type of the result of the query execution depends on the specification of the type of the criteria ... specified selection(s), if any. The type of the result of the query execution depends

javax.persistence.PersistenceUnit

JPA Annotation PersistenceUnit Target: TYPE, METHOD, FIELD Implemented Interfaces: Annotation Expresses a dependency on an EntityManagerFactory and its associated persistence unit. Since: JPA 1.0 ... factory is to be accessed in the environment referencing context; not needed when dependency injection

javax.persistence.PersistenceContext

JPA Annotation PersistenceContext Target: TYPE, METHOD, FIELD Implemented Interfaces: Annotation Expresses a dependency on a container-managed EntityManager and its associated persistence context ... which the entity manager is to be accessed in the environment referencing context; not needed when dependency

javax.persistence.MapsId

primary key @Entity public class Employee { @Id long empId; String name; ... } // dependent entity uses ... ; // corresponds to primary key type of Employee } @Entity public class Dependent { @EmbeddedId DependentId

javax.persistence.PersistenceUnit.name

JPA Annotation Attribute in javax.persistence.PersistenceUnit String name default "" (Optional) The name by which the entity manager factory is to be accessed in the environment referencing context; not needed when dependency injection is used. Since: JPA 1.0

javax.persistence.MapKeyJoinColumn.name

JPA Annotation Attribute in javax.persistence.MapKeyJoinColumn String name default "" (Optional) The name of the foreign key column for the map key. The table in which it is found depends upon the context. If the join is for a map key for an element collection, the foreign key column is in

javax.persistence.MapKeyJoinColumn

key. The table in which it is found depends upon the context. If the join is for a map key

Query.setHint(hintName,value) - JPA Method

applications should not rely on the standard timeout hint. Depending on the database in use

javax.persistence.MapKeyColumn.name

JPA Annotation Attribute in javax.persistence.MapKeyColumn String name default "" (Optional) The name of the map key column. The table in which it is found depends upon the context. If the map key is for an element collection, the map key column is in the collection table for the map value

javax.persistence.MapKeyColumn

"" (Optional) The name of the map key column. The table in which it is found depends upon the context

javax.persistence.Query

. Depending on the database in use and the locking mechanisms used by the provider, this hint may or

TypedQuery.setHint(hintName,value) - JPA Method

. Portable applications should not rely on the standard timeout hint. Depending on the database in use

javax.persistence.PersistenceContexts

JPA Annotation PersistenceContexts Target: TYPE Implemented Interfaces: Annotation Declares one or more PersistenceContext annotations. It is used to express a dependency on container-managed entity manager persistence contexts. See Also: PersistenceContext Since: JPA 1.0 Public Annotation

javax.persistence.TypedQuery

must be silently ignored. Portable applications should not rely on the standard timeout hint. Depending

javax.persistence.PersistenceContext.name

JPA Annotation Attribute in javax.persistence.PersistenceContext String name default "" (Optional) The name by which the entity manager is to be accessed in the environment referencing context; not needed when dependency injection is used. Since: JPA 1.0

javax.persistence.StoredProcedureQuery

. Portable applications should not rely on the standard timeout hint. Depending on the database in use

EntityManager.refresh(entity,lockMode,properties) - JPA Method

on the standard timeout hint. Depending on the database in use and the locking mechanisms used by

EntityManager.lock(entity,lockMode,properties) - JPA Method

rely on the standard timeout hint. Depending on the database in use and the locking mechanisms used

StoredProcedureQuery.setHint(hintName,value) - JPA Method

must be silently ignored. Portable applications should not rely on the standard timeout hint. Depending

[ODB1] Chapter 3 - Persistent Classes

depended persistent objects as demonstrated below. Because the four events are defined in the same

javax.jdo.annotations.Persistent

dependent default "" Whether related object(s) of this member are dependent and so deleted ... are dependent . Since: JDO 2.1 String dependentKey default "" Whether the keys of this member are dependent . Since: JDO 2.1 String dependentValue default "" Whether the values of this member

javax.jdo.annotations.Value

for the value. Since: JDO 2.1 String dependent default "" Whether the value is dependent on the owner

javax.jdo.annotations.Key

. Since: JDO 2.1 String dependent default "" Whether the key is dependent on the owner

javax.jdo.annotations.Element

to any foreign key for the element. Since: JDO 2.1 String dependent default "" Whether the element is dependent on the owner, and will be deleted when the owner is deleted. Since: JDO 2.1 String

javax.jdo.annotations.Persistent.dependentValue

JDO Annotation Attribute in javax.jdo.annotations.Persistent String dependentValue default "" Whether the values of this member are dependent . Since: JDO 2.1

javax.jdo.annotations.Persistent.dependentKey

JDO Annotation Attribute in javax.jdo.annotations.Persistent String dependentKey default "" Whether the keys of this member are dependent . Since: JDO 2.1

javax.jdo.annotations.Persistent.dependentElement

JDO Annotation Attribute in javax.jdo.annotations.Persistent String dependentElement default "" Whether the elements of this member are dependent . Since: JDO 2.1