Advertisements
Tag Archives: query statement
Joda DateTime in Hibernate Queries and JPA Entities
If you use JodaTime in a JPA Entity, you’ll need to observe the following things: 1) Your Entity member should declare the following annotations: @Column(name = “cutoff”) @Type(type=”org.joda.time.contrib.hibernate.PersistentDateTime”) @Getter @Setter private DateTime cutOff; 2) If you want to query that … Continue reading
Posted in Enterprise Java, Uncategorized
Tagged hibernate, jodatime, query statement
Leave a comment