| TDAT: public void testAddCountryWithUUIDGenerator() throws Exception { | |
| CountryWithUUID country1 = new CountryWithUUID(); | |
| country1.setCountryId("KR"); | |
| country1.setCountryName("대한민국"); | |
| String countryCode = (String) session.save(country1); | |
| assertTrue("fail to generate a new countryCode.", countryCode | |
| .indexOf("#") != -1); | |
| assertNotNull("fail to add a new country with UUID generator.", | |
| countryCode); | |
| } | |
| COM: <s> flow 6 positive case hibernate uuid generator country </s> | |