[
https://jira.jboss.org/jira/browse/JBSEAM-2901?page=com.atlassian.jira.pl...
]
Dan Allen resolved JBSEAM-2901.
-------------------------------
Fix Version/s: (was: The future)
Resolution: Rejected
Assignee: Dan Allen
Sorry, this is already supported. That is the purpose of the following two questions:
Enter the database schema name (it is OK to leave this blank)
Enter the database catalog name (it is OK to leave this blank)
Databases vary on what they consider the schema or catalog. For instance, in MySQL, there
is no concept of a schema and the database name is effectively the catalog name. So that
is what you would enter here in response to the second question above. If you are using
H2, then the catalog is always H2 and the schema is likely PUBLIC (if you didn't
create one).
I also advice you to look at the following two Hibernate properties, which are used to set
defaults at runtime:
hibernate.default_catalog
hibernate.default_schema
seam-gen unable to clear off database catalog name
--------------------------------------------------
Key: JBSEAM-2901
URL:
https://jira.jboss.org/jira/browse/JBSEAM-2901
Project: Seam
Issue Type: Bug
Components: Tools
Affects Versions: 2.0.1.GA
Environment: Seam 2.0.1.GA, JDk 1.5.0_11, Windows XP, ANT 1.7.0
Reporter: Ashish Kulkarni
Assignee: Dan Allen
Hi there,
If I use a database catalog name when generating a project using seam-gen say, for h2
database, and then, I decide to use seam-gen for another database that doesn't use
catalogs, like PostgreSQL, there is no way of clearing off the database catalog name
unless I manually do that.
In short, I need to edit seam-gen/build.properties manually for this.
Can seam-gen deal with this in some way?
Best Regards,
Ashish.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira