|
Re: the multi-morph feature of JPQL is not support when using jdoAPI?
No, there is nothing in the JPA spec that says that.
If you want it then get the code and contribute it
No, there is nothing in the JPA spec that says that.
If you want it then get the code and contribute it
|
By
Andy
·
#414
·
|
|
Re: the multi-morph feature of JPQL is not support when using jdoAPI?
HI, Andy, for using jdo api to do jpaql, we have legacy project which has a lot of jdoql and jpql at the same time. In the past, we used KODO+open jpa at the same time, Now, when we change to
HI, Andy, for using jdo api to do jpaql, we have legacy project which has a lot of jdoql and jpql at the same time. In the past, we used KODO+open jpa at the same time, Now, when we change to
|
By
WeiMing.Tang@...
·
#413
·
|
|
Re: the multi-morph feature of JPQL is not support when using jdoAPI?
Hi, Andy, Thanks for answering. What I expect is when I run "select t from izone.adams.model.messaging.SMSMessageAbstract t where t.creationDate>=:p_startDate ", I should be able to get result
Hi, Andy, Thanks for answering. What I expect is when I run "select t from izone.adams.model.messaging.SMSMessageAbstract t where t.creationDate>=:p_startDate ", I should be able to get result
|
By
WeiMing.Tang@...
·
#412
·
|
|
Re: Custom Value Generator is not working in 5.2
Right, so if that is important for you on 5.2 then please provide a Pull Request.
Right, so if that is important for you on 5.2 then please provide a Pull Request.
|
By
Andy
·
#411
·
|
|
Re: the multi-morph feature of JPQL is not support when using jdoAPI?
Define what you mean by "multi-morph feature of JPQL"? Provision of JPQL within JDO provides features that DataNucleus core/rdbms provide, just as JPQL within JPA/Jakarta.
I can't say I ever see a
Define what you mean by "multi-morph feature of JPQL"? Provision of JPQL within JDO provides features that DataNucleus core/rdbms provide, just as JPQL within JPA/Jakarta.
I can't say I ever see a
|
By
Andy
·
#410
·
|
|
the multi-morph feature of JPQL is not support when using jdoAPI?
We have :
@PersistenceCapable
@Inheritance(strategy= InheritanceStrategy.SUBCLASS_TABLE)
@DatastoreIdentity(strategy= IdGeneratorStrategy.SEQUENCE, sequence="jdoid_seq",
We have :
@PersistenceCapable
@Inheritance(strategy= InheritanceStrategy.SUBCLASS_TABLE)
@DatastoreIdentity(strategy= IdGeneratorStrategy.SEQUENCE, sequence="jdoid_seq",
|
By
WeiMing.Tang@...
·
#409
·
|
|
Re: Custom Value Generator is not working in 5.2
Hi Andy,
Thanks for the reply.
Following is the plugin.xml that we are using, it has unique=true.
<?xml version="1.0"?>
<plugin id="xyz" name="DataNucleus plug-ins" provider-name="XYZ">
<extension
Hi Andy,
Thanks for the reply.
Following is the plugin.xml that we are using, it has unique=true.
<?xml version="1.0"?>
<plugin id="xyz" name="DataNucleus plug-ins" provider-name="XYZ">
<extension
|
By
ponssaran@...
·
#408
·
|
|
Re: Custom Value Generator is not working in 5.2
Sure some classes have been refactored over the years, but then since people can't be bothered to "get involved" with open source then docs don't get updated sometimes.
As can be seen here, any plugin
Sure some classes have been refactored over the years, but then since people can't be bothered to "get involved" with open source then docs don't get updated sometimes.
As can be seen here, any plugin
|
By
Andy
·
#407
·
|
|
Custom Value Generator is not working in 5.2
The Datanucleus Guide for Value Generator is old and does not correspond to 5.2 API
https://www.datanucleus.org/products/accessplatform_5_2/extensions/extensions.html#store_valuegenerator
There is no
The Datanucleus Guide for Value Generator is old and does not correspond to 5.2 API
https://www.datanucleus.org/products/accessplatform_5_2/extensions/extensions.html#store_valuegenerator
There is no
|
By
ponssaran@...
·
#406
·
|
|
Re: javax.jdo (JDO API) 3.2.0-release
That is Apache JDO, not the DN version of the API jar (what this is talking about). They will only release their version of the API jar at some point in the future when they have their spec
That is Apache JDO, not the DN version of the API jar (what this is talking about). They will only release their version of the API jar at some point in the future when they have their spec
|
By
Andy
·
#405
·
Edited
|
|
Re: javax.jdo (JDO API) 3.2.0-release
A few things i noticed when browsing about JDO 3.2
1) Not available yet on http://db.apache.org/jdo/downloads.html
2) All "Relation" links are broken (point to DN website)
A few things i noticed when browsing about JDO 3.2
1) Not available yet on http://db.apache.org/jdo/downloads.html
2) All "Relation" links are broken (point to DN website)
|
By
marcolopespt@...
·
#404
·
|
|
javax.jdo (JDO API) 3.2.0-release
With JDO API v3.2 pretty much feature complete finally (and DataNucleus v5.2 and 6.0 passing the JDO TCK, as they have at all points in its development) we have now released v3.2.0-release of our
With JDO API v3.2 pretty much feature complete finally (and DataNucleus v5.2 and 6.0 passing the JDO TCK, as they have at all points in its development) we have now released v3.2.0-release of our
|
By
Andy
·
#403
·
|
|
Re: JDOQL Subquery failing
Intentional.
JDO Query programmatic "API" with separated items for "from", "filter", "result" etc never had subqueries in JDO1, and when subqueries were added in JDO2 they were specifiable using that
Intentional.
JDO Query programmatic "API" with separated items for "from", "filter", "result" etc never had subqueries in JDO1, and when subqueries were added in JDO2 they were specifiable using that
|
By
Andy
·
#402
·
Edited
|
|
Re: JDOQL Subquery failing
Thanks for the link. I'll take a closer look at them.
I did notice that none of the examples I had found added a subquery filter to a parent query. I wasn't sure if that was for clarity or by
Thanks for the link. I'll take a closer look at them.
I did notice that none of the examples I had found added a subquery filter to a parent query. I wasn't sure if that was for clarity or by
|
By
ebenzacar@...
·
#401
·
|
|
Re: JDOQL Subquery failing
Ample examples of JDO subqueries in these tests. Note that none of the DN docs or these examples codes a subquery text into a "filter" clause of the parent query; they either single-string the whole
Ample examples of JDO subqueries in these tests. Note that none of the DN docs or these examples codes a subquery text into a "filter" clause of the parent query; they either single-string the whole
|
By
Andy
·
#400
·
|
|
JDOQL Subquery failing
I'm trying to get a complex query working with a subquery in the filter which is failing in the JDOQL Parser. I have diluted it to a very simple use case with a subselect which is failing as well.
I'm trying to get a complex query working with a subquery in the filter which is failing in the JDOQL Parser. I have diluted it to a very simple use case with a subselect which is failing as well.
|
By
ebenzacar@...
·
#399
·
Edited
|
|
Anyone using Redis or Hazelcast as a distributed L2 caching solution?
I need a distributed L2 caching solution and I've narrowed my options down to the big 3:
- Redis
- HazelCast
- EhCache/Teracotta
Although I've used Teracotta several years ago, I've somewhat
I need a distributed L2 caching solution and I've narrowed my options down to the big 3:
- Redis
- HazelCast
- EhCache/Teracotta
Although I've used Teracotta several years ago, I've somewhat
|
By
ebenzacar@...
·
#398
·
|
|
Re: Lazy loaded objects fetching from cache even cache is off
The log entries are incomplete.
You still haven't defined what you are invoking. Only by you DEFINING simple classes, and what operation, and seeing persistence code can anyone have a chance of
The log entries are incomplete.
You still haven't defined what you are invoking. Only by you DEFINING simple classes, and what operation, and seeing persistence code can anyone have a chance of
|
By
Andy
·
#397
·
|
|
Re: Lazy loaded objects fetching from cache even cache is off
Hi Andy,
Below are the logs
Using query to fetch user setting cache false
Query "SELECT FROM User WHERE userId == USERID PARAMETERS Integer USERID FetchPlan [default]" of language "JDOQL" has
Hi Andy,
Below are the logs
Using query to fetch user setting cache false
Query "SELECT FROM User WHERE userId == USERID PARAMETERS Integer USERID FetchPlan [default]" of language "JDOQL" has
|
By
pavansailendra04@...
·
#396
·
|
|
Re: Lazy loaded objects fetching from cache even cache is off
The LOG tells you where objects come from. So post the relevant bits of the LOG for the retrieve, then there is basis for comment. And while you're at it, post the actual PM calls, since ignoreCache
The LOG tells you where objects come from. So post the relevant bits of the LOG for the retrieve, then there is basis for comment. And while you're at it, post the actual PM calls, since ignoreCache
|
By
Andy
·
#395
·
Edited
|