ObjectDB Database Search

51-100 of 200 results

Not Enhanced: ...: com.objectdb.o.TEX: Type ..._$$_javassist_1 is not found

Hello! ObjectDB logs these errors when I start the app and open the log in page. (see attachment) dk.mandecentret.boundary.AuthB is a @javax.enterprise. context .RequestScoped and dk.mandecentret.boundary.UserSessionB is @javax.enterprise. context .SessionScoped. AuthB contains UserSessionB

Apache Tomee 1.5.2: Failed to use JTA (TransactionManager is not found)

1 .5.2 with transaction-type="JTA". I don't have any configurations in Tomee (objectdb.jar is in ... application failed: C:\Users\Mircea\Documents\NetBeansProjects\natural7\target\natural7- 1 .0-SNAPSHOT ... .NameNotFoundException: Name [comp/TransactionManager] is not bound in this Context . Unable to find [comp]. at org

Configure ObjectDB in spring context

is to configure entire ObjectDB (optionally objectdb.conf too) in springs context .xml file so that I'd ... creating persistance.xml file. My previous database.xml (which is included in application- context .xml

Puzzler: Not getting cascades on read from Spring context

. My best guess is that perhaps I have something misconfigured in my persistence.xml or my context . 

GlassFish 3.1.2.2/JBoss 7.1.1

). May be you have some ideas?  When we just try JBoss 7. 1 . 1 nothing works at all. Where I can get a real ... . webel Dr Darren Kelly As discussed in a previous forum thread - JBoss 7. 1 . 1 is expected to be supported ... there are also issues with GlassFish 3. 1 .2 (GlassFish 3. 1 . 1 may work better with ObjectDB

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

+ Jboss 7. 1 . 1 @Entity public class Person extends AbstractObject { private static final long ... ); The exception: java.lang.NoSuchFieldError: __odbTracker test.City.__odbSet_name(City.java: 1 ) test.City.setName ... .interceptors.UserInterceptorFactory$ 1 .processInvocation(UserInterceptorFactory.java:36) org.jboss

Problem undeploying Glassfish3.1.1 web application cleanly

objectdb-2.3.7_18 When I undeploy a Glassfish3. 1 . 1 web application when using @PersistenceContext ... ;of Netbeans7. 1 , I get the following otherwise harmless error: java.lang.IllegalStateException: WEB9031 ... .kernel.event.EventsImpl$ 1 .run(EventsImpl.java:120) at java.util.concurrent.Executors$RunnableAdapter

InternalException & UserException using objectdb with Jboss AS 7.1.1 final

Hello. We are currently using ObjectDB in application server Jboss as 7. 1 . 1 .final. ObjectDB version is 2.5.3_02. The following errors occur when multiple ajax requests are executed: Caused by: com.objectdb.o.InternalException: Error reading UTF string Caused by: com.objectdb.o.UserException

UPDATE SET Queries in JPA/JPQL

its persistence context . Therefore, we recommend using a separate EntityManager for UPDATE queries. As with any

Database Server

the icon and use the context menu to manage the server (stop, restart, and start) or to exit the server application.

JPA Listeners & Callbacks Annotations

the persistence context or refreshed. This is useful for initializing transient fields or performing post

jakarta.persistence.criteria.CriteriaUpdate

. The persistence context is not automatically synchronized with the result of the bulk update. 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

jakarta.persistence.JoinColumn

CollectionTable ForeignKey Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods CheckConstraint[] check ... for the column. Since: Jakarta Persistence (JPA) 1 .0 String comment () (Optional) A comment to be applied ... strategy is selected by the persistence provider. Since: Jakarta Persistence (JPA) 2. 1 boolean

jakarta.persistence.MapKeyColumn

to the generated SQL to create a column of the inferred type. Since: Jakarta Persistence (JPA) 1 .0 boolean ... the persistence provider. Since: Jakarta Persistence (JPA) 1 .0 int length () (Optional) The column length ... types. Since: Jakarta Persistence (JPA) 1 .0 String name () (Optional) The name of the map key column

jakarta.persistence.MapKeyJoinColumn

and the default values apply. Example 1 : @Entity public class Company { @Id int id; ... @OneToMany ... to SQL generated by the provider for the column. Since: Jakarta Persistence (JPA) 1 .0 ForeignKey ... is selected by the persistence provider. Since: Jakarta Persistence (JPA) 2. 1 boolean insertable

jakarta.persistence.criteria.CriteriaDelete

context is not synchronized with the result of the bulk delete. A CriteriaDelete object must have a single root. Since: Jakarta Persistence (JPA) 2. 1 Public Instance Methods Root from ( Class ... (JPA) 1 .0 Root from ( EntityType entity ) Create and add a query root corresponding to the entity

[ObjectDB 2.4.1] Unexpected exception (Error 990)

Hi, getting this unexpected exception, would welcome advice: [ObjectDB 2.4. 1 ] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) Client VM 1 .6.0_29 (on Windows 7 6. 1 ... .runners.model.FrameworkMethod$ 1 .runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners

jakarta.persistence.EntityNotFoundException

and the persistence context has been joined to it, will be marked for rollback. See Also: EntityManager ... ) Since: Jakarta Persistence (JPA) 1 .0 Public Constructors EntityNotFoundException () Constructs a new EntityNotFoundException exception with null as its detail message. Since: Jakarta Persistence (JPA) 1

jakarta.persistence.EntityExistsException

, if one is active and the persistence context has been joined to it, will be marked for rollback. See Also: EntityManager.persist(Object) Since: Jakarta Persistence (JPA) 1 .0 Public Constructors ... . Since: Jakarta Persistence (JPA) 1 .0 EntityExistsException ( String message ) Constructs a new

jakarta.persistence.NamedQuery

can be applied to an entity class or mapped superclass. Since: Jakarta Persistence (JPA) 1 .0 The JPA Named ... (JPA) 1 .0 LockModeType lockMode () (Optional) The lock mode type to use in query execution ... and the persistence context joined to the transaction. Since: Jakarta Persistence (JPA) 2.0 String name

jakarta.persistence.PersistenceException

, if one is active and if the persistence context has been joined to it, to be marked for rollback. Since: Jakarta Persistence (JPA) 1 .0 Public Constructors PersistenceException () Constructs a new PersistenceException exception with null as its detail message. Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.EntityManager.merge(T)

context , resulting in, respectively, an insert or possible update when the persistence context ... to this persistence context , and has not been marked for removal, it is itself ignored, but the operation ... PersistenceContextType.TRANSACTION . Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.PersistenceUnit

referencing context ; not needed when dependency injection is used. Since: Jakarta Persistence (JPA) 1 ... and its associated persistence unit. Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods String ... must have the same name. Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements This is a marker

jakarta.persistence.PersistenceContexts

to express a dependency on container-managed entity manager persistence contexts . See Also: PersistenceContext Since: Jakarta Persistence (JPA) 1 .0 Public Static Fields No JavaDoc Info for jakarta ... ) One or more PersistenceContext annotations. Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements

jakarta.persistence.criteria.CriteriaBuilder

: absolute value. Since: Jakarta Persistence (JPA) 1 .0 Expression all ( Subquery subquery ) Create ... . Since: Jakarta Persistence (JPA) 1 .0 Predicate and ( Expression x , Expression y ) Create a conjunction ... : and predicate. Since: Jakarta Persistence (JPA) 1 .0 Predicate and ( Predicate... restrictions

jakarta.persistence.MappedSuperclass

are interpreted in the context of each entity class which inherits the mapped superclass ... ) { ... } } See Also: AttributeOverride AssociationOverride Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements

jakarta.persistence.PersistenceContext.type

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext PersistenceContextType type() (Optional) Specifies whether a transaction-scoped persistence context or an extended persistence context is to be used. Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.PersistenceContext.synchronization

synchronization() (Optional) Specifies whether the persistence context is always automatically synchronized with the current transaction or whether the persistence context must be explicitly joined to the current transaction by means of the EntityManager.joinTransaction method. Since: Jakarta Persistence (JPA) 2. 1

jakarta.persistence.EntityManager.contains(Object)

to the current persistence context . Parameters: entity - entity instance Returns: boolean value indicating if entity belongs to the persistence context . Throws: IllegalArgumentException - if not an entity. Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.EntityManager.persist(Object)

the database when the persistence context is synchronized with the database, or make a removed entity ... is already managed, that is, if it already belongs to this persistence context , and has not been marked ... PersistenceContextType.TRANSACTION . Since: Jakarta Persistence (JPA) 1 .0

GROUP BY and HAVING clauses

SUBSTRING(c.name, 1 , 1 ) FROM Country c GROUP BY SUBSTRING(c.name, 1 , 1 ); The FROM clause iterates ... : SELECT DISTINCT SUBSTRING(c.name, 1 , 1 ) FROM Country c GROUP BY with aggregate functions JPQL supports ... and the number of distinct currencies that those countries use: SELECT SUBSTRING(c.name, 1 , 1 ), COUNT(c), COUNT

jakarta.persistence.StoredProcedureQuery.executeUpdate()

() Return the update count of - 1 if there is no pending result or if the first result is not an update count. The provider will call execute on the query if needed. Returns: the update count or - 1 ... back. TransactionRequiredException - if there is no transaction or the persistence context has not been joined

ObjectDB 2.1.1

ObjectDB 2.1.1

jakarta.persistence.PersistenceContext.name

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceContext String name() (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: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.PersistenceUnit.name

Jakarta Persistence (JPA) Method in jakarta.persistence.PersistenceUnit String name() (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: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.TypedQuery.getSingleResult()

and there is no transaction or the persistence context has not been joined to the transaction. Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.TypedQuery.getResultList()

- if a lock mode other than NONE has been set and there is no transaction or the persistence context has not ... timeout value set and only the statement is rolled back. Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.JoinColumn.name

Jakarta Persistence (JPA) Method in jakarta.persistence.JoinColumn String name() (Optional) The name of the foreign key column. The table in which this column is found depends on the context ... : the name of the entity; " _ "; the name of the referenced primary key column. Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.PersistenceContextType.TRANSACTION

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.PersistenceContextType TRANSACTION Transaction-scoped persistence context Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.PersistenceContextType.EXTENDED

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.PersistenceContextType EXTENDED Extended persistence context Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.EntityManager.joinTransaction()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void joinTransaction() Indicate to the entity manager that a JTA transaction is active and join the persistence context ... - if there is no active transaction. Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.EntityManager.close()

is joined to an active transaction, the persistence context remains managed until the transaction completes. Throws: IllegalStateException - if the entity manager is container-managed. Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.EntityManager.setFlushMode(FlushModeType)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void setFlushMode (    FlushModeType flushMode ) Set the flush mode that applies to all objects contained in the persistence context . Parameters: flushMode - flush mode Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.EntityManager.getFlushMode()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager FlushModeType getFlushMode() Get the flush mode that applies to all objects contained in the persistence context . Returns: the current FlushModeType . Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.EntityManager.lock(Object,LockModeType)

to the persistence context , obtaining the specified lock mode . If a pessimistic lock mode type is specified ... to the current transaction. Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.EntityManager.clear()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager void clear() Clear the persistence context , causing all managed entities to become detached. Changes made to entities that have not already been flushed to the database will never be made persistent. Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.SynchronizationType.SYNCHRONIZED

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.SynchronizationType SYNCHRONIZED Persistence context is automatically synchronized with the current transaction Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.SynchronizationType.UNSYNCHRONIZED

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.SynchronizationType UNSYNCHRONIZED Persistence context must be explicitly joined to the current transaction Since: Jakarta Persistence (JPA) 1 .0

jakarta.persistence.MapKeyColumn.name

Jakarta Persistence (JPA) Method in jakarta.persistence.MapKeyColumn String name() (Optional) The name of the map key column. The table in which it is found depends upon the context . If the map key ... relationship field or property; " _ "; " KEY ". Since: Jakarta Persistence (JPA) 1 .0

[ODB1] Chapter 2 - A Quick Tour

, step by step. Both sample programs are contained in ObjectDB's samples directory. 2. 1    ... of the second run is expected to be: Hello World 0 Hello World 1 After two runs, the database contains a list of two strings "Hello World 0" and "Hello World 1 ". Program Source Code The program consists