com.caucho.amber.entity
Interface Embeddable


public interface Embeddable

An embeddable object.


Method Summary
 java.lang.Object __caucho_get_field(int index)
          Returns the ith field.
 int __caucho_load(AmberConnection aConn, java.sql.ResultSet rs, int index)
          Loads the embeddable object from the database and returns the number of columns consumed from the result set.
 

Method Detail

__caucho_load

int __caucho_load(AmberConnection aConn,
                  java.sql.ResultSet rs,
                  int index)
                  throws java.sql.SQLException
Loads the embeddable object from the database and returns the number of columns consumed from the result set.

Throws:
java.sql.SQLException

__caucho_get_field

java.lang.Object __caucho_get_field(int index)
Returns the ith field.