Re: Netbeans, JSF and Entity classes from database

2020-06-25 Thread Charles Johnson

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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@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

2020-06-25 Thread Josh Juneau
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
juneau...@gmail.com
http://jj-blogger.blogspot.com
https://www.apress.com/us/search?query=Juneau




On Tue, Jun 23, 2020 at 5:04 PM Charles Johnson 
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-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>


Netbeans, JSF and Entity classes from database

2020-06-23 Thread Charles Johnson
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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists