Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Automatic register SessionEventListener in DatabasePlatform(New Progress OpenEdge DatabasePlatform)
Automatic register SessionEventListener in DatabasePlatform [message #1666306] Wed, 11 March 2015 16:35
Vu Tran is currently offline Vu TranFriend
Messages: 1
Registered: March 2015
Junior Member
Hello,

I am trying to write a new DatabasePlatform for Progress OpenEdge and I am trying to customize array field type. Basically I want to do the following:

@Column(name="col1")
String[] col1;

@Column(name="col2")
Integer[] col2;

@Column(name="col3")
BigDecimal[] col3;

So I want to automate the data conversion from database (a String) and convert it to the array datatype automatically and vice versa, from the array to string. It seems that I can only hook up into the SessionEventListener to perform the necessary operations (setup the converter) and it requires a configuration entry in the persistence.xml in addition to the target-database entry.

I would like to eliminate the step to configure the SessionListener and somehow configure it directly via the DatabasePlatform. Is it possible?

Thanks,
Previous Topic:Metamodel generation for Entity under test folder
Next Topic:Ensuring thread safety with JPA entities in Servlets
Goto Forum:
  


Current Time: Sun Oct 06 09:52:45 GMT 2024

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

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

Back to the top