If you are using the OrientDB JDBC driver call the DatabaseMetadata 
getColumns method specifying the table name.
It returns a ResultSet with the information you need.

On Wednesday, April 22, 2015 at 11:34:53 PM UTC+1, Andrea Santurbano wrote:
>
> Hi guys,
> i'm looking for a sql command to get the full schema of a class.
> In a relational database such as MySql the query looks like:
>
> select * from my_table where 1 = 0;
>
> I need it to get the columns from a jdbc resultset.
>
> Is there someone that can help me?
>

-- 

--- 
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/d/optout.

Reply via email to