ObjectDB Database Search

51-100 of 200 results

Pre-detach loading: retrieval by navigation not working in if statement

: objectdb.temp.no-detach NOT USED This problems only seems to occur in my large web application ... web application parallel to the large web application, but the problem does not happen in ... , which is a "one size fits all" approach, does not meet my needs for all situations. I

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

( "ManagedType Guest not found"  );   // NamedQuery does not work   // TypedQuery query ... " ) } ) ... // NamedQuery does not work // TypedQuery query = this.em.createNamedQuery( "Guest.getAll", Guest ... /examples/guestbook-jee6.zip does not even deploy on JBOSS AS7 stack trace is: 09:40:30,202 INFO  [org

com.objectdb.o.TEX: Type ... is not found, for a class that's already been enhanced successfully.

Noticing very poor performance from ObjectDB, not exactly sure what the problem is. Tried to implement Enhancement (because the log always says that the classes are not enhanced). The main class starts like this, and does not reference any persistent classes directly. static void main(String

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

="resource-local", I can deploy, but not with JTA. May 20, 2013 11:50:32 PM org.apache.tomee.catalina ... (TransactionManager is not found): com.objectdb.o._PersistenceException: Failed to use JTA (TransactionManager is not found) at org.apache.openejb.assembler.classic.Assembler.createApplication

@Convert is not supported?

; I've wrote a test on this, and seems that my Converters methods are not executed at all (like ... support of JPA 2.1 is not complete yet. Particularly, this feature seems to be useful mainly in ORM ... problem (but I think this feature might be useful for other purposes I'm not aware of), I have an Entity

Remove not working

is not found: ObjectManager of appnode1/127.0.0.1:6136 [2015-12-15 20:04:20 - 2015-12-15 20:04:20] - 226 ... and for some not . Best Regards Ralph mosi0815 Ralph Moser The following test case demonstrates a similar ... this ObjectDB exception:  "com.objectdb.o._JdoObjectNotFoundException: Entity is not found

UserException: Package com.example.model is not found by the enhancer

get the exception: com.objectdb.o.UserException: Package com.example.model is not found by ... Which is obviously not present when cleaning and building with Netbeans and moving the dist directory to a remote location. What are the possible solutions around this problem as I'm not sure

Embedded in JDO metadata not working in objectDB 2.x ?

are embedded too.   I did not change the metadata when I was moving from ObjectDB 1 to 2, I ... as not embedded, with own extent and OID for every instance. So my questions are: 1. Is the enormous increase of database file size caused by the number of not -embedded objects in ObjectDB 2 opposed

Embedded Entity in EmbeddedId not persisted. Error 631 at select.

1: Works not : if field AId.b is not @Embedded annotated.  *  *         ... ;     question: Is @Entity annotation of class B not sufficient enough, or  *   ... ;   public static class AId {         // @Embedded // case 1, not

Eager Fetch is not stable for collection or map types?

map types is not stable, we lost them sometimes after JVM restarted. Eager fetch is properly set.And we still found that the storage is stable when we not use generic, such as "private List users = new ... there is no known open bug that can cause this problem (including in using or not using generics

JPQL query to get entities that does not have a child entity in their child entities

'%Canceled' and not ('Finished'). FAILED :      A Job having status '%Failed' and not '%Canceled' and not 'Finished'. Active :        A Job having status '%Started' and not '%Failed' and not '%Canceled' and not 'Finished'. I have entities

ObjectDB with JRebel: copious 'Not Enhanced:' errors with EJBs

that you are not responsible for compatibility with JRebel, but you might be able to provide some insight or ... enhancer.agent] Not Enhanced: com/example/ejb/query/__EJB31_Generated__ExampleQuery__Intf__: com.objectdb.o.TEX: Type com.example.ejb.query.__EJB31_Generated__ExampleQuery__Intf__ is not found at com

jakarta.persistence.metamodel.IdentifiableType

: IllegalArgumentException - if attribute of the given name is not present in the managed type. Since: Jakarta ... : IllegalArgumentException - if attribute of the given name and type is not present in the managed type ... of the given name. Throws: IllegalArgumentException - if attribute of the given name is not present

jakarta.persistence.metamodel.EntityType

of the given name is not present in the managed type. Since: Jakarta Persistence (JPA) 1.0 Set ... . Throws: IllegalArgumentException - if attribute of the given name and type is not present in ... is not present in the managed type. Since: Jakarta Persistence (JPA) 1.0 Attribute getDeclaredAttribute

jakarta.persistence.metamodel.MappedSuperclassType

: IllegalArgumentException - if attribute of the given name is not present in the managed type ... : IllegalArgumentException - if attribute of the given name and type is not present in the managed ... : CollectionAttribute of the given name. Throws: IllegalArgumentException - if attribute of the given name is not

jakarta.persistence.PersistenceUnitUtil

. This method may, but is not required to, load the given entity by side effect. Parameters: entity ... : IllegalArgumentException - if the given object is not an instance of an entity class belonging to the persistence unit. PersistenceException - if the entity is not associated with an open persistence context or

jakarta.persistence.criteria.PluralJoin

functionality that is common to joins to all collection types. It is not intended to be used directly in ... does not cause type conversion: the runtime type is not changed. Warning: may result in a runtime ... , and Double . Support for typecasts between other basic types is not required. Inherited from Expression

JPA Lifecycle Events

private ) but must not be static . The annotation on a method specifies when the callback method ... with the database operation that triggers the event, callback methods must not call EntityManager or Query methods

Database Transaction Replayer

. Therefore, when recording is enabled and a required backup file does not exist, ObjectDB automatically ... .objectdb.Replayer my.odb If objectdb.jar is not in the current directory, you must specify a path

Database Replication and Clustering

master databases, slave databases (by using one or more elements), and databases that are not ... and password attributes must be for a user on the slave server, not the master server. Finally

JPA Attributes Annotations

" relationships where the target is not an entity. Specifies that the field or property is not persistent

JPA Metamodel Types

, Strings, or Dates) that do not contain persistent attributes of their own. An enumeration ... inherited by entities but not being entities themselves. Represents an @Embeddable type, a managed type

Obtaining a JPA Database Connection

directory, which by default is the directory where ObjectDB is installed. If a database file does not ... , close the EntityManager : em. close (); Closing an EntityManager does not close the database

Eclipse Distribution License - v 1.0

HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED ... , SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE

Can I use ObjectDB to access a relational database?

standalone Object Database Management System (ODBMS) and not an ORM tool, so it is not intended and cannot be used to access other database management systems.

JPA Connections and Transactions

the database. If the database does not already exist, a new database file is created. When the application ... to the database are discarded. However, by default, a rollback does not affect the in-memory state

Entity Management Settings

the Enhancer Agent to enhance persistable types on the fly, even if you do not specify it explicitly ... -defined class that is not an entity, mapped superclass, or embeddable class). The element

JPA Persistence Unit

if the application is packaged as a JAR file. If the application is not packaged in a JAR file, ObjectDB (as ... (to register a single class) or jar-file elements (to register all classes in a JAR file). ObjectDB does not

ORDER BY clause (JPQL / Criteria API)

The ORDER BY clause specifies the order for the query results. Any JPQL query that does not include an ORDER BY clause returns results in an undefined and non-deterministic order. ORDER BY ... because the ORDER BY expression, c.population , is not part of the SELECT clause: SELECT c.name FROM Country c

JPA Exceptions

is required but is not active. This typically occurs when attempting to modify the database ... does not match the expected entity mapping structure during validation.

Chapter 4 - JPA Queries (JPQL / Criteria)

. It explains how to use the relevant interfaces, annotations, enums, and methods but does not cover ... (JDO) Query Language (JDOQL), which is more Java-oriented and is based on Java syntax. JDOQL is not covered in this manual.

SSL Configuration

file and contains the public key certificate but not the private key. You can generate these files ... that it is connected to the intended server and not an imposter, which prevents a man-in-the-middle

JPA Listeners & Callbacks Annotations

unit are not applied to this class. Specifies that listeners declared in superclasses are not

jakarta.persistence.EntityGraph

the corresponding attribute nodes as well; such attribute nodes should not be redundantly specified ... defined. IllegalArgumentException - if the attribute is not an attribute of this entity ... . IllegalArgumentException - if the attribute is not an attribute of this managed type.. Since: Jakarta Persistence (JPA) 1

jakarta.persistence.criteria.MapJoin

Expression.cast , this method does not cause type conversion: the runtime type is not changed. Warning ... to Integer , Long , Float , and Double . Support for typecasts between other basic types is not required ... : the resulting fetch join. Throws: IllegalArgumentException - if attribute of the given name does not

jakarta.persistence.criteria.Root

. Unlike Expression.cast , this method does not cause type conversion: the runtime type is not changed ... expressions to Integer , Long , Float , and Double . Support for typecasts between other basic types is not ... : IllegalArgumentException - if attribute of the given name does not exist. Since: Jakarta Persistence (JPA) 1.0 Fetch fetch

jakarta.persistence.criteria.SetJoin

upon the expression, returning a new expression object. Unlike Expression.cast , this method does not cause type conversion: the runtime type is not changed. Warning: may result in a runtime failure ... . Support for typecasts between other basic types is not required. Inherited from Expression

jakarta.persistence.criteria.CollectionJoin

.cast , this method does not cause type conversion: the runtime type is not changed. Warning ... , Long , Float , and Double . Support for typecasts between other basic types is not required ... - if attribute of the given name does not exist. Since: Jakarta Persistence (JPA) 1.0 Fetch fetch ( String

jakarta.persistence.criteria.ListJoin

not cause type conversion: the runtime type is not changed. Warning: may result in a runtime failure ... , and Double . Support for typecasts between other basic types is not required. Inherited from Expression ... does not exist. Since: Jakarta Persistence (JPA) 1.0 Fetch fetch ( String attributeName , JoinType jt

jakarta.persistence.criteria.From

upon the expression, returning a new expression object. Unlike Expression.cast , this method does not cause type conversion: the runtime type is not changed. Warning: may result in a runtime failure. Inherited from ... for typecasts between other basic types is not required. Inherited from Expression Parameters: type

jakarta.persistence.criteria.Join

Expression.cast , this method does not cause type conversion: the runtime type is not changed ... to Integer , Long , Float , and Double . Support for typecasts between other basic types is not ... - if attribute of the given name does not exist. Since: Jakarta Persistence (JPA) 1.0 Fetch fetch

jakarta.persistence.metamodel.ManagedType

with given name. Throws: IllegalArgumentException - if attribute of the given name is not present in ... - if attribute of the given name and type is not present in the managed type. Since: Jakarta ... - if attribute of the given name is not present in the managed type. Since: Jakarta Persistence (JPA

jakarta.persistence.metamodel.EmbeddableType

is not present in the managed type. Since: Jakarta Persistence (JPA) 1.0 Set getAttributes () Return ... of the given name and type is not present in the managed type. Since: Jakarta Persistence (JPA) 1.0 ... : IllegalArgumentException - if attribute of the given name is not present in the managed type. Since: Jakarta Persistence

jakarta.persistence.Graph

is not an attribute of this entity.. Since: Jakarta Persistence (JPA) 3.2 AttributeNode ... . IllegalArgumentException - if the attribute is not an attribute of this managed type.. Since: Jakarta Persistence ... . IllegalArgumentException - if the attribute's target type is not an entity. Since: Jakarta Persistence (JPA

jakarta.persistence.Subgraph

. IllegalArgumentException - if the attribute is not an attribute of this entity.. Since: Jakarta Persistence (JPA) 3.2 ... is not an attribute of this managed type.. Since: Jakarta Persistence (JPA) 1.0 void addAttributeNodes ... . IllegalArgumentException - if the attribute's target type is not an entity. Since: Jakarta

combined index not used

we can see that this index is not used: Query Plan Description ====================== Step 1: Process ... (on that sample database) for further analysis? support Support we do not have that database any ... and provide a fix. support Support The reason for not using the composite index was found

Enum fields are set to null and embeddable enum class does not show in explorer

I switched to version 2.8.2 and now it seems that my enum types are not recognized and the field ... ! The enum type is also not listed in the explorer. I am talking about an enum class, which implements another interface. My List property is defined with the interface and not the specific class. Maybe

java 8 LocalDateTime is not working in query

  but it's working fine: SELECT t FROM Test t Joe Joe Khan New Java 8 date/time types are not ... compatibility card here, it is not quite working: In JPA you can use the @Convert annotation in order ... because on the one side ObjectDB is too compatible, and on the other side it is not compatible enough. I

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

Hello! When the JPA entities are not enhanced the removal of an entry from a @OneToMany collection is not possible. The following java code demonstrates the problem. The statement parentEntity.getChildEntityContainer().remove("01"); does not work correctly with not enhanced JPA entities. package

Step 1: Install BIRT and ObjectDB Driver

of the Eclipse IDE that includes BIRT built in. This option may be useful if you are not using the Eclipse ... with no Java EE support is more complicated because of BIRT dependencies and is not covered here). To update