No takers ?

On Tuesday, February 18, 2014 9:28:30 AM UTC-5, Charles Monteiro wrote:
>
> hi, just wondering what the best practices are.
>
> My objective is to model an Error object that has the following attributes:
>
> code  - Integer
> message - String
> stack - String
>
>
> This is driven by the fact that I'm trying to capture external errors in 
> this case generated by Oracle.
>
> one of my objectives is to not "fault" in immediately the stack or in 
> other words to lazy retrieve the stack since it can be large.
>
> In order to do that I figured that I could create a OrientDB schema as 
> follows:
>
> code - Integer
> message - String
> stack - Embedded 
>
>
> the problem though is that I can't set the Linked Class to String (using 
> the ODB Visual Studio) , Orient wants a "named" document
>
> thus this then leads me to a schema setup as follows:
>
> code - Integer
> message - String
> stack - MyStack
>
> where class MyStack has the following attributes:
>
> content - String, (string represenation of error stack)
>
> thanks 
>
> -Charles
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to