12
I Use This!
Activity Not Available

News

Analyzed 8 months ago. based on code collected about 4 years ago.
Posted over 16 years ago
Hi, My needs are to store into a database some beans, which i dont know the type. The main problem sith JDO is the need of a configuration file for every class to store. Can JPOX help me to dynamically create the required Schema into a database and store a bean which even me dont know the type ? Thanks!
Posted over 16 years ago
Hey guys, it's me again, I'm trying to map an N:1 relationship between the following tables: Job (jobId, name, description) User (userId, firstName, lastName, age, jobId) Unfortunately, whenever I attempt to pull a User's job from a ... [More] controller, null is always returned. This has lead me to believe that I'm having a mapping problem. Here's my jdo descriptor: [code] ... [Less]
Posted over 16 years ago
hello, I can't enhance my classes. I use command line with UNIX (MACOSX) I try to enhance the classes of jpox-samples-jdo-tutorial after 1. Compile the classes (using javac as normal) putting the compiled classes into target/classes ... [More] (Book.class, Main.class, Product.class) 2. Copy jpox.properties into target/classes (done) 3. JDO Enhance the classes on Linux/Unix : java -cp ... [Less]
Posted over 16 years ago
Our application needs to do optimistic long transactions—basically it’s a two-tier *desktop* application where, within any single instance of the application, exactly *one* transaction is always active, in one thread, with only multiple objects from ... [More] a small set (around 10) of tightly cross-referenced classes. We need to be able to create/modify objects, persist them, and then *continue to modify ... [Less]
Posted over 16 years ago
Hey guys, I'm currently try to run a manual JPOX JDO enhancement on Windows, because the eclipse plugin for doing so doesn't support Dynamic Web Applications. Unfortunately I'm running into a little snag... The problem is most likely caused ... [More] moreso by my inexperience with Java than my inexperience with JPOX, but maybe you guys can help me out. Here's the command I'm using, as well as the ... [Less]
Posted over 16 years ago
Hi, i'm trying to get datanucleus running in an osgi environment (equinox) using the jpa interface. Now that everything should be clear (after hard work of dependency management) i get a ClassCastException. Maybe someone of you can help me out. ... [More] [code]java.lang.ClassCastException: org.datanucleus.jpa.PersistenceProviderImpl cannot be cast to javax.persistence.spi.PersistenceProvider ... [Less]
Posted over 16 years ago
Hello All, I am using JPOX 1.2.2, JDO2.1, BCEL Enhancer In my application I am using Optimistic Transaction, tx.setOptimistic(true); tx.begin(); pm.makePersistent(ontology) tx.commit(); Once persisted, before traversing through the ... [More] ontology graph, I set the transaction to active/begin. Now: JDOHelper.getObjectState(ontology); //Gives ---> hollow/persistent-nontransactional ... [Less]
Posted over 16 years ago
Hey everybody, I'm currently learning about JDO Persistence, and decided to check out the JPOX Tutorial for it (http://www.jpox.org/docs/guides/jdo/tutorial.html) while I write my own dynamic web project that uses it. I've been following the ... [More] instructions as well as I can (I'm pretty sure I have all of the required jars, my jdo.properties file is filled out, etc), but I keep getting one error ... [Less]
Posted over 16 years ago
Hello I'm trying to run the spatial tutorial with postgres. I succeeded in storing data, but I cannot retrieve then. I'm using JPOX 1.2.2 Here's a piece of code: [code] { ... tx.begin(); System.out.println("Retriving positions ... ... [More] Found:"); Query query = pm.newQuery(Position.class, "name != 'home'"); List list = (List) query.execute(); tx.commit(); } finally ... [Less]
Posted over 16 years ago
Hi, I got the error report from user of my app and in log the cause is the exception like below: javax.jdo.JDOUserException: Cant read fields outside of transactions. You may want to set 'NontransactionalRead=true'. FailedObject:2 at ... [More] org.jpox.state.jdo.Hollow.transitionReadField(Hollow.java:125) at org.jpox.state.StateManagerImpl.transitionReadField(StateManagerImpl.java:3394) at ... [Less]