This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes BEA/Weblogic and the fly likes EJB CMP field read only? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "EJB CMP field read only?" Watch "EJB CMP field read only?" New topic
Author

EJB CMP field read only?

Kevin Smither
Ranch Hand

Joined: Oct 22, 2007
Posts: 30
I want to flag a CMP field as read only in Weblogic 9.2. Any ideas how to do this? I know it is possible in JBoss. I want ONLY ONE field in the bean as read-only which means any value that the attribute acquires at runtime is not persisted back into the database after ejbStore().
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30353
    
150

If this is possible, it is probably WebLogic specific. I'll move this to our WebLogic forum for you where someone is more likely to know how to do it.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
Consider Paul's rocket mass heater.
 
subject: EJB CMP field read only?