[prev in list] [next in list] [prev in thread] [next in thread]
List: slide-user
Subject: Variable NodeRevisionContent length
From: "Michael Oliver" <oliverm () sourceonenet ! com>
Date: 2005-07-22 18:09:03
Message-ID: 001f01c58ee8$7181b550$6501a8c0 () OllieXP
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
I am writing a custom store that stores an xml document that contains
parameters for a Hibernate query.
When a GET is done on that xml document my retrieveRevisionContent reads the
xml, parses it and feeds Hibernate the query string and other settings and
executes the query in a Hibernate session. I then want to set the
NodeRevisionContent contents to the xml serialization of the results from
the Hibernate query. This works great until the results exceed the size of
the original xml and then the results are truncated.
I can't find in the code where the reader reads the contents of the
NodeRevisionContent object I am returning. I believe it is using the length
value in the NodeRevisionDescriptor, but I can't find a place to set that to
the length of the new content.
I will keep looking, but if someone knows off the top of their head it would
save me a lot of time. Oliver?
<http://www.sourceonenet.com>
Loosely Coupled
Mike Oliver
CTO
Alarius Systems LLC
<http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=6800+E.+Lake+Mead+Blvd&csz=L
as+Vegas%2C+NV+89156&country=us> 6800 E. Lake Mead Blvd
Apt 1096
Las Vegas, NV 89156
<mailto:mikeoliveraz@yahoo.com> mikeoliveraz@yahoo.com
<mailto:oliverm@sourceonenet.com> oliverm@sourceonenet.com
IM: MikeOliverAZ@yahoo.com
<http://www.alariussystems.com/> http://www.alariussystems.com/
tel:
fax:
mobile:
(702)643-7425
(702)974-0341
(518)378-6154
<https://www.plaxo.com/add_me?u=25769982367&v0=355403&k0=305933374> Add me
to your address book...
<http://www.plaxo.com/signature> Want a signature like this?
[Attachment #5 (text/html)]
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Comic Sans MS";
panose-1:3 15 7 2 3 3 2 2 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{font-family:"Comic Sans MS";
color:windowtext;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face="Comic Sans MS"><span style='font-size:
10.0pt;font-family:"Comic Sans MS"'>I am writing a custom store that stores an
xml document that contains parameters for a Hibernate query.</span></font></p>
<p class=MsoNormal><font size=2 face="Comic Sans MS"><span style='font-size:
10.0pt;font-family:"Comic Sans MS"'> </span></font></p>
<p class=MsoNormal><font size=2 face="Comic Sans MS"><span style='font-size:
10.0pt;font-family:"Comic Sans MS"'>When a GET is done on that xml document my \
retrieveRevisionContent reads the xml, parses it and feeds Hibernate the query string \
and other settings and executes the query in a Hibernate session. I then want \
to set the NodeRevisionContent contents to the xml serialization of the results
from the Hibernate query. This works great until the results exceed the
size of the original xml and then the results are truncated.</span></font></p>
<p class=MsoNormal><font size=2 face="Comic Sans MS"><span style='font-size:
10.0pt;font-family:"Comic Sans MS"'> </span></font></p>
<p class=MsoNormal><font size=2 face="Comic Sans MS"><span style='font-size:
10.0pt;font-family:"Comic Sans MS"'>I can’t find in the code where the reader
reads the contents of the NodeRevisionContent object I am returning. I
believe it is using the length value in the NodeRevisionDescriptor, but I can’t
find a place to set that to the length of the new content.</span></font></p>
<p class=MsoNormal><font size=2 face="Comic Sans MS"><span style='font-size:
10.0pt;font-family:"Comic Sans MS"'> </span></font></p>
<p class=MsoNormal><font size=2 face="Comic Sans MS"><span style='font-size:
10.0pt;font-family:"Comic Sans MS"'>I will keep looking, but if someone knows off
the top of their head it would save me a lot of time. Oliver?</span></font></p>
<p class=MsoNormal><font size=2 face="Comic Sans MS"><span style='font-size:
10.0pt;font-family:"Comic Sans MS"'> </span></font></p>
<p class=MsoNormal><font size=2 face="Comic Sans MS"><span style='font-size:
10.0pt;font-family:"Comic Sans MS"'> </span></font></p>
<p class=MsoNormal><font size=2 face="Comic Sans MS"><span style='font-size:
10.0pt;font-family:"Comic Sans MS"'> </span></font></p>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=600
style='width:6.25in'>
<tr>
<td style='padding:0in 0in 0in 0in'>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 align=right
width=600 style='width:6.25in'>
<tr>
<td style='padding:0in 0in 0in 0in'>
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0 width=600
style='width:6.25in;border:solid #666666 1.0pt'>
<tr height=1 style='height:.75pt'>
<td width="100%" height=1 bgcolor="#4E81C4" style='width:100.0%;
border:none;background:#4E81C4;padding:.75pt .75pt .75pt .75pt;
height:.75pt'>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0
width="100%" style='width:100.0%'>
<tr>
<td style='padding:.75pt .75pt .75pt 3.75pt'>
<p class=MsoNormal><font size=2 color=white face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:white'><a
href="http://www.sourceonenet.com" target="_blank"><font color=white><span
style='color:white;text-decoration:none'><img border=0 width=371
height=45 src="cid:image001.gif@01C58EAD.C4CF6620"></span></font></a></span></font></p>
</td>
<td style='padding:.75pt 3.75pt .75pt .75pt'>
<p class=MsoNormal align=right style='text-align:right'><font size=1
color=white face=Verdana><span style='font-size:7.0pt;font-family:Verdana;
color:white'>Loosely Coupled</span></font></p>
</td>
</tr>
</table>
<p class=MsoNormal></p>
</td>
<td height=1 bgcolor="#4E81C4" style='border:none;background:#4E81C4;
padding:.75pt .75pt .75pt .75pt;height:.75pt'>
<p class=MsoNormal><font size=1 face="Times New Roman"><span
style='font-size:1.0pt'> </span></font></p>
</td>
</tr>
<tr>
<td colspan=2 style='border:none;padding:.75pt .75pt .75pt .75pt'>
<table class=MsoNormalTable border=0 cellpadding=0 align=right
width="100%" style='width:100.0%' height="100%">
<tr height=1 style='height:.75pt'>
<td height=1 valign=top style='padding:.75pt .75pt 3.0pt 3.0pt;
height:.75pt'>
<p class=MsoNormal><b><font size=1 color="#4e81c4" face=Verdana><span
style='font-size:8.0pt;font-family:Verdana;color:#4E81C4;font-weight:
bold'>Mike Oliver</span></font></b><font size=1 color="#4e81c4"
face=Verdana><span style='font-size:8.0pt;font-family:Verdana;
color:#4E81C4'><br>
<i><span style='font-style:italic'>CTO</span></i> </span></font></p>
</td>
<td height=1 valign=top style='padding:.75pt 3.0pt 3.0pt .75pt;
height:.75pt'>
<p class=MsoNormal align=right style='text-align:right'><b><font
size=1 color="#4e81c4" face=Verdana><span style='font-size:8.0pt;
font-family:Verdana;color:#4E81C4;font-weight:bold'>Alarius Systems \
LLC</span></font></b><font size=1 color="#4e81c4" face=Verdana><span \
style='font-size:8.0pt; font-family:Verdana;color:#4E81C4'><br>
<a
href="http://maps.yahoo.com/py/maps.py?Pyt=Tmap&addr=6800+E.+Lake+Mead+Blvd&csz=Las+Vegas%2C+NV+89156&country=us"
target="_blank"><font color="#4e81c4"><span style='color:#4E81C4;
text-decoration:none'>6800 E. Lake Mead Blvd<br>
Apt 1096<br>
Las Vegas, NV 89156</span></font></a> </span></font></p>
</td>
</tr>
<tr height=1 style='height:.75pt'>
<td height=1 valign=bottom style='padding:.75pt .75pt 3.0pt 3.0pt;
height:.75pt'>
<p class=MsoNormal><font size=1 color="#4e81c4" face=Verdana><span
style='font-size:8.0pt;font-family:Verdana;color:#4E81C4'><a
href="mailto:mikeoliveraz@yahoo.com" target="_blank"><font
color="#4e81c4"><span \
style='color:#4E81C4;text-decoration:none'>mikeoliveraz@yahoo.com</span></font></a><br>
<a href="mailto:oliverm@sourceonenet.com" target="_blank"><font
color="#4e81c4"><span \
style='color:#4E81C4;text-decoration:none'>oliverm@sourceonenet.com</span></font></a><br>
IM: MikeOliverAZ@yahoo.com<br>
<a href="http://www.alariussystems.com/" target="_blank"><font
color="#4e81c4"><span \
style='color:#4E81C4;text-decoration:none'>http://www.alariussystems.com/</span></font></a>
</span></font></p>
</td>
<td height=1 valign=bottom style='padding:.75pt 3.0pt 3.0pt .75pt;
height:.75pt'>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0
align=right>
<tr>
<td nowrap style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal align=right style='text-align:right'><font size=1
color="#4e81c4" face=Verdana><span style='font-size:8.0pt;font-family:
Verdana;color:#4E81C4'>tel: <br>
fax: <br>
mobile: </span></font></p>
</td>
<td nowrap style='padding:.75pt .75pt .75pt 3.0pt'>
<p class=MsoNormal align=right style='text-align:right'><font size=1
color="#4e81c4" face=Verdana><span style='font-size:8.0pt;font-family:
Verdana;color:#4E81C4'>(702)643-7425<br>
(702)974-0341<br>
(518)378-6154 </span></font></p>
</td>
</tr>
</table>
<p class=MsoNormal align=right style='text-align:right'></p>
</td>
</tr>
</table>
<p class=MsoNormal></p>
</td>
</tr>
</table>
<p class=MsoNormal></p>
</td>
<td style='padding:0in 0in 0in 0in'>
<p class=MsoNormal><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
</td>
</tr>
</table>
<p class=MsoNormal></p>
</td>
</tr>
<tr>
<td style='padding:0in 0in 0in 0in'>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
style='width:100.0%'>
<tr>
<td style='padding:0in 0in 0in 0in'>
<p class=MsoNormal><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><a
href="https://www.plaxo.com/add_me?u=25769982367&v0=355403&k0=305933374"
target="_blank"><i><font size=1 color="#777777" face=Verdana><span
style='font-size:7.0pt;font-family:Verdana;color:#777777;font-style:italic;
text-decoration:none'>Add me to your address \
book...</span></font></i></a></span></font></p> </td>
<td style='padding:0in 0in 0in 0in'>
<p class=MsoNormal align=right style='text-align:right'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><a
href="http://www.plaxo.com/signature" target="_blank"><i><font size=1
color="#777777" face=Verdana><span style='font-size:7.0pt;font-family:Verdana;
color:#777777;font-style:italic;text-decoration:none'>Want a signature like
this?</span></font></i></a></span></font></p>
</td>
</tr>
</table>
<p class=MsoNormal></p>
</td>
</tr>
</table>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
</div>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic