ObjectDB Database Search

151-200 of 200 results

Spring LTW Problem

Hello! I use ObjectDB with Spring . Today i tried to swich from AspectJ compile time weaving ... .xml and to my spring configuration. Now Spring oviously tries to weave every class that get's loaded ... the ClassNotFound Exception and emmit an error message instead. So spring can continue to the AspectJ weaver

Cannot save or update entity on Spring App

I've got this DAO in my Spring App import javax.transaction.Transactional; @Repository // or ... .TransactionRequiredException Attempt to run update query when no transaction is active [PMImpl] (error 611) Apparently Spring ... demo application of ObjectDB with Spring Framework (on this tutorial and the zip file

can not use spring-data-jpa repository with NamedQuery

in spring -data-jpa named queries are used to implement repository interface methods, see http://static.springsource.org/ spring -data/data-jpa/docs/current/reference/html/#jpa.query-methods.named ... findByBar(String bar); } to match the method parameter to the query parameter, spring have to check

Integration

with the Spring MVC Framework by some users. Currently there is no tutorial for using ObjectDB with Spring , so try to follow a generic tutorial for using JPA with Spring . support Support Hi, I'm trying ObjectDB ... Hi, Is there a way to integrate ObjectDB with Spring Framework to add the benefits of Transaction

Puzzler: Not getting cascades on read from Spring context

I've determined that the database is correctly initialized, looking at it from the Object Explorer, I can run the code that loads the database in a Junit test and it's initializing the children objects correctly, but in the application running in Jetty with Spring , fetching is not cascading

Spring and packagesToScan

Hi i am trying to configure ObjectDB using Spring JavaConfig but packageToScan is not working. I am getting Type XXX is not found   LocalContainerEntityManagerFactoryBean factory = new LocalContainerEntityManagerFactoryBean(); factory.setPackagesToScan("com.myentities"); factory

Out of memory

.invokeJoinpointUsingReflection(AopUtils.java:319) ~[ spring -aop-3. 1 .2.RELEASE.jar:3. 1 .2.RELEASE] at org.springframework ... ) ~[ spring -aop-3. 1 .2.RELEASE.jar:3. 1 .2.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[ spring -aop-3. 1 .2.RELEASE.jar:3. 1 .2.RELEASE

Query in Spring Data error Like for Integer records

Query in Spring Data error Like for Integer records

EntityManager JPA or JDO impl and different behavior

.Provider Now in our project we use spring to start everything. If I do: System.out.println("EntityManager ... a basic test project, NO spring involved. Same persistance xml in my META-INF, startup using: emf ... the persistance.xml or is something in the spring is doing something I don't understand? Or have I missed

Problem on JPA Merge Entity.

; This a little webapp (using Spring / Spring MVC , ObjectDb, JPA) project under Eclipse. I upload ... - is it an ObjectDB merge issue or Spring / JPA transaction management issue? Maybe it is a missing ... ;   support Support Hi, I think that it is an ObjectDb problem. The same code with Spring , JPA

jakarta.persistence.metamodel.ManagedType

the managed type. Since: Jakarta Persistence (JPA) 1 .0 Set getAttributes () Return the attributes of the managed type. Returns: attributes of the managed type. Since: Jakarta Persistence (JPA) 1 .0 ... Persistence (JPA) 1 .0 CollectionAttribute getCollection ( String name ) Return the Collection-valued

jakarta.persistence.metamodel.EmbeddableType

is not present in the managed type. Since: Jakarta Persistence (JPA) 1 .0 Set getAttributes () Return ... type. Since: Jakarta Persistence (JPA) 1 .0 CollectionAttribute getCollection ( String name , Class ... of the given name and type is not present in the managed type. Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.StoredProcedureQuery

method will return either the update count (zero or greater) or - 1 if there is no update count (i.e ... Since: Jakarta Persistence (JPA) 2. 1 Public Instance Methods boolean execute () Return true if the first ... timeout value set and only the statement is rolled back. Since: Jakarta Persistence (JPA) 1 .0 int

StaticMetamodel throws NPE with Spring-Data in PathImpl.get()

Spring -Data i got a NullPointerException in com.objectdb.jpa.criteria.PathImpl

ObjectDB 2.9.2

application servers. Added support of using ObjectDB in Spring Framework ( MVC ) 6.x and Spring Boot 3.x. JDO updated to API version 3.2. 1 (API only, no new functionality). Note: JDO is not expected

jakarta.persistence.criteria.CriteriaQuery

.. Since: Jakarta Persistence (JPA) 1 .0 Root from ( Class entityClass ) Create and add a query root ... to the given entity. Since: Jakarta Persistence (JPA) 1 .0 Root from ( EntityType entity ) Create and add ... Returns: query root corresponding to the given entity. Since: Jakarta Persistence (JPA) 1 .0 List

Apache License, Version 2.0, January 2004

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1 . Definitions . "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright

Literals in JPQL and Criteria Queries

both Java and SQL syntax for numeric literals. Numeric suffixes (for example, 1 .5F ) are also supported ... . literal ( 1 ); Expression i2 = cb. literal (Integer.ValueOf(2)); Expression d = cb. literal (3.4

Query Parameters in JPA

= ? 1 ", Country.class); return query. setParameter ( 1 , name). getSingleResult (); } The format

JPA Shared (L2) Entity Cache

(MyEntity2.class, Long.valueOf( 1 ), Collections. singletonMap( "jakarta.persistence.cache.retrieveMode ... (MyEntity2.class, Long.valueOf( 1 ), Collections. singletonMap( "jakarta.persistence.cache.storeMode

Updating JPA Entities

, 1 ); em. getTransaction (). begin (); employee.setNickname("Joe the Plumber"); em. getTransaction ... when entity classes are enhanced: Employee employee = em. find (Employee.class, 1 ); em. getTransaction

jakarta.persistence.criteria.CriteriaBuilder.In

, TupleElement Interface used to build in predicates. Since: Jakarta Persistence (JPA) 1 .0 Public Instance ... : name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class ... ) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type, returning a new

jakarta.persistence.criteria.CriteriaBuilder.SimpleCase

which they are specified. Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods Selection alias ... : selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform ... expression of the given type. See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 Expression cast

jakarta.persistence.EntityGraph

Persistence (JPA) 2. 1 Public Instance Methods AttributeNode addAttributeNode ( String attributeName ... . IllegalArgumentException - if the attribute is not an attribute of this managed type.. Since: Jakarta Persistence (JPA) 1 ... ) 1 .0 Subgraph addElementSubgraph ( PluralAttribute attribute ) Add a node to the graph

jakarta.persistence.criteria.Path

(JPA) 1 .0 Expression as ( Class type ) Perform a typecast upon the expression, returning a new ... ) Since: Jakarta Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast this expression ... to the referenced attribute. Since: Jakarta Persistence (JPA) 1 .0 Expression get ( PluralAttribute

jakarta.persistence.criteria.AbstractQuery

Persistence (JPA) 1 .0 Root from ( Class entityClass ) Create and add a query root corresponding ... class Returns: query root corresponding to the given entity. Since: Jakarta Persistence (JPA) 1 .0 ... (JPA) 1 .0 List getGroupList () Return a list of the grouping expressions. Returns empty list

jakarta.persistence.TypedQuery

Persistence (JPA) 1 .0 CacheRetrieveMode getCacheRetrieveMode () The cache retrieval mode that will be in ... back. Since: Jakarta Persistence (JPA) 1 .0 Stream getResultStream () Execute a SELECT query and return the query ... been joined to the transaction. Since: Jakarta Persistence (JPA) 1 .0 X getSingleResultOrNull

jakarta.persistence.criteria.CriteriaBuilder.Case

which they are specified. Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods Selection alias ( String ... : selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast ... of the given type. See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 Expression cast ( Class

jakarta.persistence.Subgraph

within an EntityGraph . See Also: EntityGraph AttributeNode NamedSubgraph Since: Jakarta Persistence (JPA) 2. 1 Public ... is not an attribute of this managed type.. Since: Jakarta Persistence (JPA) 1 .0 void addAttributeNodes ... - if this EntityGraph has been statically defined. Since: Jakarta Persistence (JPA) 1 .0 Subgraph

jakarta.persistence.criteria.Predicate

Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast upon the expression, returning ... . See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast ... (JPA) 1 .0 List getCompoundSelectionItems () Return the selection items composing a compound selection

jakarta.persistence.Graph

(JPA) 1 .0 void addAttributeNodes ( Attribute ... attribute ) Add one or more attribute nodes ... : IllegalStateException - if this EntityGraph has been statically defined. Since: Jakarta Persistence (JPA) 1 .0 Subgraph ... . Since: Jakarta Persistence (JPA) 1 .0 Subgraph addElementSubgraph ( String attributeName , Class type

jakarta.persistence.criteria.ParameterExpression

Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 ... Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type ... . Inherited from TupleElement Returns: alias. Since: Jakarta Persistence (JPA) 1 .0 List

jakarta.persistence.criteria.CriteriaBuilder.Coalesce

otherwise. Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods Selection alias ( String ... : selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast ... of the given type. See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 Expression cast ( Class

jakarta.persistence.criteria.CriteriaUpdate

. A CriteriaUpdate object must have a single root. Since: Jakarta Persistence (JPA) 2. 1 Public Instance ... . Since: Jakarta Persistence (JPA) 1 .0 Root from ( EntityType entity ) Create and add a query root ... of type X Returns: query root corresponding to the given entity. Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.criteria.LocalDateTimeField

The date part of a datetime. Since: Jakarta Persistence (JPA) 1 .0 DAY The calendar day of the month, numbered from 1 . Since: Jakarta Persistence (JPA) 1 .0 HOUR The hour of the day in 24-hour time, numbered from 0 to 23. Since: Jakarta Persistence (JPA) 1 .0 MINUTE The minute of the hour, numbered from

jakarta.persistence.Column

field. If no Column annotation is explicitly specified, the default values apply. Example 1 : @Column ... of type numeric or decimal . Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements String name ... Persistence (JPA) 1 .0 boolean unique (Optional) Whether the column is a unique key

jakarta.persistence.Query

execution. See Also: TypedQuery StoredProcedureQuery Parameter Since: Jakarta Persistence (JPA) 1 .0 ... back. Since: Jakarta Persistence (JPA) 1 .0 CacheRetrieveMode getCacheRetrieveMode () The cache retrieval mode ... value set and only the statement is rolled back. Since: Jakarta Persistence (JPA) 1 .0 Stream

jakarta.persistence.TableGenerator

annotation. Example 1 : @Entity public class Employee { ... @TableGenerator( name = "empGen", table ... ", allocationSize = 1 ) @Id @GeneratedValue(strategy = TABLE, generator = "empGen") int id; ... } Example 2 ... ; ... } See Also: GeneratedValue Since: Jakarta Persistence (JPA) 1 .0 The Auto Generated Values article

jakarta.persistence.metamodel.SingularAttribute

Bindable Returns: Java type. Since: Jakarta Persistence (JPA) 1 .0 BindableType getBindableType ... . Since: Jakarta Persistence (JPA) 1 .0 ManagedType getDeclaringType () Return the managed type ... . Since: Jakarta Persistence (JPA) 1 .0 Member getJavaMember () Return the java.lang.reflect.Member

jakarta.persistence.metamodel.MapAttribute

Persistence (JPA) 1 .0 BindableType getBindableType () Return the bindable type of the represented object. Inherited from Bindable Returns: bindable type. Since: Jakarta Persistence (JPA) 1 .0 CollectionType ... type. Since: Jakarta Persistence (JPA) 1 .0 ManagedType getDeclaringType () Return the managed type

jakarta.persistence.criteria.Expression

Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast upon the expression, returning a new ... ) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type, returning a new ... . Inherited from TupleElement Returns: alias. Since: Jakarta Persistence (JPA) 1 .0 List

JPA Entity Fields

of a new entity is 1 when it's stored in the database for the first time. In every transaction

Storing JPA Entities

the clear and flush methods together to save memory during large transactions: em. getTransaction (). begin (); for (int i = 1 ; i

ObjectDB License Agreement [ver. 2.0.4]

of this agreement will be binding, unless in writing and signed by an authorized representative of each party. 1

Strings in JPQL and Criteria Queries

). Therefore, the position of the first character is 1 . A value of zero ( 0 ) is returned if the substring is not

JPA Persistable Types

are stored as ordinal numbers (0, 1 , and 2), while values of the color3 field are stored as strings

Report Generation with BIRT and JPA

= x :     (0, 0), ( 1 , 1 ), (2, 2), ..., (999, 999) The BIRT report

Getting Started with JPA and Eclipse

). This tutorial was written for Eclipse 3.6. 1 but it should work with other Eclipse versions as

[ODB1] Chapter 9 - ObjectDB Explorer

databases.   9. 1   Running the Explorer The Explorer is a pure Java GUI application. It is shipped as an executable jar that will run on any system with a Java 1 .3 JRE or later installed

[ODB1] Chapter 5 - JDO Connections

and deleting database objects, are provided in the next chapter ( Chapter 6 ). 5. 1   javax ... at PersistenceManagerFactory level (as shown in section 5. 1 ), or at the PersistenceManager or Transaction levels