1. PersistentMap.get returns null for key it has forum.hibernate.orgNewbie Joined: Sun Sep 25, 2011 4:05 pm Posts: 12 So this is driving me just crazy, I'm calling the get function on a map and it always returns null. I have verified that the map indeed contains my key, and that the entry indeed has a non-null value. I also verified that the hashCode and the equals functions are working ... |
2. Principal keys with Dates forum.hibernate.orgAuthor Message roychav Post subject: Principal keys with Dates Posted: Tue Oct 21, 2003 3:48 pm Newbie Joined: Mon Oct 20, 2003 12:18 pm Posts: 12 Location: Mexico Its possible create principal keys like dates. I have the next code: Code: /** * @hibernate.id * generator-class="assigned" ... |
3. many-to-many trouble with a string key forum.hibernate.orgHi ! I've trouble with a many-to-many association. I have two table with a varchar(32) key and when i try to create the many-to-many table with hibernator, i've got the error : create table User (User_Nom VARCHAR(32) not null, User_Pass VARCHAR(32) not null, primary key (User_Nom)) create table Role (User_Nom VARCHAR(32) not null, primary key (User_Nom)) create table user_role (User_Nom VARCHAR(255) ... |
4. uniqie-key on column of type float adds random number to end forum.hibernate.org |
5. many to one with 0 rather than null as empty key forum.hibernate.orgI am accessing third party data base with a many to one(child - parent) relationship. The column that references the relationship is set to 0 as a default rather than leaving it null. When hibernate sees non-null key it tries to access the record and it fails with UnresolvableObjectException: No row with the given identifier exists: 0, How can I make ... |
6. Oracle + Date + Timestamp + Key forum.hibernate.orgI have a table that has a composite primary key with one of the fields that is of type Date. The mapping configuration works, but when I execute a query in the table occurs the following error: Connot perform lookups on timestamps. I'm using hibernate 3.0 and Oracle 9.0.2 and the Oracle9Dialect. Why the Date field is using org.hibernate.type.TimestampType instead of ... |
7. Adding a not-null attribut to a key tag forum.hibernate.orgHello I'm using hibernate 3.0 and xdoclets and trying to get a XML mapping that looks like: Code: |
8. Is the date key causing this? forum.hibernate.orgorg.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.bkv.search.objectmodel.AggregateSale#com.bkv.search.objectmodel.AggregateSale@6754d6] The composite key of this table is reportDate and buyID. BuyId is a primary key of another table. Report date is a date/time field in sql server. I set the date as a java.util.Date in my java bean. Am I getting this error because of the field type for the date? |
9. One-to-many with SortedSet key column set to NULL forum.hibernate.org |
10. Null foreing key forum.hibernate.orgHibernate version:3 Hello all, I need to have a one-to-many relation between 2 tables. the "parent" table is: Code: |
11. Null foreing key on many-to-one forum.hibernate.orgNeed help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version: 3.0.5 Mapping documents: CATEGORY: Code: |
12. Null Foriegn Key On Merge forum.hibernate.orgHello, We are noticing some strange behavior with Hibernate's JPA. There is an object called Customer composing a List of PaymentMethod instances with a OneToMany annotation specifying a join column. PaymentMethod is abstract, extended by a CreditCard object using a discriminator. Now we can add CreditCard instances to a Customer, persist it, remove items from the list, add new CreditCard instances, ... |