Questions tagged [jdoql]

JDOQL is the query language of the JDO persistence API. JDOQL is designed as the Java developers way of having the power of SQL queries, yet retaining the Java object relationship that exist in their application model.

JDOQL is the query language of the JDO persistence API. JDOQL is designed as the Java developers way of having the power of SQL queries, yet retaining the Java object relationship that exist in their application model.

84 questions
0
votes
1 answer

Weird "com.vividsolutions.jts.geom.Geometry" ClassNotResolvedException exception

I'm performing a JDOQL query that could look a bit complex: Query q = pm.newQuery(IxlTest.class, "id == :tId && parameterGroups.get(oGroup.key).contains(tp) && oGroup.contains(opt) && opt.displayInResults"); q.setResult("oGroup,…
Muhammad Gelbana
  • 3,890
  • 3
  • 43
  • 81
0
votes
1 answer

DataNucleus JDO reverse datastore 1:1 mapping with foreign keys

I have a DataNucleus project and I am using JDO to reverse map a datastore to my classes. I do this very easily with: package com.sample; import javax.jdo.annotations.PersistenceCapable; import…
littleK
  • 19,521
  • 30
  • 128
  • 188
0
votes
1 answer

Generating sequence number in mongoDB

I am using java,Datanucleus,mongodb and JDO in my project. I have a requirement where I should generate sequence number and store it in DB. I was going through various links and found that DataNucleus supports the automatic assignment of sequence…
Abhinav
  • 1,720
  • 4
  • 21
  • 33
0
votes
3 answers

GAE Datastore and security risks with JDOQL

I just started working on a project that will run on google app engine (GAE). I'm using java (wicket) with some ajax. I'm experienced with relational databases and typically use something like iBatis. When going through the docs and examples for…
Nick
  • 1,340
  • 1
  • 15
  • 23
0
votes
2 answers

Unknown error in Google app engine when Quering datastore

I have below code to get values from datastore in google app engine. PersistenceManager pm = JDOUtil.get().getPersistenceManager(); Extent extent = pm.getExtent(LeaderBoard.class, true); Query q = pm.newQuery(extent); q.setFilter("game…
0
votes
1 answer

JDOQL: How to execute "CREATE USER"?

I'm trying to create a USER (in this case using a H2 database) using JDOQL in DataNucleus PersistenceManager pm=pmf.getPersistenceManager(); Query query = pm.newQuery("javax.jdo.query.SQL", "CREATE USER GUEST PASSWORD…
marcolopes
  • 9,232
  • 14
  • 54
  • 65
0
votes
1 answer

JDOQL regex support

Does JDOQL support ^ for matching the start and $ for matching the end? I am having troubles getting them to work. Are ^ and $ maybe already implied?
Timo Westkämper
  • 21,824
  • 5
  • 78
  • 111
0
votes
1 answer

Trouble querying List child field in GAE JDO

I've seen many examples but none seem to work for my issue. I'm using JDO in GAE (Java). I'm not geting any error messages. I'm just not getting a result when I know there should be or else the result matches objects with an empty List for…
-1
votes
1 answer

How to remove discriminators from where clause in request?

I have a parent class declared like that: @PersistenceCapable(table = "S_ROT_CLASS") @Inheritance(strategy = InheritanceStrategy.NEW_TABLE) @Discriminator(strategy = DiscriminatorStrategy.VALUE_MAP, column = "CLASS_ID", value =…
padpanik
  • 3
  • 2
1 2 3 4 5
6