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
Hi, I'm new here. Actually I'm new to Java application development, JDO and DataNucleus. But I've been writing code for over 20 years... the last 10 on OO, mostly Delphi. I've also done some JSP. But I now wanted to start using Java for local app ... [More] development (not webapps). So I installed NetBeans 6.0.1 and JDK 1.6.0_05 and started fooling around a bit with it. I developed some classes and ... [Less]
Posted almost 17 years ago
Hello all, today I downloaded the newest DataNucleus NightlyBuild (SNAPSHOT 1.0 2008-05-23) and tried to get it work under Windows (WinXP SP2) with MySQL (5.0.51a). Right at the start I get the following error: Failed to validate ... [More] SchemaTable for Schema "". Either it doesnt exist, or doesnt validate : Table 'nucleus_tables' already exists ... [Less]
Posted almost 17 years ago
Hello, I was reading through the PDF found here: http://www.datanucleus.org/presentations/jpox-db4o_icoodb_2008.pdf And saw the example on page 22 that has code like this: [code]Query q = pm.newQuery("Native", new Predicate() ... [More] .....)[/code] I don't see anything about a Predicate interface in the JDO JavaDocs. Can somebody please explain what is shown in that example? ... [Less]
Posted almost 17 years ago
Hello *, if a query contains JDOHelper.getObjectId(...), it fails with an IndexOutOfBoundsException: [color=red]java.lang.IndexOutOfBoundsException: Index: 2, Size: 2 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at ... [More] java.util.ArrayList.get(ArrayList.java:322) at org.datanucleus.store.mapped.expression.ScalarExpression$ExpressionList.getExpression(ScalarExpression.java:1083) ... [Less]
Posted almost 17 years ago
Hi guys, my schema: [code]Table term integer id (PK) varchar name Table term2term integer id (PK) integer term1_id (FK1) integer term2_id (FK2) varchar relationship_type[/code] my class: [code]Class Term{ int id; string name; set rel_type1; set rel_type2; }[/code] my metadata: [code]...
Posted almost 17 years ago
I am trying to achieve the same thing as in http://www.jpox.org/docs/1_2/jdo_orm/secondary_tables.html ...
Posted almost 17 years ago
Hi all, Can the jpox extension relation-discriminator-column (and related relation-discriminator-value) be only a VARCHAR type? I can't find a way to impose a different type (in my case INTEGER) and I get this error: [code]Incompatible data ... [More] type for column table.XXX : was INTEGER (datastore), but type expected was VARCHAR (metadata). Please check that the type in the datastore and ... [Less]
Posted almost 17 years ago
Hi, Using the server Tomcat 6.0.14 I got a problem. All times when I redeploy my app with the server running and I try access it again, occurs the following Exception: [code] org.jpox.store.exceptions.IncompatibleQueryElementTypeException: ... [More] Incompatible query element type org.jpox.store.exceptions.IncompatibleQueryElementTypeException: Incompatible query element type : was ... [Less]
Posted almost 17 years ago
Hello *, I've already mentioned this problem yesterday, but I think a separate thread for it makes sense: [color=red]java.lang.NullPointerException at org.datanucleus.sco.backed.Map.attachCopy(Map.java:431) at org.datanucleus.store.fieldmanager.AttachFieldManager.storeObjectField(AttachFieldManager.java:185) at ...
Posted almost 17 years ago
Using the native DB4O api, I can open a server on port zero, then open clients against that. That way I get multiple transactions open at once without having to start a db4o server outside of my processes. Reading ... [More] org.jpox.store.db4o.ConnectionFactoryImpl, it appears that this is not supported. I can not figure out how to compile jpox-db4o. Anyone have plans to support this or pointers on ... [Less]