This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Object Relational Mapping
Date variable in JPA
Joined: Apr 04, 2012
Sep 19, 2012 18:48:49
I am practicing JPA howerver.... private Date updatedTime; is not allowed.. Any package to be added?
Im using openjpa.
Joined: Aug 11, 2012
Sep 20, 2012 02:23:59
You need to add @Temporal annotation to the field..
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Date variable in JPA
Why Timestamp isn't allowed as a primary key?
Beta for Sun Certified EJB Developer Java EE 6 Exam
how to write a JPA named query to retrive records based on day
hibernate query to retrive records based on a day from date/time field
JPA 2.0 - good and up-to-date tutorial
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015