question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Recurrence not Serializable

See original GitHub issue

Is there a specific reason to keep the Recurrence class not serializable? In my Project sometimes just the Recurrence is stored in a database. For that hibernate needs the serialization.

If there is no specific reason, I offer you to make a PR to change this. 😉

I saw that a few classes already get it on #75, but are mixed with test fixes. Those classes might become changes as well if necessary.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
HansBrendecommented, Oct 31, 2018

From my perspective, this whole library, in essence, is already a serialization/deserialization tool. Using Java serialization rather than the standardized ical serialization is ill-advised, as it is guaranteed to be less space/time efficient, and simply muddles the purpose of this library. Also it means that your database would only be interoperable with Java, rather than any language which supports parsing ical properties.

+1 for property scribes -1 for Serializable.

0reactions
mangstadtcommented, Nov 8, 2018

@Poeschl Oh nice, glad you figured it out! 😸

Read more comments on GitHub >

github_iconTop Results From Across the Web

NotSerializableException in Java with Examples
In Java, a NotSerializableException exception is thrown when an instance of a class must implement the Serializable interface. The exception is ...
Read more >
Infinite Recursion with Jackson JSON and Hibernate JPA issue
For Jackson to work well, one of the two sides of the relationship should not be serialized, in order to avoid the infite...
Read more >
Recurrence (Oracle Fusion Middleware Java API Reference for ...
Serializable, java.lang.Cloneable. public final class Recurrence extends oracle.odi.domain.support. ... No public constructors are available in this class.
Read more >
TypeError: can not serialize 'Composed' object #2001 - GitHub
On Sentry after deploying the ddtrace upgrade, immediately got: TypeError: can not serialize 'Composed' object. This looks like a recurrence ...
Read more >
Recurrence (Escenic Content Engine 7.5.12-2 API documentation)
Creates a copy of another recurrence. Parameters: pRecurrence - the recurrent to copy; can not be null . Throws: java.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found