Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Access raw unmapped data from Entity
Access raw unmapped data from Entity [message #1737780] Tue, 12 July 2016 20:03 Go to next message
Marco Descher is currently offline Marco DescherFriend
Messages: 197
Registered: October 2010
Location: Austria
Senior Member
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 16:10 Go to previous message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1389
Registered: July 2009
Senior Member
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 Apr 25 09:37:52 GMT 2024

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

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

Back to the top