You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Charles Johnson <ce...@gmail.com> on 2020/06/23 22:04:41 UTC
Netbeans, JSF and Entity classes from database
I departed from usual suspicion of using IDEs to generate stuff for me
automatically and went for the above.
That worked out OK, although the 'black-boxishness' of it makes
extending the (admittedly quite full-featured) result tricky.
One thing that is currently exercising me is to treat the entity
relationships between my Job and Client classes. It's my business case
the there is a one-to-one unidirectional relationship there.
Is there a way to tap into that 'internally' or do i need to construct
it myself.
e.g. i create a new Job through my gui. The field that comes up in the
form is 'ClientID' (a foreign key). I'd like to leverage the Client
objects there by name, since i don't know the client id off the top of
my head. To what extent has the work been done already by Netbeans?
TIA
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Netbeans, JSF and Entity classes from database
Posted by Charles Johnson <ce...@gmail.com>.
On 25/06/2020 12:21, Josh Juneau wrote:
> With respect to your questions pertaining to the Java Persistence API
> (JPA), you many want to try the Jeddict plugin and see if that helps.
Thanks Josh. Shall take a look at that
C
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: Netbeans, JSF and Entity classes from database
Posted by Josh Juneau <ju...@gmail.com>.
Hi Charles,
Thanks for utilizing the JSF features of Apache NetBeans. With respect to
your questions pertaining to the Java Persistence API (JPA), you many want
to try the Jeddict plugin and see if that helps. This plugin was generated
to allow visual creation of entity classes and entity class relationships.
https://jeddict.github.io/
Hope this helps. Thanks
Josh Juneau
juneau001@gmail.com
http://jj-blogger.blogspot.com
https://www.apress.com/us/search?query=Juneau
<https://www.apress.com/index.php/author/author/view/id/1866>
On Tue, Jun 23, 2020 at 5:04 PM Charles Johnson <ce...@gmail.com>
wrote:
> I departed from usual suspicion of using IDEs to generate stuff for me
> automatically and went for the above.
> That worked out OK, although the 'black-boxishness' of it makes
> extending the (admittedly quite full-featured) result tricky.
>
> One thing that is currently exercising me is to treat the entity
> relationships between my Job and Client classes. It's my business case
> the there is a one-to-one unidirectional relationship there.
> Is there a way to tap into that 'internally' or do i need to construct
> it myself.
> e.g. i create a new Job through my gui. The field that comes up in the
> form is 'ClientID' (a foreign key). I'd like to leverage the Client
> objects there by name, since i don't know the client id off the top of
> my head. To what extent has the work been done already by Netbeans?
>
> TIA
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>