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
|
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
|
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()
|
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
|
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
|
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:
|
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
|