<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dev.simantics.org/index.php?action=history&amp;feed=atom&amp;title=Resource_Serialization</id>
	<title>Resource Serialization - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dev.simantics.org/index.php?action=history&amp;feed=atom&amp;title=Resource_Serialization"/>
	<link rel="alternate" type="text/html" href="https://dev.simantics.org/index.php?title=Resource_Serialization&amp;action=history"/>
	<updated>2026-04-05T22:51:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://dev.simantics.org/index.php?title=Resource_Serialization&amp;diff=1741&amp;oldid=prev</id>
		<title>Juha Kortelainen at 15:55, 28 January 2011</title>
		<link rel="alternate" type="text/html" href="https://dev.simantics.org/index.php?title=Resource_Serialization&amp;diff=1741&amp;oldid=prev"/>
		<updated>2011-01-28T15:55:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:55, 28 January 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l20&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category: Database Development]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Juha Kortelainen</name></author>
	</entry>
	<entry>
		<id>https://dev.simantics.org/index.php?title=Resource_Serialization&amp;diff=205&amp;oldid=prev</id>
		<title>Toni Kalajainen: Created page with &#039;; Serializing a resource &lt;source lang=&quot;java&quot;&gt;     long serializeResource(RequestProcessor processor, Resource resource) throws DatabaseException {         SerialisationSupport ss...&#039;</title>
		<link rel="alternate" type="text/html" href="https://dev.simantics.org/index.php?title=Resource_Serialization&amp;diff=205&amp;oldid=prev"/>
		<updated>2010-09-29T11:19:16Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;; Serializing a resource &amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;     long serializeResource(RequestProcessor processor, Resource resource) throws DatabaseException {         SerialisationSupport ss...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;; Serializing a resource&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    long serializeResource(RequestProcessor processor, Resource resource) throws DatabaseException {&lt;br /&gt;
        SerialisationSupport ss = processor.getService(SerialisationSupport.class);&lt;br /&gt;
        return ss.getRandomAccessId(resource);&lt;br /&gt;
    }&lt;br /&gt;
    String serializeResourceToString(RequestProcessor processor, Resource resource) throws DatabaseException {&lt;br /&gt;
        return String.valueOf(serializeResource(processor, resource));&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Deserializing a resource&lt;br /&gt;
&amp;lt;source lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    Resource deserializeResource(ReadGraph graph, long randomAccessId) throws DatabaseException {&lt;br /&gt;
        SerialisationSupport ss = session.getService(SerialisationSupport.class);&lt;br /&gt;
        return rs.getResource(randomAccessId);&lt;br /&gt;
    }&lt;br /&gt;
    Resource deserializeResource(ReadGraph graph, String randomAccessId) throws DatabaseException, NumberFormatException {&lt;br /&gt;
        return deserializeResource(graph, Long.parseLong(randomAccessId));&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Toni Kalajainen</name></author>
	</entry>
</feed>