ObjectDB Database Search

51-100 of 200 results

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

Getting Unexpected internal exception when updating entity in MEM db

Hi, I am using mem db. When am doing Merge operation getting "com.objectdb.o.InternalException: Unexpected internal exception" this exception for some cases.Can you please explain me the reason. Please find the below stack trace for your reference. Caused by: com.objectdb.o.InternalException

Getting com.objectdb.o.UserException:

I am using the object db version 2.x in a web application that runs on tomcat4. I am using the default configuration file. I am getting the follwing error when I launch the application. Please help. com.objectdb.o.UserException: Failed to create a new file 'file:C:\Program Files (x86)\Apache Group

Getting the database file size

and it supports getting the file size and the total number of entity objects by queries: try

Slave server not getting deletes

I have a Master and Slave Server and the slave server is getting the persists, but when I do a delete query, the records don't get deleted "delete from TestTable t " When I insert a record, then delete it, then re-insert it again, the slave server will give this error because the record did not

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

Puzzler: Not getting cascades on read from Spring context

Puzzler: Not getting cascades on read from Spring context

Low performance when getting grove roots

Low performance when getting grove roots

Getting Foreign Key

Getting Foreign Key

Getting exception while executing the Query

Getting exception while executing the Query

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

Upgrade to 2.4.1_03

Right, that fix to 2.4. 1 _02 got us past the previous issue. Now I'm not sure ... is: [ObjectDB 2.4. 1 _03] javax.persistence.PersistenceException Failed to clear field property com ... .FrameworkMethod$ 1 .runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model

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

Upgrade to 2.4.1_02

Hi there, The upgrade to 2.4. 1 _02 fixed the initial problem ... Sorry forgot the stack trace: [ObjectDB 2.4. 1 _02] javax.persistence.PersistenceException Failed ... ) at org.junit.runners.model.FrameworkMethod$ 1 .runReflectiveCall(FrameworkMethod.java:44) at org.junit

objectdb:2.8.4 & 2.6.1.b06 backward compatibility

We are decided to move our products from 2.6. 1 .b06 to 2.8.4, could you confirm that new objectDb 2.8.4 is fully compatible with many already created databases based on 2.6. 1 ? So, it means that we need to be sure that new objectDb 2.8.4 could read/write to databases created by 2.6. 1 . Please confirm

javax.transaction-api-1.3.jar and javax.persistence-api.2.2.jar

Hi, I notice that objectdb zip file has: javax.transaction-api- 1 .3.jar However that library has moved to jakarta.transaction-api and is now on version 2.0. 1 Questions: a) Do I need this library at all? b) If I do need it, do I use jakarta.transaction-api 1 .3 or 2.0. 1 ? Similarly java

Is persistence version 2.1 supported?

.sax.SAXParseException; lineNumber: 10; columnNumber: 135; cvc-elt. 1 : Cannot find the declaration ... .createEntityManagerFactory(Persistence.java:54) but reverting to version 1 .0 makes the error go away.     freddieFishCake Jonathan Lister Thank you for this report. Support of JPA 2. 1 format

objectdb explorer in ver 2.2 and 1.0

You are right - some important features of ObjectDB 1 .0 Explorer are not implemented yet in ObjectDB 2.2 ... to the Explorer in future versions. Support of ObjectDB 1 .x is now limited, so new application should only use ObjectDB 2.x. Notice that ObjectDB 2.x also supports JDO better (JDO 2 instead of JDO 1 ). support Support

JVM crash when using IBM JDK 1.6.0

The FAQ states in the system requirements only that a JDK/JRE 1 .5 or 1 .6(prefered) is required. When I try to use the IBM JDK 1 .6.0 I get a GPF exception while creating the entity manager. Looks like a call to putInt on sun.misc.Unsafe object Does this mean there is a BUG in the IBM JDK or are not

JPA 2.1 and AttributeConverter

Hello :-). Are there any plans to support JPA 2. 1 ? I would wish to have a support for @AttributeConverter. Bot01 Frantisek Novak The general plan is to support future versions of JPA so probably JPA 2. 1 features will also be supported. support Support Thanks for the answer. And is there current

ObjectDB version 2.1 has been released

ObjectDB 2. 1 has been released and it includes important additions and fixes: Added Online Backup utility ( issue #16 ). Added Master-Slave  Replication / Clustering (issue #17 ). Added a PDF version of the ObjectDB manual (included in the download). Added sample (tutorials) Maven projects

Verify Error with Java 1.7

ObjectDB enhanced classes fail when compiled to Java 1 .7 [ObjectDB 2.2.9_08 Enhancer] 28 persistable types have been enhanced: ... com.vaisala.jx.db.gdm.model.SourceType stack trace from jUnit test com.vaisala.jx.db.gdm.facade.BaseFacadeTest  Time elapsed: 0 sec 

javax.transaction.Synchronization with Java SE 10.0.1

(using Java SE 10.0. 1 ). So I tried to track down why it is not found via runtime and discovered

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

ObjectDB 2.1.1

ObjectDB 2.1.1

jakarta.persistence.criteria.MapJoin

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 ... Persistence (JPA) 1 .0 Predicate equalTo ( Expression value ) Create a predicate to test

jakarta.persistence.criteria.ListJoin

- alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform ... : new expression of the given type. See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 ... . Since: Jakarta Persistence (JPA) 1 .0 Fetch fetch ( SingularAttribute attribute , JoinType jt ) Create

jakarta.persistence.criteria.PluralJoin

Returns: 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 ... Persistence (JPA) 1 .0 Fetch fetch ( SingularAttribute attribute , JoinType jt ) Create a fetch join

jakarta.persistence.criteria.SetJoin

Returns: 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 ... . Since: Jakarta Persistence (JPA) 1 .0 Fetch fetch ( SingularAttribute attribute , JoinType jt ) Create a fetch

jakarta.persistence.criteria.CollectionJoin

Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression ... Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type, returning ... : the resulting fetch join. Since: Jakarta Persistence (JPA) 1 .0 Fetch fetch ( SingularAttribute attribute

jakarta.persistence.criteria.Join

Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence (JPA) 1 .0 Expression ... Persistence (JPA) 1 .0 Expression cast ( Class type ) Cast this expression to the specified type ... : the resulting fetch join. Since: Jakarta Persistence (JPA) 1 .0 Fetch fetch ( SingularAttribute attribute

jakarta.persistence.criteria.Root

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 ... : the resulting fetch join. Since: Jakarta Persistence (JPA) 1 .0 Fetch fetch ( SingularAttribute

jakarta.persistence.criteria.From

. Since: Jakarta Persistence (JPA) 1 .0 Expression as ( Class type ) Perform a typecast ... type. See Also: .cast(Class) Since: Jakarta Persistence (JPA) 1 .0 Expression cast ( Class type ... ) 1 .0 Fetch fetch ( SingularAttribute attribute , JoinType jt ) Create a fetch join to the specified

Retrieving JPA Entities

object with a primary key of 1 : Employee employee = em. find (Employee.class, 1 ); You do not need ... version of find : Employee employee = em. getReference (Employee.class, 1 ); The getReference method ... might contain a hollow Employee entity: Employee employee = em. find (Employee.class, 1 ); Employee managed

JPA Optimistic and Pessimistic Locking

entity is 1 when it is first stored in the database. In every transaction where an entity  ... with this mode marks the clean entity as modified (dirty) and increments its version number by 1 ... employee = em. find ( Employee.class, 1 , LockModeType . PESSIMISTIC_WRITE ); Similarly, the refresh

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

ArrayIndexOutOfBoundsException: -1

I've attached a test which fails with the error "ArrayIndexOutOfBoundsException: - 1 ". It runs 10 ... . I'm running with 64bit JVM 1 .6.0_30 on windows 7 The first thread to fail output the following stacktrace: java.lang.ArrayIndexOutOfBoundsException: - 1 at com.objectdb.o.HTB.t(HTB.java:448) at com

Regression bug in using version 2.4.5 with GlassFish 3.1.2

Can't deploy objectDB ver 2.4.5 or later using GlassFish 3. 1 .2, NetBeans 7.2. 1 Win 7 & 8. ObjectDB Version 2.4.4 is working good. [#|2012-12-18T05:26:53.167-0800|SEVERE|glassfish3. 1 .2|javax ... . (PersistenceUnitLoader.java:120) at org.glassfish.persistence.jpa.JPADeployer$ 1 .visitPUD(JPADeployer.java:224

[ObjectDB 2.5.1_05] Unexpected exception (Error 990)

I have this error in log. The query can't return result. Thanks for help. LOG: [ObjectDB 2.5. 1 _05] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Server VM 1 .7.0_55 (on Windows Server 2008 R2 6. 1 ). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb

[ObjectDB 2.8.1] Unexpected exception (Error 990)

[ObjectDB 2.8. 1 ] Unexpected exception (Error 990) Generated by OpenJDK 64-Bit Server VM 1 .8.0_212 (on Linux 5.0.0-27-generic). Please report this error on http://www.objectdb.com/issue/new com ... .persist(EMImpl.java:415) at javax.persistence.EntityManager$persist$ 1 .call(Unknown Source) at org

[ObjectDB 2.4.1] Unexpected exception (Error 990) on getObjectById

In this code: String id = "my key"; ABC itemDb = pm.getObjectById(ABC.class, id); I get this: [ObjectDB 2.4. 1 ] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1 .6.0_29 (on Windows 7 6. 1 ). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o

JDOQL Subqueries (JDO 2.1)

Subqueries (nested queries) have been added to JDOQL (JDO Query Language) in JDO 2. 1 . This is the main feature of JDO 2.0-2. 1 -2.2 that is not implemented yet in ObjectDB 2. support Support

query only reports 1 result

2.7.2_01 suddenly some queries do only have 1 result even there are more results (you can use the database that you have from #308):   this query gives 1 result even there are a lot more: select o from ObjectNode o where o.classIdentifier = '(OP)' and o.state = 98 and o.type = 0 and o

ObjectDB 2.2.1

Added support for using ObjectDB with JBoss AS 6.0 / 6. 1 . Fixed several bugs in handling eager fetch. Fixed a pessimistic locking bug . Fixed a bug in using primary key fields in queries. Fixed a bug in queries on deleted objects before commit / flush.

[ODB1] Chapter 6 - Persistent Objects

Persistence objects represent data in the database. 6. 1   Making Objects Persistent In ... of the first object in the database is always 1 , the ID of the second object is 2 ... ("@"); Object oid = pm.newObjectIdInstance(Class.forName(s[0]), s[ 1 ]); Person person = (Person)pm