ObjectDB Database Search
101-150 of 200 resultsJBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception I'm trying to have the guestbook example running in the following environment: jboss as 7. 1 . 1 final oracle jdk 1 .7.0_04 maven 3.0.4 objectdb 2.4.0_04 installed as a module of jboss No IDE is used ... .getAll", query="select g from guest.Guest g order | |
Issue deploying J6EE/Eclipse/Glassfish example to TomEE 1.5.1 In order to get past TomEE ignoring objectdb.jar, I tried using the objectdb-jee.jar. It seems to be hardcoded to assume it is being deployed into JBoss AS: ....snip.... Caused by: com.objectdb.o.UserException: Failed to use JTA (TransactionSynchronizationRegistry is not found) at com | |
Unable to convert 1.x odb file to 2.x Hi, my company is just about to switch from ObjectDB 1 .04.2487 (SE) to ObjectDB 2. So I ... well, but then on converting 1 of the DB files I got this error: java -jar converter.jar ../old.odb ../new.odb ObjectDB 1 .0 ... . Output of conversion: ObjectDB 1 .0 - 2.0 file conversion | |
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 ... a resource loading problem. ObjectDB cannot find TomEE's TransactionManager , which is required in order | |
Not Enhanced: ...: com.objectdb.o.TEX: Type ..._$$_javassist_1 is not found Mircea Chirac The exception is thrown during an attempt to load a class in order to check if it needs | |
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 | |
Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2 Hi. I have faced a very serious issue. After upgrading the GlassFish server from 3. 1 . 1 to 3. 1 .2 ... ) at com.n2nconnect.mm.jsf.controller.ProjFeedController$ 1 .createPageDataModel(ProjFeedController.java:60 ... more It seems that there is something wrong with persistent context. it seems that glassfish 3. 1 .2 behaves differently. I | |
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 | |
Glassfish 3.1.2.1 and ObjectDB 2.4.3 - The requested resource () is not available. I tried it on Glassfish server 3. 1 .2 and 3. 1 .2.2. Sometimes I ... INFO: Running GlassFish Version: GlassFish Server Open Source Edition 3. 1 .2 (build 23) INFO: Grizzly Framework 1 .9.46 started in: 33ms - bound to [0.0.0.0:8080] INFO: Grizzly Framework 1 .9.46 started in | |
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 | |
JPA vs JDO - which is more efficient for OneToMany queries? Assuming I grok the above, questions: 1 ) Do I need to explicitly set both ends, ie: customerX. orders ... and be statically typed. For example: Assume there are Customers and Orders . with JDO I would do this: @PersistenceCapable class Customer { Vector orders ; } class Order { } Whereas with JPA I tend | |
Persist error @ManyToMany how to define correct entities relationships Product(22,cat2); Product prod3 = new Product(32,cat1); Order ord1 = new Order ( 1 ,cust1,prod1); Order ... ; void test(){ Category cat1 = new Category( 1 ); Category cat2 = new Category(2); Category cat3 = new Category(3); Product prod1 = new Product( 1 ,cat1); Product prod2 = new Product(2,cat2); Product prod3 | |
jakarta.persistence.criteria.CriteriaQuery.getOrderList() of ordering expressions. Since: Jakarta Persistence (JPA) 1 .0 ... Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaQuery List getOrderList() Return the ordering expressions in order of precedence. Returns empty list if no ordering | |
jakarta.persistence.criteria.CriteriaQuery.select(Selection) order = q.from( Order .class); q.select( order .get("shippingAddress").get("state")); CriteriaQuery q2 = cb.createQuery(Product.class); q2.select(q2.from( Order .class) .join("items") .join("product ... and more than one selection item has the same assigned alias. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.criteria.CriteriaBuilder.SimpleCase Interface used to build simple case expressions. Case conditions are evaluated in the order in 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 | |
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.CriteriaBuilder.Case Interface used to build general case expressions. Case conditions are evaluated in the order in 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 | |
jakarta.persistence.Column field. If no Column annotation is explicitly specified, the default values apply. Example 1 : @Column ... public String getDescription() { return description; } Example 3: @Column(name = " ORDER _COST", updatable ... of type numeric or decimal . Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods | |
Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x, with object 1 .x, the same query was getting executed within an seconds and now the same is taking around 40 ... query.execute(param1, param2); This takes 1 second to execute using objectdb1.x, but the same takes ... objectdb explorer binitbhaskar Binit Bhaskar ObjectDB 2.x is usually faster than ObjectDB 1 .x | |
JBoss 7.1 and EAP 6 support I understand that keeping up with a new version can be difficult. Having said that, JBoss 7. 1 . 1 ... version by RedHat which is based on 7. 1 , has been released recently. I would really like to use ... with JBoss 7. 1 . 1 but was unable to get it to deploy. I also tried the recent releases of ObjectDB | |
Upgrade to 2.4.1_01 Hi, We tried to upgrade from 2.3.7_18 to 2.4. 1 _01 to pickup some fixes. We discovered that our code no longer works when using 2.4. 1 _01. We did some probing and found one thing. I have attached ... with 2.4. 1 _01, with each giving a different error. @Embedded gives: [ObjectDB 2.4. 1 _01] javax | |
jakarta.persistence.OrderBy.value_field_name] [ASC | DESC] If ASC or DESC is not specified, ASC (ascending order ) is assumed. If the ordering element is not specified, ordering by the primary key of the associated entity is assumed. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.criteria.CriteriaQuery.multiselect(Selection...) object corresponding to the arguments of the multiselect method, in the specified order ... the specified order . If the type of the criteria query is CriteriaQuery or if the criteria query ... , in the specified order . Parameters: selections - selection items corresponding to the results | |
jakarta.persistence.criteria.CriteriaQuery.multiselect(List) the specified order , will be instantiated and returned for each row that results from the query ... to the elements of the list passed to the multiselect method, in the specified order . If the type ... to the multiselect method, in the specified order . Parameters: selectionList - list of selection items corresponding | |
jakarta.persistence.AssociationOverride that is being overridden in order to specify it as part of the map value. If the relationship ... its join columns. Example 1 : Overriding the mapping of a relationship defined by a mapped superclass ... Persistence (JPA) 1 .0 Public Instance Methods ForeignKey foreignKey () (Optional) Used to specify | |
jakarta.persistence.AttributeOverride order to specify it as part of the map key or map value. To override mappings at multiple levels ... the same as in the original mapping. Example 1 : @MappedSuperclass public class Employee { @Id protected ... AssociationOverride Since: Jakarta Persistence (JPA) 1 .0 Public Instance Methods Column column () (Required | |
jakarta.persistence.OrderColumn.name Jakarta Persistence (JPA) Method in jakarta.persistence.OrderColumn String name() (Optional) The name of the ordering column. Defaults to the concatenation of the name of the referencing property or field; " _ "; " ORDER ". Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.criteria.CriteriaBuilder.asc(Expression,Nulls) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Order asc ( Expression expression , Nulls nullPrecedence ) Create an ordering by the ascending value of the expression. Parameters: expression - expression used to define the ordering | |
jakarta.persistence.criteria.CriteriaBuilder.desc(Expression,Nulls) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Order desc ( Expression expression , Nulls nullPrecedence ) Create an ordering by the descending value of the expression. Parameters: expression - expression used to define the ordering | |
queries more than 10 times slower using 2.8.1 versus 2.7.6 - we restarted to try to use 2.8. 1 instead of 2.7.6 - we did a doctor on the database ... in 2.7.6 around 5-10 seconds takes in 2.8. 1 around 150-200 seconds: SELECT DISTINCT o.parentNode ... .linkedObjects.objectNameUpper = "ORG" and o.linkedObjects.type = 1 and o.linkedObjects.state = 0 | |
jakarta.persistence.criteria.CriteriaBuilder.locate(Expression,String,int) if found. The first position in a string is denoted by 1 . If the string to be located is not found, 0 is returned. Warning: the order of the first two parameters of this method is reversed compared ... to be located from - position at which to start search Returns: expression corresponding to position. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.criteria.CriteriaBuilder.locate(Expression,Expression) position in a string is denoted by 1 . If the string to be located is not found, 0 is returned. Warning: the order of the parameters of this method is reversed compared to the corresponding function in JPQL ... Returns: expression corresponding to position. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.criteria.CriteriaBuilder.locate(Expression,String) in a string is denoted by 1 . If the string to be located is not found, 0 is returned. Warning: the order of the parameters of this method is reversed compared to the corresponding function in JPQL ... corresponding to position. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.criteria.CriteriaBuilder.locate(Expression,Expression,Expression) character if found. The first position in a string is denoted by 1 . If the string to be located is not found, 0 is returned. Warning: the order of the first two parameters of this method is reversed ... Returns: expression corresponding to position. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.criteria.ListJoin.index() element collection for which an order column has been defined. Returns: expression denoting the index. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.criteria.Path.get(String) the string-based API may need to specify the type resulting from the Path.get operation in order ... of the given name does not otherwise exist. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.StoredProcedureQuery.getResultList() if needed. A REF_CURSOR result set, if any, is retrieved in the order the REF_CURSOR parameter ... value set and only the statement is rolled back. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.StoredProcedureQuery.getSingleResult() if needed. A REF_CURSOR result set, if any, is retrieved in the order the REF_CURSOR parameter ... timeout value set and only the statement is rolled back. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.StoredProcedureQuery.getSingleResultOrNull() on the query if needed. A REF_CURSOR result set, if any, is retrieved in the order the REF_CURSOR parameter ... value set and only the statement is rolled back. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.Index.columnList Jakarta Persistence (JPA) Method in jakarta.persistence.Index String columnList() (Required) The columns included in the index, in order , following the BNF rule column_list given above. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.EntityManager.createStoredProcedureQuery(String,Class...) must be specified in the order in which the result sets is returned by the stored procedure invocation ... exist (or if query execution will fail). Since: Jakarta Persistence (JPA) 2. 1 | |
jakarta.persistence.EntityManager.createStoredProcedureQuery(String,String...) must be specified in the order in which the result sets is returned by the stored procedure ... procedure or result set mapping of the given name does not exist (or the query execution will fail). Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.EntityManager.createNativeQuery(String) if there is only one column in the select list.) Column values are returned in the order ... - a native SQL query string Returns: the new query instance. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.NamedStoredProcedureQuery.parameters Jakarta Persistence (JPA) Method in jakarta.persistence.NamedStoredProcedureQuery StoredProcedureParameter[] parameters() Information about all parameters of the stored procedure. Parameters must be specified in the order in which they occur in the parameter list of the stored procedure. Since: Jakarta Persistence (JPA) 1 .0 | |
jakarta.persistence.ConstructorResult.columns Jakarta Persistence (JPA) Method in jakarta.persistence.ConstructorResult ColumnResult[] columns() (Required) The mapping of columns in the SELECT list to the arguments of the intended constructor, in order . Since: Jakarta Persistence (JPA) 1 .0 | |
Issue with DISTINCT Select ORDER BY UPPER($ 1 .profile.lastName) But doesn't help us because we can't change our code.. and as ... : SELECT DISTINCT $ 1 FROM IndividualContact $ 1 LEFT JOIN $ 1 .profile $2 ORDER BY UPPER($2.lastName) By ... $ 1 .profile $2 ORDER BY UPPER($2.lastName) In this case (1,2a) and (1,2b) are represented in | |
ObjectDB 2.1.1ObjectDB 2.1.1 | |
combined index not used; [[objectdb.query-plan-var- order =p2,o,v$ 1 ,p1]] This hint enforces selecting a query ... -var- order =p1]] execution time around 60 seconds Query plan 1 /16 description ... .properties.doubleValue FROM Action a WHERE a.type = 0 and a.subType = 3 and a.state = 3 and a.endDate = ? 1 | |
each 1-2 days objects on some objectdb level lock/block each other each 1 -2 days we have the situation that our system changes to a completely underperforming mode ... % and around 200 threads hgzwicker Hans-Georg Zwicker According to the subject of this thread it happens every 1 -2 ... = 1 and c1.state = 0) or (c1.classIdentifier = '(TC)' and c1.objectNameUpper = 'CAM-ELECTRODES' and c1 |