Jörg:
That did the trick! Thanks kindly for your help.
Josh
On 12-10-18 01:04 PM, Jörg Schaible wrote:
Hi Josh,
Joshua Turner wrote:
Hi all --
I'm using XStream to process large streams of objects via
ObjectInputStream. As one of my requirements, I have to validate the
SHA1 diges
Hi Josh,
Joshua Turner wrote:
> Hi all --
>
> I'm using XStream to process large streams of objects via
> ObjectInputStream. As one of my requirements, I have to validate the
> SHA1 digest of the entire stream received against what was sent. To
> accomplish this, I'd hoped to be able to jus
This seems to be the same problem as reported in eclipse bug database:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=345652
Another thread:
http://lists.apple.com/archives/java-dev/2008/May/msg00116.html
suggest that some other awt classes do load fine, seems like
java.awt.Color is a bad choice
Hi all --
I'm using XStream to process large streams of objects via
ObjectInputStream. As one of my requirements, I have to validate the
SHA1 digest of the entire stream received against what was sent. To
accomplish this, I'd hoped to be able to just wrap the InputStream that
gets passed
Hi Jaime,
Jaime Metcher wrote:
> Jörg,
>
> I think you've lost me there. Can you elaborate a bit? I'm not sure why
> you want to call super.marshal every time you see a new entity.
Because that's what is called normally without my version of the custom
converter.
> Also, my recollection is
Yes thats what I found out debugging.
The ProxyConverter will unwrap the proxy prior to calling the
ReflectionConverter. So we can easily leave it out of the discussion.
Von: Jaime Metcher [mailto:jmetc...@gmail.com]
Gesendet: Donnerstag, 18. Oktober 2012 10:24
An: user@xstream.codehaus.org
Jörg,
I think you've lost me there. Can you elaborate a bit? I'm not sure why
you want to call super.marshal every time you see a new entity.
Also, my recollection is that you don't need to worry about the
HibernateProxyConverter as registering it with high priority means it will
already have d
Hi Sebastian,
Yep, your solution is pretty much exactly what I had in mind. I did
misread the code - the converter does indeed get invoked on the top level
object.
Jame
Hi,
Sebastian Götz wrote:
> Hi Jaime,
>
>
>
> after trying ym own solution I finally understand what you intended with
> your approach. But let me post some code of how I am doing it:
>
>
>
> private XStream createXstreamInstance(final Class p_clazz)
>
> {
>
>XStream xstream = n
OK,
I have it working now with a slightly different solution as state before:
public void export()
{
ZipOutputStream zip;
List> entityClasses;
List> annotations = new ArrayList<>();
final int batchSize = 50;
Number count;
Criteria query;
XSt
10 matches
Mail list logo