【发布时间】:2011-02-12 19:48:55
【问题描述】:
我第一次尝试使用 Spring Roo 使用逆向工程生成代码。
安装 Postgresql 插件后:
osgi install --url
http://spring-roo-repository.springsource.org/release/org/springframework/roo/wrapping/org.springframework.roo.wrapping.postgresql-jdbc3/8.4.701.0001/org.springframework.roo.wrapping.postgresql-jdbc3-8.4.701.0001.jar
我尝试下一个命令:
数据库自省--schema USER
我确定我的数据库中有 USER 模式(当我使用 TAB 键时,我得到了具有正确区分大小写的其他 shema 名称的 USER),但 spring 响应是:
roo> database introspect --schema
USER information_schema pg_catalog
pg_toast_temp_1 public
roo> database introspect --schema USER
Schema 'USER' does not exist or does not have any tables. Note that the schema names of some databases are case-sensitive
【问题讨论】:
标签: postgresql reverse-engineering spring-roo