1. Hibernate: Delete where record field < getdate() stackoverflow.comI'm having trouble figuring out how to delete a set of records when a particular field is less than the date on the sql server without using tables or field names. Since ... |
2. How to verify whether a record with certain field values exists in a DB with JPA? stackoverflow.comHow to express the |
3. Hibernate get record by matching value with 2 concat fields stackoverflow.comI have a value which must be matched with 2 fields concatenation( value = field1+field2) and return result object matching that criteria. Can I somehow do it via Criteria or I ... |
4. Insert new record - Date field with current time forum.hibernate.orgAre there any good way to insert record using Session.save, so that the date field can be set to current timestamp relative to Database? Normal SQL for Sybase, insert into test_table (field1, field2, cdate) VALUES ('', '', GETDATE()) I am thinking of Session.createSQLQuery() instead of Session.save(), but it seems not good to write the whole insert-hsql for that. Any better idea? ... |
5. A exception when I update a record contains a blob field forum.hibernate.orgNewbie Joined: Mon Mar 01, 2004 1:09 pm Posts: 2 Need help with Hibernate? Read this first: http://when i update a record of ImageTable object,the data has been updated in database,the fields version has plus 1 automatic (i use version in hbm file), but when my application run ,it found the exceptions still as follows: Code: Hibernate: update ImagesTable set version=?, ... |