Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » Access raw unmapped data from Entity
Access raw unmapped data from Entity [message #1737780] Tue, 12 July 2016 16:03 Go to next message
Eclipse UserFriend
I have an @Entity where I use some AttributeConverters to custom map Enumerations to database values. Now I want to write a test, to see whether the value written to the database is as expected.

The entity itself only refers to the Enumeration type, not the raw String character stored in the DB.

Is there a way for me to access the raw database data for an entity, that is leaving out the mapping?

Thanks!
Re: Access raw unmapped data from Entity [message #1738872 is a reply to message #1737780] Mon, 25 July 2016 12:10 Go to previous message
Eclipse UserFriend
You can use a native SQL query to access the raw, unconverted data.
Previous Topic:Persist @ElementCollection Map - The list of fields to insert into the table is empty
Next Topic:EclipseLInk level 2 caching
Goto Forum:
  


Current Time: Thu Nov 06 09:41:05 EST 2025

Powered by FUDForum. Page generated in 0.04189 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top