-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: How to disable any kind of byte code manipulation?
PostPosted: Mon Aug 23, 2010 11:45 am 
Newbie

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.