Hello,
i have a problem...
I'm trying to create the tables within a session bean in JBoss. I configure
Hibernate to work with the JMX o JBoss and it works. Now i'm want to use
generateSchemeCreationScript or better SchemaExport(cfg).create(...) but
Hibernate seems don's see the properties in jboss-service.xml. So i must put
a "hibernate.cfg.xml" file to read the right configuration with "new
Configuration.configure()". In this way it works but i'd like to not use
"hibernate.cfg.xml" because the properties are already in jboss-service.xml.
It's possible or there is an easyer way to create table using Hibernate
mapping files?!

Thanx
Giovanni



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to