When generating classes with the following code:
String pkg ="it.next.catol.model";
MetaDataExporter exporter = new MetaDataExporter();
exporter.setSchemaPattern("catol");
exporter.setPackageName(pkg);
exporter.setTargetFolder(new File("src"));
exporter.export(conn.getMetaData());
it generates the following code:
public final StringPath mProductBomId = createString("mProductBomId");
...
public final com.mysema.query.sql.ForeignKey<QMProduct> mproductBomproduct = createForeignKey(mProductbomId, "M_PRODUCT_ID");
...
There's a mismatch in the variable casing: mProductbomId should be mProductBomId.
DB : MySQL 5.6.16
JDBC Driver : mysql-connector-java-5.1.21
When generating classes with the following code:
it generates the following code:
There's a mismatch in the variable casing: mProductbomId should be mProductBomId.
DB : MySQL 5.6.16
JDBC Driver : mysql-connector-java-5.1.21