12
I Use This!
Activity Not Available

News

Analyzed 8 months ago. based on code collected about 4 years ago.
Posted almost 17 years ago
Hello all, I'm having a problem using java.sql.Timestamp as a field type in a PC of mine. I'm running v1.2.0. Here's the relevant parts of the class: [code]@PersistenceCapable(identityType = IdentityType.APPLICATION, objectIdClass = ... [More] AbstractSensorValue.PK.class, detachable = "true") @Inheritance(strategy = InheritanceStrategy.NEW_TABLE) @Discriminator(strategy = ... [Less]
Posted almost 17 years ago
I'm trying to persist an enum using it's ordinal I have an enum defined as: public enum Gender { Male, Female } The class I'm trying to map is @PersistenceCapable(detachable="true") public class Person{ ... [More] @Persistent(serialized="false") @Column(sqlType="integer") private Gender gender; // lots of other members } However, the column ... [Less]
Posted almost 17 years ago
Hello, when I use [b]list.remove(element)[/b] with an element that isn't contained in the list the return value is true and after a tx.commit() a JDOException is thrown. Why is the return value true and not false? Note: It is the same question ... [More] as in [url=http://www.jpox.org/servlet/forum/viewthread?thread=2962#19501]this post[/url], but because of the database failure there are no replies. ... [Less]
Posted almost 17 years ago
Hello, First of all, congratulations on the JPOX 1.2.0 release!!!! It's a very impressive release. I was researching persistence mechanisms the other day and came across an article in an IEEE trade magazine that compared JPOX, Hibernate, and ... [More] JPA (apparently using TopLink as the JPA persistence provider). I was surprised by the results. I know it's subjective, but they rated JPOX as ... [Less]
Posted almost 17 years ago
Hello jpox forum! I've got some questions regarding the use of JDO/JPOX in web applications - what are the best practices you discovered in your projects, what are the usage patterns that evolved? Preconditions for our discussion: - the view is ... [More] separated from the business logic -- actions (controller) handle the view-specific part of our web application -- services handle the business ... [Less]
Posted almost 17 years ago
Hi! I have written an application with a single persistence manager per application using optimistic locking. I notice the following behavior with two running instance of the application: 1.) app1 queries the DB and loads the objects 2.) app2 ... [More] queries the DB and loads the objects 3.) app1 modifies an object => data and version number is modified in the DB. 4.) app2 queries the DB and ... [Less]
Posted almost 17 years ago
I've just upgraded to 1.2 final and I now get compile errors: [javac] C:\dev\blah\.... MyClass.java:377: package org.jpox.identity does not exist [javac] org.jpox.identity.OID oid = new org.jpox.identity.OIDImpl(oidString); but the ... [More] migration notes say for moving from 1.2.0-rc-1: Moving from JPOX 1.2.0-rc-1 to 1.2.0 will involve no changes Has the identity package been ... [Less]
Posted almost 17 years ago
I'm trying to generate a schema using ant & SchemaTool but I'm getting the error: [b]SEVERE: [JPOX-044080] Class com.imilia.jdo.DomainEntity has MetaData yet the class cant be found. Please check your CLASSPATH specifications.[/b] I can ... [More] generate the schema with the eclipse plugin so all my classes and mappings are correct and I'm referencing the same output directory as eclipse - so the ... [Less]
Posted almost 17 years ago
Hello, While profiling my application looking for a possible memory leak I found something interesting. The application is based on JPOX for the persistence layer and Apache Wicket for the view layer. I tried running our selenium test suite ... [More] (120 test cases) multiple times against the application deployed in Jetty without ever stopping it. The end result obtained profiling the ... [Less]
Posted almost 17 years ago
[img]http://www.jpox.org/images/fireworks2.gif[/img] After 22 months of refactoring and feature enhancement JPOX 1.2.0 is out, a fully compliant implementation of the JDO1, JDO2, JDO2.1 and JPA1 specifications - the most standards complaint open ... [More] source Java persistence implementation in existence. This release allows persistence to all major RDBMS datastores, as well as DB4O datastores. For a ... [Less]