1. JPA2 encapsulating legacy database date fields stackoverflow.comAuto generating entities from a legacy database. Many of the tables have non standard date formats. All kinds of esoteric use of int fields... where one may contain century, year, month, ... |
2. Doubt with hibernate and date field java-forums.orgI'm using hibernate to access to a Data base done with MSAccess The class that I am persisting has an attribute which type is "java.sql.Timestamp (its name is hExit), the type of the columns is Datetime I don't have problems to save it. The problems is when I want to access to the records filtering the date I tried using the ... |
3. How to get year from a date field forum.hibernate.org |
4. query in date field forum.hibernate.org |
5. using DISTINCT with date field forum.hibernate.org |
6. a simple query on date field forum.hibernate.org |
7. Add days to date field? forum.hibernate.orgHi All! I have a type persisted through Hibernate that has a java.util.date field. I would like to do a query based on a date calculation. For example: WHERE record.date + [[30 days..]] > [[current date]] Can someone tell me how to express these two things or let me know where I can find out? Thanks for any assistance! Rob :) ... |
8. Qerying a date field just by using the year forum.hibernate.orgHibernate 3.0 Hi, Sorry if this is an obvious question. i just can't find the answer anywhere. I am trying to query a database table on a date field column. That works ok if i put in all of the data in the date but how can i set the query to return all the dates for a year for exaple? ... |
9. in Between on Date field forum.hibernate.orgHibernate 3.0 Oracle 9i Hi, I have a field in database of type Date. The same has been mapped as java.util.Date . > There are dates in my database with no time stamp( e.g '02-Sep-2005'). criteria.add(Expression.between("dueDate",calendar.getTime(),calendar2.getTime())); translated to : (between Fri Sep 02 00:00:00 GMT+05:30 2005 and Sat Sep 03 00:00:00 GMT+05:30 2005) When I query the database for the date ... |
10. Any special for Date fields? forum.hibernate.orgHi there, Tried to insert records with date field into table, but I cannot. Any special things for date in Hibernate? thx, Lamborghini db map Code: |
12. Unix epoch date fields translation forum.hibernate.orgI've got a table with unix epoch date fields. It would be really nice if there were any easy way to get Hibernate to translate those into and out of a Java Date field. Much in the way that yes_no type translates character values into and out of boolean. Have I missed this feature? Short of that, is there an easy ... |
13. database tables not being created when using Date field forum.hibernate.orgHibernate version: 3.2.2 I think. Downloaded about a month ago. Name and version of the database you are using: HSQLDB 1.8 Hi, I am totally new to Hibernate, so apologies if I'm missing something elementary here. I have generated some mapping files for my objects, but I have one particular definition which is failing to generate a database table. The only ... |