middlegen不能生成java文件
我是在eclipse环境下使用middlegen的,可以生成hbm.xml,但不能生成java文件.
错误提示:
Buildfile: D:\WorkSpace\CSBankforcph\Tools\middlegen-2.1\samples\build.xml
init:
fail-if-no-xdoclet-1.2:
check-driver-present:
panic-if-driver-not-present:
middlegen:
[middlegen] Database URL:jdbc:mysql://localhost:3306/test
[middlegen] 2007-08-22 16:26:23,265 WARN [middlegen.MiddlegenPopulator] WARNING: Middlegen couldn't find any relations between any tables. This may be intentional from the design of the database, but it may also be because you have incorrectly defined the relationships. It could also be because the JDBC driver you're using doesn't correctly implement DatabaseMetaData. See the samples (for an example on how to define relationships) and verify that your driver correctly implements DatabaseMetaData.
[middlegen] ********************************************************
[middlegen] * CTRL-Click relations to modify their cardinality *
[middlegen] * SHIFT-Click relations to modify their directionality *
[middlegen] ********************************************************
[middlegen] Updated preferences in D:\WorkSpace\CSBankforcph\Tools\middlegen-2.1\samples\src\test-prefs.properties