datanucleus


DN 4.0.x and oracle : java.util.Date mapped to wrong rdbms type


We are migrating our application from DN 3 to DN 4.0.
We have a strange problem with the java.util.Date fields. They are mapped to Date in our Oracle DB.
With the older DN 3 it is mapped to Timestamp and we need the Oracle datatype to be Timestamp because Date(as rdbms type) cuts the milliseconds off, so the Date rdbms type is a bit incorrect. It is essential for us that the date is complete.
In the documentation Timestamp is highlighted and afaik this means it is the default rdbms datatype.
We use the current DN 4.0 version.
Someone has the same problem?
We use our custom Oracle datastore adapter and with DN 4.0 the extension point name changed. But in the documentation, the old extension point is mentioned (http://www.datanucleus.org/documentation/extensions/rdbms_datastore_adapter.html).
So I had to search the source code for the correct one.
If someone's there with the same problem: org.datanucleus.store_datastoreadapter is now: org.datanucleus.store.rdbms.datastoreadapter

Related Links

How to load entity with its 1 to 1 relation in DataNucleus, using native SQL query with JOINS
How to fetch related object using JDOQL named query?
Datanucleus enhancement with Bazel
DN 4.0.x and oracle : java.util.Date mapped to wrong rdbms type
Is ReferentialJDOStateManager not used in DataNucleus 4.x?
DataNucleus JDO primary key with enum
How to create a Datanucleus JPA 2.x query with CriteriaQuery that is based on values from an embedded map
How do I replace Hibernate with DataNucleus JPA in a JHipster project?
getting this error while enhancing using Datanucleus. any idea
Weird “com.vividsolutions.jts.geom.Geometry” ClassNotResolvedException exception
Does DataNucleus persist JodaTime's DateTime differently with a non-local timezone?
Bulk update with datanucleus errors out
Detailed and clear specification for datanucleus jdo extensions?
Unique constraint with DataNucleus discriminator based multitenancy
Datanucleus fetchgroup composite key
Is there a good step-by-step tutorial for using datanucleus and maven?

Categories

HOME
reactjs
excel-formula
packet
bigtable
x509certificate
arguments
hiveql
css-selectors
docker-compose
jquery-select2
soap-client
ios-universal-links
ndepend
fine-uploader
tracking
sha1
greensock
taxonomy
orange
summernote
datasource
custom-component
ckeditor4.x
symlink
workflow-foundation
scripting-language
git-submodules
emr
request-uri
dynamics-ax-2012-r3
ipython-parallel
akamai
luhn
flickr
pyenv
pymunk
ponylang
ragel
console.readline
anypoint-studio
const
byobu
ape-phylo
php-mongodb
paperclip
smooth-streaming
inner-join
django-cors-headers
niagara-ax
npoco
jsfl
history
google-cloud-shell
ear
cancan
e4
openpgp.js
sqlproj
addressbook
copy-constructor
glade
alfred
joystick
x12
jspx
hdr
patching
android-xmlpullparser
django-taggit
archiva
calc
skbio
std
wordpress-plugin
cascading
gtkwave
webservices-client
play-json
lytro
vspackage
valdr-bean-validation
bungeecord
xmla
illegalargumentexception
worklight-appcenter
switchpreference
satisfiability
power-management
dayofweek
pthreads-win32
ekevent
mysql-error-1146
randomaccessfile
dylan
azure-pack
stringstream
outlook-object-model
nsautoreleasepool
freeimage
invalidoperationexception
orchestration
wpml
ios6-maps
winrt-async
flatten
advanceddatagrid
digg
cryptolicensing
rollover
calendarextender
projectgen
cstring
vista64
paperless

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App