Working with Java Data Types in a Server,
Page 4 of 4


[top]
[prev]
[next]
Index for This Book
Table of Contents
Documentation Top
Global Index

Working with Non-Serializable Types

For you to instantiate a class within an SQL-J statement, the class must be serializable. In an embedded environment, this requirement is not enforced. However, when a query such as a VALUES statement “returns” an object that is not serializable, in the client/server environment you will get a ResultNotSerializable exception because the server framework uses serialization to return Java objects to the client.

Frameworks that embed Cloudscape more deeply, such as Web servers that provide client/server access via servlets, do not return Java objects to clients.

[top]
[prev]
[next]


Cloudscape Version 3.0
For technical support, go to: www.cloudscape.com and click Support.
Copyright © 1998 and 1999 Cloudscape, Inc. All rights reserved.