| [SOLVED] not recovering a Date field [message #732022]
||Mon, 03 October 2011 17:49
| FiruzzZ Mising name
Registered: October 2011
Its not recoverying a simple Date field.|
part of the Model
@Basic(optional = false)
@Column(name = "fechaalta", nullable = false, insertable = false, updatable = false, columnDefinition = "timestamp with time zone NOT NULL DEFAULT now()")
private Date fechaalta;
I tried with entityManager.find, createNativeQuery (Natives query over this model also doesn't work), createQuery, using "refresh" Hint .. nothing works.
This has been working on TopLink for years
Im using PostgreSQL 8.4
Hints usually are String... and IF the hints does not exist, no error is triggers (like "toplink.refresh" indeed "eclipselink.refresh")
From now.. I will use QueryHints.REFRESH so if I change the JPA persistence provider at least I will get a package error.
Well that its all.. and sorry if my english is not clear.
[Updated on: Tue, 04 October 2011 11:26]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02195 seconds