Joined: Mon Aug 23, 2010 11:34 am Posts: 1
|
Hi Folks!
We are using Hibernate 3.5 for mapping data objects to a database. The data objects are annotated using JPA-annotations.
Everything works fine with one problem: During restrictions of the project any kind of bate code manipulation is prohibited!
The reason for this is a requirement of very detailed tests. The software is an alarming system which is used to warn humans in a case of system failure. By that the whole software nedd to be certified. But that is only possible without byte code manipulation!
We do not use lazy fetching of data. All data types have an (protected) default constructor. All fields are not declared as final. Because of this any operation to the objects an they're data fields can be done with the Java reflection API.
Is there a way to totally disable byte code manipulation? Hibernate is allowed to fail if a default constructor or s.th. is missing.
Thanks for your support!
Regards, Matthias Zeimer
|
|