1. Hibernate inherit problem while using hql statement stackoverflow.comI ran into a problem with Hibernate concerning hql query execution on classes which use inheritance. Model Structure
|
2. Hibernate fetch MAP optimization (minimize SELECT statements) stackoverflow.comHow to fetch a map with no additional select statements. I have a hbm like this:
|
3. Hibernate OneToOne mapping executes select statement before insert; not sure why stackoverflow.comI configured a simple OneToOne mapping in my entity, but when I persist the object I see a "Select" statement being executed by Hibernate just before the Insert and I don't ... |
4. How to change this Hibernate property to not require a SQL statement stackoverflow.comI am using Hibernate dynamic-map to load DataEntry objects in my application. When I load any given DataEntry object, I want to retrieve the descriptive value of its InformationTypeId column. The ... |
5. ManyToMany and IndexColumn: strange SQL update statement forum.hibernate.org/* update collection row Foo.bars */ update t_FooBar set c_BarUid=? where c_FooUid=? ... |
6. dynamic mapped statements forum.hibernate.orgHi, I am a new Hibernate user and I was really impressed by the available features. However, I would like to know whether Hibernate contains something like dynamic mapped statements of iBatis. If it dosen't, what's the best way to generate queries for search forms where not all the fields are required ? Thanks in advance. |
7. Problems with MySQL and catalog statement in mapping files forum.hibernate.orgHibernate version: 3.0.5 Mapping documents: |
8. Mapping is generating update statement forum.hibernate.orgHi friends; I have tried this for quite some time and things are bouncing over my head. Please help me with this. where ever i specify one-to-one or one-to-many mapping. Hibernate is generating a update sql statement when i am trying to insert into the database. how to solve this |
9. tools generated mapping - wrong insert statements upon save forum.hibernate.orgAuthor Message kraro_1234 Post subject: tools generated mapping - wrong insert statements upon save Posted: Wed Jan 25, 2006 4:16 pm Newbie Joined: Wed Jan 25, 2006 3:32 pm Posts: 5 Hi, the following classes got reverse enginered from my simplified testcase database with hibernate-tools from cvs last week. Code: create table CONTAINER ( SPECIALID ... |
10. HQL bulk statements and mapping names forum.hibernate.orgHibernate version: 3.1 To create a SQL-statement like UPDATE person set pers_type = null where pers_type = |
11. How to execute sql statement without Mapping class forum.hibernate.orgHey, I am new to hibernate. I have created a database table "Test". I don't have persistent class Test.java and mapping class Test.hbm.xml. How I do an insert, update and delete into Test table using hibernate. I have tried using HQLQuery but it is keep giving me parser error. session.createQuery("insert into Test (id, id2) values (10, 11)").executeUpdate(); Thanks. Sanjeev |
12. Hibernate mapping documentatiin and SQL statements forum.hibernate.orgHi , I would like to see exactly what kind of SQL statements will be executed when you use a mapping attribute in the hibernate documentation. it does not make any sense to exlain meaning of attributes like one-to-many or fetch="join" or lazy="true" without showing the kind of sql statements that are expected to be executed. We have to completely execute ... |
13. [mapping] Calculated values in insert statement forum.hibernate.org |