Text to String Conversion

45 views
Skip to first unread message

Manikandan Muniappan

unread,
Apr 16, 2025, 10:51:22 AMApr 16
to objectify-appengine
Hi,

We are migrating from Objectify 5 to 6, where com.google.appengine.api.datastore.Text was used extensively for metadata and large descriptions. Objectify 6 no longer supports Text due to changes in the Cloud Datastore client library.

Objectify 5.1.20 automatically converted between String and Text based on size, unindexing strings exceeding 1500 characters. We believe this auto-conversion is absent in Objectify 6 and later versions, with the Cloud Datastore client library potentially handling this differently.

The question is: To migrate away from the Text property in our entities for Objectify 6, can we simply change the Java type of the corresponding entity field from com.google.appengine.api.datastore.Text to String? Or will this require a more complex strategy, such as introducing a new String property and performing a data migration?

Our current version is 5.1.25



nextgen me

unread,
May 15, 2025, 10:27:09 PMMay 15
to objectify-appengine
+1 
I'm also looking for this, as we're in the planning stages of our Objectify 6 migration too and we used TEXT more.
Reply all
Reply to author
Forward
0 new messages