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
Code snipped from org.jpox.enhancer.tools.EnhancerTask#setDestination(...) (1.2.0-rc-1) [code] public void setDestination(File destdir) { if (destdir != null && destdir.length() > 0) { ... [More] createArg().setValue("-d"); createArg().setFile(destdir); log("Enhancer destdir: " destdir, Project.MSG_VERBOSE); ... [Less]
Posted almost 17 years ago
I saw that Jpox supports DBCP,C3P0, Proxool among others, but by your experience, what's the best connection pool library to work with jpox? Which one is the best to work with jpox latest release? Is there any way of programaticly control the ... [More] properties of the connection pool library, or it has allways to be done by a configuration file? Thanks on Advance, Paulo [Less]
Posted almost 17 years ago
Simple question: where can I get a jar containing the JDO annotations? I have the following jars in my classpath jpox-core-1.2.0-rc-1.jar (downloaded from jpox) jpox-java5-1.2.0-rc-1.jar (downloaded from jpox) jdo2-api-2-1.0.jar (downloaded ... [More] from apache) According to the documentation at (http://www.jpox.org/docs/1_2/jdo/annotations.html) all i need are the first two jars. What's ... [Less]
Posted almost 17 years ago
I have a strange problem with getting a Date from an Oracle 10g database. Perhaps it has something to do with the leap year? I have a object with a Date field with the value "29. Feb 2008". In one transaction I do two times a pm.getObjectById for ... [More] this object. After the first getObjectById the date shows as 29. Feb 2008 AD. After the second getObjectById the date shows as 1. Mar ... [Less]
Posted almost 17 years ago
It seems that Derby (v10.1.3.1) does not support passed parameters being used in its YEAR(...) method. When executing a JDOQL with "someParam.getYear()" in it, I get the exception below. Is there a workaround for this or should I bug the Derby ... [More] folks about it? The exception: [code]javax.jdo.JDODataStoreException: [JPOX-042007] Error executing JDOQL query "SELECT ... [Less]
Posted almost 17 years ago
Hi, I have modified the JPOX hotel sample to test the handling of detached objects in bidirectional relations and optimistic transactions. I create a Hotel, persist it and close the transaction (this detaches the Hotel because I'm using ... [More] DetachAllOnCommit). Afterwards I set a collection of Rooms on the detached Hotel and make it persistent. On commit I get the following exception (also if ... [Less]
Posted almost 17 years ago
Persisting objects that are referenced by different instances of other Classes in a Set fail for complex object graphs. Setup: * Two Container-Classes: "Relation" and "Person" * One Node-Class: "Node" that represents a bidirectional link in ... [More] order to navigate from Relation to Person and vice versa. * Relation has 0..* dependend Nodes * Person has 0..* dependend ... [Less]
Posted almost 17 years ago
Hi all: I don't know if I doing this well. I explain my problem and then my solution. Suppouse I we have class A that is the parent class of B. Both are persistent and use a new-table strategy for it's persistence. [code] ... [More] @PersistenceCapable(identityType=IdentityTypeValue.APPLICATION) public class A{ @Field(primaryKey=true, valueStrategy=IdGeneratorStrategy.IDENTITY) protected ... [Less]
Posted almost 17 years ago
Hi everybody, i have noticed a bug (it seems to be a bug) when you try to do select queries : It just an test exemple of my problem (log from JPOX) [code]DEBUG [main:60 ] JPOX.Query - [JPOX-042010] JDOQL Single-String with "SELECT UNIQUE FROM ... [More] x.y.Site WHERE street=="rue jean cottin" && houseNumber=="15"" DEBUG [main:60 ] JPOX.Query - [JPOX-021044] ... [Less]
Posted almost 17 years ago
Somewhere in my jdo specification i have the following entry: and this generates the ...