12
I Use This!
Activity Not Available

News

Analyzed 8 months ago. based on code collected about 4 years ago.
Posted about 17 years ago
It seems to me, JPOX v 1.2.0-rc-1 has problems working with Date fields. In essence: 1) We mark PersistenceManagerFactory as detachAllOnCommit = true, copyOnAttach = false. 2a) We create new transaction 2b) We persist a newly-created object ... [More] [employee in given TestCase] with java.util.Date field 2c) We close the transaction 3) As far as I understand, now we have given employee in ... [Less]
Posted about 17 years ago
I just got this exception and JPOX asked me to report it so here it is: The JPOX version is a snapshot around 28 or 29 Jan 2008 (can't be sure exactly with the time difference between here and there) ERROR - Persistence - ... [More] [JPOX-052201] Object with id "236[OID]com.sas.av.model.gallery.Gallery" in table `GALLERY` has no version set on the object in memory and you want ... [Less]
Posted about 17 years ago
I have a problem with persistence. My program creates a PersistenceManagerFactory. Then it uses it to get a PersistenceManager with the following options set: this.persistenceManager.setDetachAllOnCommit(true); ... [More] this.persistenceManager.setCopyOnAttach(false); It's transaction is begun(.currentTransaction().begin()), and Objects are retrieved from the datastore. The Objects are ... [Less]
Posted about 17 years ago
Hi all, I have these 2 not related classes: [code]class Person { string name; string surname; int age; } class Flower { string commonName; string longName; }[/code] how can i get all the persons with the name that is ... [More] also the commonName of a flower, in JDOQL? after searching in the forum I think that the solution is something like this: [code]SELECT FROM ... [Less]
Posted about 17 years ago
It seems to me, the JPOX-core 1.2.0-rc1 has problems when working on Webspere Application Server, at least WAS v5.1. The reason is, when JPOX is initialized, we see in Websphere's System.out messages like this: [code]2008-01-15 17:25:52,24 [Thread-34] WARN J.Plugin - Could not find MANIFEST.MF file for plugin file ...
Posted about 17 years ago
I opened this thread for error (2) described [url=http://www.jpox.org/servlet/forum/viewthread?thread=4871&offset=0#27443]in this post[/url], because the other thread is already quite huge and deals mainly with the "Connection handle has been ... [More] closed and is unusable" problem. I've just worked around the MySQLIntegrityConstraintViolationException by adding some code like this ... [Less]
Posted about 17 years ago
I have tried the old JDO1.x unsupported query "find all Bs not referenced by any A", where A has a many->0,1 B unidirectional relation. I get the following exception using either a single string filter or the API approach. [code] ... [More] String subq = "SELECT this FROM timevar.DetailAssignementControl WHERE !(SELECT DISTINCT this FROM timevar.ChronoMaster WHERE ... [Less]
Posted about 17 years ago
Hi, I need to test a JDO layer and want to use end-to-end regression testing. I would prefer a testing framework with generic test generation, if something like this exists. I'm also interested in commercial products, if they offer better testing/configuration. What would you JDO experts use? Thanks!
Posted about 17 years ago
Hello *, I've just downloaded JPOX-1.2.0-rc-1 and gave it a try. Unfortunately, I get this very often: [code][color=red]137541 WARN ([email protected]) [Retrieve] [JPOX-052219] Fetch of object "org.nightlabs.jfire.idgenerator.IDNamespace@1e0ff1d" using statement "SELECT ...
Posted about 17 years ago
I am getting intermittent ClassCastException in JDOTransaction.commit. (see stack trace bellow). The exception is thrown from exception handling code itself, thus this problem only seen at certain condition which I cannot reproduce at will. It ... [More] looks like on following line of JDOTransaction.commit [code] 104 JPOXException ex = (JPOXException)jpe.getNestedExceptions()[0]; [/code] ... [Less]