ObjectDB Database Search

101-150 of 200 results

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

The drop code word does not work?

The drop code word does not work?

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

Issue deploying J6EE/Eclipse/Glassfish example to TomEE 1.5.1

Issue deploying J6EE/Eclipse/Glassfish example to TomEE 1.5.1

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_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

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

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

Hello, ObjectDB team! I am struggling with getting ObjectDB 2.5.0 to work with clean Apache Tomee 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

CRUD Database Operations with JPA

Given an EntityManager instance, em , which manages the persistence context for the database, you can use it to store, retrieve, update, and delete objects. Storing new entities The following code fragment stores 1,000 Point objects in the database: em. getTransaction (). begin (); for (int i = 0

JPA Relationships Annotations

Relationships define associations between entities. They are represented In Java code by attributes (persistent fields or properties) in persistent classes that hold a reference or a collection of references to other entities. Jakarta Persistence (JPA) provides annotations to configure

Paths and Types in JPQL and Criteria API

expressions in the preceding code can be divided into two main groups: FROM variable expressions

JPA Criteria API Queries

(); The Criteria API requires more code , especially for simple static queries. The equivalent JPQL query

JPA Persistence Unit

;file to define a persistence unit. You can now define a persistence unit entirely in Java code

Generating new activation code gives 500 server error

Generating new activation code gives 500 server error

jakarta.persistence.Basic

the Column annotation. Example 1 : @Basic protected String name; Example 2: @Basic(fetch = LAZY) protected ... discouraged. Newly-written code should use the date/time types defined in the package java.time , or the primitive array types char[] and byte[] . Since: Jakarta Persistence (JPA) 1 .0 Public Instance

jakarta.persistence.TemporalType

-written code should use the date/time types defined in java.time . Since: Jakarta Persistence (JPA) 1 ... java.sql.Date Since: Jakarta Persistence (JPA) 1 .0 TIME Map as java.sql.Time Since: Jakarta Persistence (JPA) 1 .0 TIMESTAMP Map as java.sql.Timestamp Since: Jakarta Persistence (JPA) 1 .0 Synthetic

ObjectDB 2.1.1

ObjectDB 2.1.1

jakarta.persistence.Temporal

is of such a temporal type. Example: @Temporal(DATE) protected java.util.Date endDate; Deprecated: Newly-written code should use the date/time types defined in java.time . Since: Jakarta Persistence (JPA) 1 .0 The JPA ... () The type used in mapping java.util.Date or java.util.Calendar . Since: Jakarta Persistence (JPA) 1

jakarta.persistence.MapKeyTemporal

: @OneToMany @MapKeyTemporal(DATE) protected Map employees; Deprecated: Newly-written code should use ... . Since: Jakarta Persistence (JPA) 1 .0 Annotation Elements This is a marker annotation with no members

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

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

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

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

[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

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

Step 2: Entity Class and Persistence Unit

to replace the new source file content with the following code : package guest; import java.io

Step 2: Define a JPA Entity Class

and paste to replace the new source file content with the following code : package guest; import java.io

Step 3: Define a Spring DAO Component

replace the content of the new source file with the following code : package guest; import java.util

Step 4: Add a Servlet Class

of the new source file with the following code : package guest; import java.io.IOException; import javax

Step 2: Define a JPA Entity Class

code : package guest; import java.io.Serializable; import java.sql.Date; import javax.persistence.Entity

Step 3: Define an EJB Session Bean

with the following code : package guest; import java.util.List; import javax.ejb.Stateless; import javax.persistence

Step 4: Add a Servlet Class

the new servlet class. Now replace the content of the new source file with the following code : package

Step 4: Add a Servlet Class

of the new source file with the following code : package guest; import java.io.IOException; import java

Which API should I use - JPA or JDO?

, tutorials and sample code . When to prefer JDO JDO might be preferred when portability to other object

[ODB1] Chapter 8 - ObjectDB Server

mode are discussed in Section 1 .2 . Because the JDO API and the format of the database file ... the connection URL string. 8. 1   Running an ObjectDB Server The ObjectDB server is a pure Java ... in the url connection string (as explained in section 5. 1 ) when connecting to the database