Top "Hbm" questions

A Hibernate (and NHibernate) feature that allows for both HQL and SQL queries to be stored in a file

Mapping a boolean with hibernate

I'm running into trouble with hibernate. I recently set my hbm2ddl to validate, and it has been complaining a …

java hibernate hbm2ddl hbm
Failed hibernate mapping: An association from the table X refers to an unmapped class Y

Hi I'm trying to map this pojo Rent class to create his hibernate mapping file . Rent.java (POJO): public class …

hibernate hibernate-mapping pojo hbm
Adding an enum as a class property in HBM

I am trying to create a class in HBM file which contains an Enum as a field. The HBM is …

hibernate enums hibernate-mapping hbm
Hibernate - update the primary key 'id' column in the table

In my Java applicaion, I am using hibernate .hbm file to access database; Is this possible to update the primary …

java hibernate hbm
Generating Hibernate hbm xml files & entities classes from existing DB schema

How can I generate Hibernate hbm xml files & entities classes from an existing DB schema?

hibernate hbm
HQL Query on Set Property

Suppose that I have the following HBM mapping: <class name="Student" table="student"> <set name="classes" table="…

hibernate hql hbm
Set creation and update time with Hibernate in Xml mappings

I'm using Hibernate with Xml mappings. I have an entity that has two fields creationDate and updateDate of type timestamp, …

hibernate orm hibernate-mapping hbm
Mapping Java byte[] to MySQL binary(64) in Hibernate

I'm having some trouble mapping a byte array to a MySQL database in Hibernate and was wondering if I'm missing …

mysql hibernate hbm2ddl hbm
Hibernate: composite-id with key-many-to-one generating java.lang.stackoverflow error

I've been trying to map the following tables into Hibernate with hbm files: CREATE TABLE additional_info ( info_id SMALLINT, …

java hibernate hibernate-mapping hbm