|
Re: To set length of Datanucleus db2 column of type CLOB to 1M
Hello,
Thank you Andy for your response.
It creates your schema with that in a column - yes
I checked the code changes provided by you and it looks like it was removed so that it takes the
Hello,
Thank you Andy for your response.
It creates your schema with that in a column - yes
I checked the code changes provided by you and it looks like it was removed so that it takes the
|
By
mayank.chawla@...
·
#202
·
|
|
Re: To set length of Datanucleus db2 column of type CLOB to 1M
Hello,
what was in some version from 2010 I've little interest in. You can trace code changes in SourceForge (ancient code) and GitHub (recent code). Likely it is this change.
Perhaps you can provide
Hello,
what was in some version from 2010 I've little interest in. You can trace code changes in SourceForge (ancient code) and GitHub (recent code). Likely it is this change.
Perhaps you can provide
|
By
Andy
·
#201
·
Edited
|
|
To set length of Datanucleus db2 column of type CLOB to 1M
Hello,
I am migrating from Datanucleus version 2.0.4 to 5.x. In 2.0.4 version, length for DB2, CLOB columns used to come as "1M" when schema gets created. Now, in 5.2.3, length for DB2, CLOB columns
Hello,
I am migrating from Datanucleus version 2.0.4 to 5.x. In 2.0.4 version, length for DB2, CLOB columns used to come as "1M" when schema gets created. Now, in 5.2.3, length for DB2, CLOB columns
|
By
mayank.chawla@...
·
#200
·
|
|
Re: Can someone point me where I can find a working example to call stored procedure from DN apis
That works for our tests for a database/driver that supports JDBC CallableStatement API, as per this link. These tests are public, and anybody can contribute to them, just like they can the code (not
That works for our tests for a database/driver that supports JDBC CallableStatement API, as per this link. These tests are public, and anybody can contribute to them, just like they can the code (not
|
By
Andy
·
#199
·
Edited
|
|
Can someone point me where I can find a working example to call stored procedure from DN apis
I have used https://www.datanucleus.org/products/accessplatform/jdo/query.html#stored_procedures to build code but that did not work.
I have used https://www.datanucleus.org/products/accessplatform/jdo/query.html#stored_procedures to build code but that did not work.
|
By
ab.jaipur@...
·
#198
·
|
|
Re: Datanucleus and Android
Looks like you added the missing javax.* classes, as per this.
Looks like you added the missing javax.* classes, as per this.
|
By
Andy
·
#197
·
|
|
Re: Datanucleus and Android
...and here's another repo that might be interesting: https://github.com/cloudstore/cloudstore-android
The last commit-comments state "cloudstore droid working with DN" and "PersistenceManager can be
...and here's another repo that might be interesting: https://github.com/cloudstore/cloudstore-android
The last commit-comments state "cloudstore droid working with DN" and "PersistenceManager can be
|
By
marco@...
·
#196
·
|
|
Re: Datanucleus and Android
It's quite a while, but I definitely got DataNucleus running on Android. I wrote a test-program and it worked fine. You already found my pull-request, which fixed quite a few issues in the
It's quite a while, but I definitely got DataNucleus running on Android. I wrote a test-program and it worked fine. You already found my pull-request, which fixed quite a few issues in the
|
By
marco@...
·
#195
·
|
|
Re: How to change transaction level for metadata (INFORMATION_SCHEMA) operations (Spanner DB)?
Only you can decide what is "right" for your database, but requiring a CONNECTION "read only" (presumably this database has a JDBC driver and require a call of Connection.setReadOnly?) and changing
Only you can decide what is "right" for your database, but requiring a CONNECTION "read only" (presumably this database has a JDBC driver and require a call of Connection.setReadOnly?) and changing
|
By
Andy
·
#194
·
Edited
|
|
Re: How to change transaction level for metadata (INFORMATION_SCHEMA) operations (Spanner DB)?
Thanks for the response.
I noted that only 5.2 is open for merge.
After your comment, I've dug deep and I've seen that it is possible to request a new connection for value-generation with a different
Thanks for the response.
I noted that only 5.2 is open for merge.
After your comment, I've dug deep and I've seen that it is possible to request a new connection for value-generation with a different
|
By
yunus@...
·
#193
·
|
|
Re: How to change transaction level for metadata (INFORMATION_SCHEMA) operations (Spanner DB)?
Hi,
Firstly the only source that is supported is current (5.2) so that's the only chance anything would have of being merged, FYI.
Secondly, do you have some particular stack traces that show where
Hi,
Firstly the only source that is supported is current (5.2) so that's the only chance anything would have of being merged, FYI.
Secondly, do you have some particular stack traces that show where
|
By
Andy
·
#192
·
|
|
How to change transaction level for metadata (INFORMATION_SCHEMA) operations (Spanner DB)?
Hi everyone,
I am implementing an RDBMS adapter for the GCP Spanner DB. I encounter a problem with transactions and metadata operations.
Spanner DB supports information schema queries with read-only
Hi everyone,
I am implementing an RDBMS adapter for the GCP Spanner DB. I encounter a problem with transactions and metadata operations.
Spanner DB supports information schema queries with read-only
|
By
yunus@...
·
#191
·
|
|
Re: DataNucleus - Class versions V1_5 or less must use F_NEW frames
Thanks Andy.
Your point is correct. After changing source, target properties to 1.6(changing which was also trouble as it is a big project and resulted in other errors) classes were enhanced fine. I
Thanks Andy.
Your point is correct. After changing source, target properties to 1.6(changing which was also trouble as it is a big project and resulted in other errors) classes were enhanced fine. I
|
By
mayank.chawla@...
·
#190
·
|
|
Re: DataNucleus - Class versions V1_5 or less must use F_NEW frames
In the absence of any further info, the classes being enhanced are likely the problem then. ASM is clearly getting upset about some bytecode, and if it works when compiling classes using JDK1.8 then
In the absence of any further info, the classes being enhanced are likely the problem then. ASM is clearly getting upset about some bytecode, and if it works when compiling classes using JDK1.8 then
|
By
Andy
·
#189
·
|
|
Re: DataNucleus - Class versions V1_5 or less must use F_NEW frames
My bad that I mentioned about ASM v5.0.3, even in stack trace it is org.datanucleus.enhancer.DataNucleusEnhancer. I saw that reference and mentioned ASM v5.0.3 by mistake.
My bad that I mentioned about ASM v5.0.3, even in stack trace it is org.datanucleus.enhancer.DataNucleusEnhancer. I saw that reference and mentioned ASM v5.0.3 by mistake.
|
By
mayank.chawla@...
·
#188
·
|
|
Re: DataNucleus - Class versions V1_5 or less must use F_NEW frames
Only you know what the differences are between the situations you refer to.
In StackOverflow you say you are using ASM v5.0.3 (not mentioned here at all). If you are using DataNucleus v5.2 then you
Only you know what the differences are between the situations you refer to.
In StackOverflow you say you are using ASM v5.0.3 (not mentioned here at all). If you are using DataNucleus v5.2 then you
|
By
Andy
·
#187
·
|
|
Re: Datanucleus and Android
Well javax classes not being present in Android's dex stuff kinda limits things (but then they are required by the JDO API), and by "run-time search for a jar containing JDO api" I assume you mean the
Well javax classes not being present in Android's dex stuff kinda limits things (but then they are required by the JDO API), and by "run-time search for a jar containing JDO api" I assume you mean the
|
By
Andy
·
#186
·
|
|
Re: DataNucleus - Class versions V1_5 or less must use F_NEW frames
I ran a sample DataNucleus program with jdk 8 and kept source, generated .class files compatibility as 1.5 and it enhanced all classes without any issues, so assuming it works fine with 1.5 compatible
I ran a sample DataNucleus program with jdk 8 and kept source, generated .class files compatibility as 1.5 and it enhanced all classes without any issues, so assuming it works fine with 1.5 compatible
|
By
mayank.chawla@...
·
#185
·
|
|
Re: Datanucleus and Android
The issue wasn't the JDBC driver. It was the use of javax.naming.* packages, and the run-time search for a jar containing the "JDO" api, which isn't included in the .dex packaging for Android. I
The issue wasn't the JDBC driver. It was the use of javax.naming.* packages, and the run-time search for a jar containing the "JDO" api, which isn't included in the .dex packaging for Android. I
|
By
steve@...
·
#184
·
|
|
Re: DataNucleus - Class versions V1_5 or less must use F_NEW frames
Must be. When I run, I use JDK 1.8 with source/target 1.8+ always, and enhancement (via ASM) will use 1.8 bytecode instructions.
Must be. When I run, I use JDK 1.8 with source/target 1.8+ always, and enhancement (via ASM) will use 1.8 bytecode instructions.
|
By
Andy
·
#183
·
|