hbm2ddl
Best approach for Java/Maven/JPA/Hibernate build with multiple database vendor support?
I have an enterprise application that uses a single database, but the application needs to support mysql, oracle, and sql*server as installation options.[详细]
2022-12-30 11:20 分类:问答How to get hibernate3-maven-plugin hbm2ddl to find JDBC driver?
I have a Java project I am building with Maven.I am now trying to get the hibernate3-maven-plugin to run the hbm2ddl tool to generate a schema.sql file I can use to create the database schema from my[详细]
2022-12-30 10:06 分类:问答hibernate3-maven-plugin: entiries in different maven projects, hbm2ddl fails
I\'m trying to put an entity in a different maven project.In the current project I have: @Entity public class User {[详细]
2022-12-30 01:31 分类:问答How to reserve a set of primary key identifiers for preloading bootstrap data
We would like to reserve a set of primary key iden开发者_开发技巧tifiers for all tables (e.g. 1-1000) so that we can bootstrap the system with pre-loaded system data.[详细]
2022-12-26 11:24 分类:问答constraint problems using apache derby and hbm2ddl
We are using Apache Derby 10.5.3.0_1 and hbm2ddl with Hibernate 3.3.x I get the following constraints error while pre-loading the SQL on an embedded derby database. If I remove the primary 开发者_如何[详细]
2022-12-21 03:09 分类:问答How can I turn off the majority of hbm2ddl's output in the console in Ant?
By default, hbm2ddl spits a ton of output to the console when executing the ant task.I\'d li开发者_JAVA技巧ke to turn this completely off and simply look at the schema file if something has gone wrong[详细]
2022-12-21 01:49 分类:问答Is it possible to create indices on join table using Hibernate annotations and hbm2ddl?
I have a two entities in many-to-many association. Hibernate creates a join table for this association if hbm2ddl is activated. However, since I do not have an entity for this table, I can not apply @[详细]
2022-12-19 11:06 分类:问答Hibernate, MySQL Views and hibernate.hbm2ddl.auto = validate
I can use MySQL views in Hibernate by treating them like tables - ie. the entity is no different than one created for a table. However my application won\'t deploy when Hibernate is set to validate th[详细]
2022-12-16 04:04 分类:问答In-MemoryDB: create schema in 'setUp()' of Unit Testing: Netbeans (6.5.1) Hibernate (3) Junit(3), HSQL (1.8)
What are the steps needed to setup an in-memory DB, build the schema automatically with Hibernate\'s \'hbm2ddl\' tool within a Junit (3) \'setUp()\' using Netbeans 6.5.1 ? I\'m not using Hibernate ann[详细]
2022-12-14 01:03 分类:问答hbm2ddl on a column based on GenericEnumUserType
The following JPA column definition generates an \"integer\" data type by default on all databases (e.g. h2, mysql, postgres)[详细]
2022-12-13 10:26 分类:问答