cfg.buildMappings();
POJOExporter exporter = new POJOExporter(cfg, getOutputDir() );
exporter.setTemplatePath(new String[0]);
exporter.getProperties().setProperty("ejb3", "true");
exporter.getProperties().setProperty("jdk5", "true");
exporter.start();
assertFileAndExists( new File(getOutputDir(), "Person.java") );
assertFileAndExists( new File(getOutputDir(), "AddressPerson.java") );
assertFileAndExists( new File(getOutputDir(), "MultiPersonId.java") );
assertFileAndExists( new File(getOutputDir(), "AddressMultiPerson.java") );