Re: [orientdb] Is it possible to create a class that has a field of json?

2014-08-25 Thread Luca Garulli
If you want to use your parser, then storing it as a string is good solution. Lvc@ ᐧ On 25 August 2014 22:05, alexander anguiano wrote: > I'm currently just copying the fields from the query. > > > On Monday, August 25, 2014 10:38:28 AM UTC-5, Lvc@ wrote: > >> Hi Alexander, >> With DocumentDBs

Re: [orientdb] Is it possible to create a class that has a field of json?

2014-08-25 Thread alexander anguiano
I'm currently just copying the fields from the query. On Monday, August 25, 2014 10:38:28 AM UTC-5, Lvc@ wrote: > > Hi Alexander, > With DocumentDBs this is an embedded field, so: > > Create property embedded EMBEDDED Test; > > To create an embedded object of type "Test". This is automaticall

Re: [orientdb] Is it possible to create a class that has a field of json?

2014-08-25 Thread Luca Garulli
Are you using Object Database interface? Lvc@ ᐧ On 25 August 2014 20:33, alexander anguiano wrote: > Is there a way to not have a pojo mapping? Can i just use jackson. If > yes, what would the calls be? > > Also i'm using the SQL, will i have any problems with that?. > > > > On Monday, Augu

Re: [orientdb] Is it possible to create a class that has a field of json?

2014-08-25 Thread alexander anguiano
Is there a way to not have a pojo mapping? Can i just use jackson. If yes, what would the calls be? Also i'm using the SQL, will i have any problems with that?. On Monday, August 25, 2014 10:38:28 AM UTC-5, Lvc@ wrote: > > Hi Alexander, > With DocumentDBs this is an embedded field, so: > > C

Re: [orientdb] Is it possible to create a class that has a field of json?

2014-08-25 Thread Luca Garulli
Hi Alexander, With DocumentDBs this is an embedded field, so: Create property embedded EMBEDDED Test; To create an embedded object of type "Test". This is automatically converted from/to json when you work on it. Lvc@ ᐧ On 25 August 2014 17:32, alexander anguiano wrote: > Is it possible to

[orientdb] Is it possible to create a class that has a field of json?

2014-08-25 Thread alexander anguiano
Is it possible to create a class that has a field of json? Create Class Package extends V; Create property name string; Create property myjson ?; what type would this be? -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe