Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » optional property listener
optional property listener [message #487782] Thu, 24 September 2009 12:24 Go to next message
Stefan Dimov is currently offline Stefan DimovFriend
Messages: 14
Registered: July 2009
Location: Sofia, Bulgaria
Junior Member
In my application I'm working with JPA entities and I need to know when exactly 'optional' attribute of OneToOne (or ManyToOne for that matter) annotation have been changed (from false to true or backward). I have to create a listener and attach it somewhere in the model, but to tell you the truth I'm a little lost here ...

Can anyone help me with this please?
Re: optional property listener [message #488149 is a reply to message #487782] Fri, 25 September 2009 17:02 Go to previous message
Karen Butzke is currently offline Karen ButzkeFriend
Messages: 220
Registered: July 2009
Senior Member
You are looking for this property String : Nullable.SPECIFIED_OPTIONAL_PROPERTY. Several AttributeMappings in our model implement Nullable, so if you add a property change listener for that property to BasicMapping or SingleRelationshipMapping you will be notified when the optional setting changes.

Karen
Previous Topic:error: Invalid content (no root node)
Next Topic:How can Primary Key classes be automatically generated?
Goto Forum:
  


Current Time: Tue Mar 19 11:23:01 GMT 2024

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

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

Back to the top