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

Entity is not related to ObjectDB, but i get exception from ObjectDB

.EJBTransactionRolledbackException: javax.persistence.PersistenceException: org.hibernate.InstantiationException: Could not ... .PersistenceException: org.hibernate.InstantiationException: Could not instantiate entity: granat.dp ... .persistence.PersistenceException: org.hibernate.InstantiationException: Could not instantiate entity

Why are my Map entries not stored?

Why are my values of the map "states" not stored in the database? It seems the 'State' is stored, but not the 'Authority'? @Entity public class Ticket {     @Id @GeneratedValue ... (EnumType.STRING) private Map states = new HashMap (); Is this correct now? "mappedBy" is not required

jakarta.persistence.criteria.CriteriaBuilder

is used instead of Expression in this API in order to work around the fact that Java generics are not ... ) Create a predicate that tests whether a collection is not empty. Parameters: collection - expression Returns: is- not -empty predicate. Since: Jakarta Persistence (JPA) 1.0 Predicate isNotMember

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

Database Transaction Replayer

only if a proper backup file exists. Therefore, when recording is enabled and the required backup file does not ... is not in the current directory a path to it has to be specified. The tool's main class is com

Database Replication and Clustering

(but not in embedded mode) can function as a master database in a cluster.  Recording ... using one or more elements) and also databases that are not part of any cluster. The replicated

Index Definition

fields ( not on primary key / version fields). Composite Index A composite index is an index ... because the index uses the lexicographic order of the words and is not ordered by the length of the words

DELETE Queries in JPA/JPQL

, which are used to retrieve data from the database, DELETE queries do not retrieve data from ...  may break its synchronization with the database. For example, the EntityManager may not be aware

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.

Entity Management Settings

, even if it is not specified explicitly at the command line. This is currently an experimental feature ... of serializable types that are non persistable otherwise (e.g. a user defined class, which is not an entity

Online Backup

An ObjectDB database can be backed up by simply copying or archiving the database file while the database is offline (i.e. when it is not open in an ObjectDB server and not in use by any application), since an ObjectDB database is stored as an ordinary file in the file system.  ObjectDB

Paths and Types in JPQL and Criteria API

the actual type of the iterated e . Only objects whose type is not Country are passed to the SELECT ... . For example, the following criteria expression checks if the type of a specified entity e is not  

ORDER BY clause (JPQL / Criteria API)

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

Locking in JPA

if the version numbers do not match, indicating that the object has been modified by another user ... (which is required by some ORM JPA providers) is defined in the entity class or not . Pessimistic Locking The main

Chapter 4 - JPA Queries (JPQL / Criteria)

, but does not provide specific details on the JPQL query language itself: The Java Persistence Query ... ), which is more Java oriented and is based on the syntax of Java. JDOQL is not covered in this manual

jakarta.persistence.EntityGraph

the corresponding attribute nodes as well; such attribute nodes should not be redundantly specified ... has been statically 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

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

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

Different behavior for casting and not casting

.MitgliedVertraegeFragment') IS NOT NULL Query #2 which is equal to the previous one though includes a casting and returns ... .MitgliedVertraegeFragment')) IS NOT NULL Furthermore, checking for empty collection doesn't return any entity either, however I am not sure whether this might start working when the previous issue with casting

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