hbm2ddl
Can I map a table and a view of the same table in Hibernate without breaking my automated tests?
Say I have a table like so: CREATE TABLE big_table (UUID varchar(32) not null, ... ); I have a query on the table that I can\'t express as an HQL or Criteria query.I am trying to set up the query a[详细]
2023-04-09 03:50 分类:问答Error:ORA-01461: can bind a LONG value only for insert into a LONG column
I am using wsdl2java to generate POJOs. Then added @Entity annotations to the POJOS. Then using hbm2ddl for generating the db schema & persisting the data. It works well for all my class files exc[详细]
2023-03-24 20:30 分类:问答Issue with sequence why two entity are sharing the same sequence when generating schema with hbm2ddl ?
I am using hbm2ddl in my hibernate based application to generate the db schema. The value of hibernate.hbm2ddl.auto property is create-drop.[详细]
2023-03-24 02:05 分类:问答Maven: Multiple plugins invoking multiple lifecycles
I\'ve been using maven for quite some time (years), so it\'s surprising to me that I\'ve never come across this issue before, or at least have some way of dealing with it...[详细]
2023-03-22 06:35 分类:问答Schema is not dropped on hbmddl.auto = create.drop
I am using hbmddl.auto set to create in the hibernate configuration file and using it to connect to the derby database in network mode (not embedded, don\'t know if that is relevant).[详细]
2023-03-21 04:41 分类:问答Foreign keys have random number appended when using Hibernate's TABLE_PER_CLASS inheritance
I curren开发者_运维百科tly have the following in my domain model: @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)[详细]
2023-03-19 21:50 分类:问答How do I get hibernate to execute CREATE DATABASE if necessary for postgresql when hibernate.hbm2ddl.auto is set to create
I am using spring-roo, gwt and hibernate to make a website. We are using the in memory 开发者_StackOverflow中文版database HyperSonic, but I am trying to switch to postgres.[详细]
2023-03-11 01:44 分类:问答Hibernate HBM2DDL produces nullable field for primary foreign key?
I\'m using hbm2ddl (from the hibernate3-maven-plugin 2.2) to produce a DDL based on my JPA annotated entities. Normally, this works fine but I recently introduced an entity that uses a composite key m[详细]
2023-03-09 16:14 分类:问答Problems with Hibernates hbm2ddl.auto=validate and MySQL text types
I\'ve tried to enable hbm2ddl.auto=validate on a project I\'ve inherited. I now get a lot of wrong column type exceptions for String properties which are mapped either wi开发者_Python百科th textor med[详细]
2023-03-05 02:15 分类:问答Schema generation with Maven Hibernate3 plugin
I\'m trying to setup a simple hibernate + maven project. I\'m following steps as mentioned in Chapter 2 of Java presistence with hibernate (only diff is I\'m maven using instead of Ant). However, whil[详细]
2023-03-04 04:11 分类:问答