persistence.xml
से एक उद्धरण:stdout पर स्कीमा लॉग करने के लिए hbm2ddl schemaExport कैसे करें?
Sep 30, 2010 12:03:43 PM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: Running hbm2ddl schema export
Sep 30, 2010 12:03:43 PM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: exporting generated schema to database
Sep 30, 2010 12:03:43 PM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: schema export complete
लेकिन मैं नहीं दिख रहा स्कीमा (SQL) ही निर्यात:
<persistence-unit name="test" transaction-type="RESOURCE_LOCAL">
<properties>
<property name="hibernate.archive.autodetection" value="class" />
<property name="hibernate.show_sql" value="true" />
<property name="hibernate.format_sql" value="true" />
<property name="hibernate.hbm2ddl.auto" value="create" />
...
</properties>
</persistence-unit>
यह है कि मैं क्या लॉग उत्पादन में देखते हैं। इस जानकारी को हाइबरनेट (3.5.6-फ़ाइनल) से कैसे प्राप्त करें?
तुम मुझे संकेत कृपया सकते हैं मैं यह कैसे वास्तव में क्या कर सकते हैं, अगर मैं SLF4J उपयोग कर रहा हूँ और किसी भी प्रवेश विन्यास फाइल की जरूरत नहीं है अभी तक .. – yegor256