Skip to main content



      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 12:35
Eclipse UserFriend
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: Thu Jul 10 01:16:48 EDT 2025

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

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

Back to the top