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 #617616] 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 #617617 is a reply to message #617616] 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.

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

Current Time: Mon Jun 21 14:24:26 GMT 2021

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

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

Back to the top