|
Re: cascade-update not working in my case
I didn't "confirm" anything. I simply said maybe it wasn't completed.
Either way, in v6.0 that option is renamed "cascade-attach" since it provides for JPA CascadeType.MERGE (which is basically JDO
I didn't "confirm" anything. I simply said maybe it wasn't completed.
Either way, in v6.0 that option is renamed "cascade-attach" since it provides for JPA CascadeType.MERGE (which is basically JDO
|
By
Andy
·
#428
·
|
|
AttributeConverter, column type mapping (DN5.2 + JPA + Rdbms)
Hello,
I'm mapping a field using a AttributeConverter. The data stored is a string (json format).
AttributeConverter<xxx,byte[]>Works great on MySQL. It's mapped on a medium
Hello,
I'm mapping a field using a AttributeConverter. The data stored is a string (json format).
AttributeConverter<xxx,byte[]>Works great on MySQL. It's mapped on a medium
|
By
stephane <passignat@...>
·
#427
·
|
|
Re: Problem with "IS EMPTY" in JPQL queries
Correct (so then it would be consistent with the IS NULL block just above).
You find whether that has an effect by running the test suites under the "tests" repository, particularly those under
Correct (so then it would be consistent with the IS NULL block just above).
You find whether that has an effect by running the test suites under the "tests" repository, particularly those under
|
By
Andy
·
#426
·
|
|
Problem with "IS EMPTY" in JPQL queries
Hi, I believe I have found a bug in the JPQLParser class, but I'm not entirely sure.
Considering a User class, with a nullable 1-1 link to a UserAccount class, and a collection of Contract objects in
Hi, I believe I have found a bug in the JPQLParser class, but I'm not entirely sure.
Considering a User class, with a nullable 1-1 link to a UserAccount class, and a collection of Contract objects in
|
By
william.martel@...
·
#425
·
|
|
Re: cascade-update not working in my case
Thanks Andy for the confirmation. Can we achieve the same the functionality through any other existing feature?
Thanks Andy for the confirmation. Can we achieve the same the functionality through any other existing feature?
|
By
pavansailendra04@...
·
#424
·
|
|
Re: cascade-update not working in my case
Maybe, since not a core JDO feature, nobody had time to implement it for 1-1 relations. Maybe there was no resource.
Maybe, since not a core JDO feature, nobody had time to implement it for 1-1 relations. Maybe there was no resource.
|
By
Andy
·
#423
·
|
|
Re: cascade-update not working in my case
I have debugged and tried adding another field.
Class log
{
private int id;
@Persistent(column = "userId", defaultFetchGroup = "true")
@Extensions({@Extension(vendorName = "datanucleus", key =
I have debugged and tried adding another field.
Class log
{
private int id;
@Persistent(column = "userId", defaultFetchGroup = "true")
@Extensions({@Extension(vendorName = "datanucleus", key =
|
By
pavansailendra04@...
·
#422
·
|
|
cascade-update not working in my case
Class log
{
private int id;
@Persistent(column = "userId", defaultFetchGroup = "true")
@Extensions({@Extension(vendorName = "datanucleus", key = "cascade-update", value = "false")})
private User
Class log
{
private int id;
@Persistent(column = "userId", defaultFetchGroup = "true")
@Extensions({@Extension(vendorName = "datanucleus", key = "cascade-update", value = "false")})
private User
|
By
pavansailendra04@...
·
#421
·
|
|
Re: Custom Value Generator is not working in 5.2
Hi Andy,
Pull Request created for this bug.
https://github.com/datanucleus/datanucleus-core/pull/406
Hi Andy,
Pull Request created for this bug.
https://github.com/datanucleus/datanucleus-core/pull/406
|
By
ponssaran@...
·
#420
·
|
|
Re: Custom Value Generator is not working in 5.2
It will be available in GitHub when I have time to translate what you have changed into something applyable. It won't be "released" until the next release, and since the last one was not long ago,
It will be available in GitHub when I have time to translate what you have changed into something applyable. It won't be "released" until the next release, and since the last one was not long ago,
|
By
Andy
·
#419
·
|
|
Re: Custom Value Generator is not working in 5.2
Hi Andy,
Will this be available in 5.2.x release?
Hi Andy,
Will this be available in 5.2.x release?
|
By
ponssaran@...
·
#418
·
|
|
Re: Custom Value Generator is not working in 5.2
Hi Andy,
I don't have access to github.com. I have attached the files modified for this fix. Verified with our product it is working as expected.
Modified files in 5.2
Hi Andy,
I don't have access to github.com. I have attached the files modified for this fix. Verified with our product it is working as expected.
Modified files in 5.2
|
By
ponssaran@...
·
#417
·
Edited
|
|
Re: the multi-morph feature of JPQL is not support when using jdoAPI?
As i said, the JPA spec defines JPQL and it does NOT say that this query should work, nor does it use the term 'multi morph' anywhere.
DataNucleus allows JPQL to be used with JDO. But that query
As i said, the JPA spec defines JPQL and it does NOT say that this query should work, nor does it use the term 'multi morph' anywhere.
DataNucleus allows JPQL to be used with JDO. But that query
|
By
Andy
·
#416
·
Edited
|
|
Re: the multi-morph feature of JPQL is not support when using jdoAPI?
Hi, Andy, it works in a lot of cases but not this case. And it is mentioned in the document https://www.datanucleus.org/products/accessplatform_5_2/jdo/query.html#jpql. as a datanucleus extension.
Hi, Andy, it works in a lot of cases but not this case. And it is mentioned in the document https://www.datanucleus.org/products/accessplatform_5_2/jdo/query.html#jpql. as a datanucleus extension.
|
By
WeiMing.Tang@...
·
#415
·
|
|
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
·
|