| MySQL 5.6.14 Source Code Document
    | 


| Public Member Functions | |
| void | test () | 
|  Public Member Functions inherited from com.mysql.clusterj.jpatest.AbstractJPABaseTest | |
| void | deleteAll () | 
| void | verifyDeleteAll () | 
| void | createAll () | 
| void | findAll () | 
| void | updateThenVerifyAll () | 
| void | deleteThenVerifyAll () | 
|  Public Member Functions inherited from com.mysql.clusterj.jpatest.SingleEMTestCase | |
| void | setUp () | 
| void | setUp (Object...props) | 
| void | tearDown () throws Exception | 
| Protected Member Functions | |
| boolean | getDebug () | 
| Class<?extends IdBase > | getModelClass () | 
| String | getPersistenceUnitName () | 
|  Protected Member Functions inherited from com.mysql.clusterj.jpatest.AbstractJPABaseTest | |
| void | getConnection () | 
| void | setAutoCommit (Connection connection, boolean b) | 
| void | verifyEmployee (Employee e, int updateOffset) | 
| int | getNumberOfEmployees () | 
| List< Object[]> | getExpected () | 
| String | getTableName () | 
| int | getNumberOfInstances () | 
| ColumnDescriptor[] | getColumnDescriptors () | 
| IdBase | getNewInstance (Class<?extends IdBase > modelClass) | 
| Object | getColumnValue (int i, int j) | 
| void | generateInstances (ColumnDescriptor[] columnDescriptors) | 
| void | verify (String where, List< Object[]> expecteds, List< Object[]> actuals) | 
| void | removeAll (Class<?extends IdBase > modelClass) | 
| void | writeJDBCreadJPA () | 
| void | writeJDBCreadJDBC () | 
| void | writeJPAreadJPA () | 
| void | writeJPAreadJDBC () | 
| void | writeToJPA (ColumnDescriptor[] columnDescriptors, List< IdBase > instances) | 
| void | writeToJDBC (ColumnDescriptor[] columnDescriptors, List< IdBase > instances) | 
| List< Object[]> | readFromJPA (ColumnDescriptor[] columnDescriptors) | 
| List< Object[]> | readFromJDBC (ColumnDescriptor[] columnDescriptors) | 
|  Protected Member Functions inherited from com.mysql.clusterj.jpatest.SingleEMTestCase | |
| boolean | begin () | 
| boolean | commit () | 
| boolean | rollback () | 
| boolean | close () | 
| Additional Inherited Members | |
|  Static Protected Member Functions inherited from com.mysql.clusterj.jpatest.AbstractJPABaseTest | |
| static long | getMillisFor (int year, int month, int day, int hour, int minute, int second) | 
| static long | getMillisFor (int year, int month, int day) | 
| static long | getMillisFor (int days, int hour, int minute, int second) | 
| static void | resetLocalSystemDefaultTimeZone (Connection connection) | 
|  Protected Attributes inherited from com.mysql.clusterj.jpatest.AbstractJPABaseTest | |
| Connection | connection | 
|  Static Protected Attributes inherited from com.mysql.clusterj.jpatest.AbstractJPABaseTest | |
| static TimeZone | localSystemTimeZone = TimeZone.getDefault() | 
| static boolean | debug | 
Test Embedded class support. Currently only remove and insert are tested.
Schema
drop table if exists t_basic; create table t_basic ( id int not null, name varchar(32), // embedded age int, // embedded magic int not null, primary key(id)) engine=ndbcluster; create unique index idx_unique_hash_magic using hash on t_basic(magic); create index idx_btree_age on t_basic(age);
Definition at line 42 of file EmbeddedTest.java.
| 
 | inlineprotected | 
Subclasses can override this method to get debugging info printed to System.out
Reimplemented from com.mysql.clusterj.jpatest.AbstractJPABaseTest.
Definition at line 47 of file EmbeddedTest.java.
| 
 | inlineprotected | 
Subclasses must override this method to provide the model class for the test
Reimplemented from com.mysql.clusterj.jpatest.AbstractJPABaseTest.
Definition at line 52 of file EmbeddedTest.java.
| 
 | inlineprotected | 
The name of the persistence unit that this test class should use by default. This defaults to "ndb".
Reimplemented from com.mysql.clusterj.jpatest.PersistenceTestCase.
Definition at line 61 of file EmbeddedTest.java.