Exemple #1
0
 /**
  * Test method for {@link org.melati.poem.dbms.Dbms# getSqlDefinition(java.lang.String)}.
  *
  * @throws Exception
  */
 public void testGetSqlDefinition() throws Exception {
   assertEquals("BOOLEAN", it.getSqlDefinition("BOOLEAN"));
   assertEquals("DOUBLE PRECISION", it.getSqlDefinition("DOUBLE PRECISION"));
   assertEquals("INT8", it.getSqlDefinition("INT8"));
   assertEquals("INT", it.getSqlDefinition("INT"));
   assertEquals("Big Decimal", it.getSqlDefinition("Big Decimal"));
   assertEquals("STRING", it.getSqlDefinition("STRING"));
 }
Exemple #2
0
 protected String _sqlDefinition(Dbms dbms) {
   return dbms.getSqlDefinition(sqlTypeName);
 }