[hibernate-issues] [Hibernate-JIRA] Updated: (HBX-612) Allow to specify a NamingStrategy to a console configuration
Max Rydahl Andersen (JIRA)
noreply at atlassian.com
Fri Sep 22 04:29:28 EDT 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-612?page=all ]
Max Rydahl Andersen updated HBX-612:
------------------------------------
Fix Version: 3.2beta9
(was: 3.2beta8)
> Allow to specify a NamingStrategy to a console configuration
> ------------------------------------------------------------
>
> Key: HBX-612
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-612
> Project: Hibernate Tools
> Type: Improvement
> Components: consoleconfiguration
> Versions: 3.1beta2
> Environment: Eclipse webtools 1.0
> Hibernate console plugin version: 3.1.0 beta2
> Hibernate 3.1
> java version "1.5.0_06"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
> Windows XP
> Reporter: Benjamin Francisoud
> Fix For: 3.2beta9
>
>
> See forum topic: set NamingStrategy for hbm2ddl
> http://forum.hibernate.org/viewtopic.php?t=947305&start=0&postdays=0&postorder=asc&highlight=
> the 01 Mar 2006 entry
> ---
> When doing a schema export (or schema update) within the console perspective under hibernate eclipse plugin
> How can I set the NamingStrategy to ImprovedNamingStrategy ?
> I already do this in my application code, but when I use the plugin, I have errors or duplicated tables for example:
> - PHONENUMBER (created by the plugin)
> - PHONE_NUMBER (created by my code using ImprovedNamingStrategy)
> Adding an input field in the console configuration would be a good place in my opinion...
> My hibernate.cfg.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <hibernate-configuration>
> <session-factory name="sessionFactory">
> <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
> <property name="hibernate.cache.region_prefix">hibernate.app</property>
> <property name="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</property>
> <property name="hibernate.connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
> <property name="hibernate.connection.url">jdbc:oracle:thin:@host:1591:BASE</property>
> <property name="hibernate.default_schema">LOGIN</property>
> <property name="hibernate.connection.username">LOGIN</property>
> <property name="hibernate.connection.password">PASSWORD</property>
> <property name="hibernate.connection.pool_size">1</property>
> <property name="show_sql">true</property>
> <property name="hibernate.hbm2ddl.auto">update</property>
>
> <!-- mapping files -->
> <mapping resource="package/Address.hbm.xml"/>
> <mapping resource="package/Person.hbm.xml"/>
> <mapping resource="package/PersonAddress.hbm.xml" />
> <mapping resource="package/PhoneNumber.hbm.xml" />
> </session-factory>
> </hibernate-configuration>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list