[java ee programming] Re: add more columns to OneToMany relationship table

2009-03-30 Thread Bill Gordon
is the main point create table Person_Phone (id, PersonId, PhoneId, description) Now that you have the data design if you generate entity tables everything works just fine. Bill Gordon On Mar 30, 2009, at 12:38 AM, poplar wrote: Hi all, I have a problem for adding a new column in OneToMany

Re: [BULK] [java ee programming] JPA:simple method to get all QUERYSET for a entity

2009-04-14 Thread Bill Gordon
1. Add a NamedQuery to the class: @NamedQueries{( @NamedQuery (name = Note.listAll, query = SELECT n FROM Note n) )} 2. Use JPA code like this: ListNote listAll { em = getEntityManager(); ListNote theList = null; try { Query q = em.createNamedQuery(Note.listAll);

[java ee programming] Re: anyone interesting in about soa

2009-04-14 Thread Bill Gordon
Why are you asking us to do your homework? Anyway, here is a usable reference: Design Patterns Explained, isbn 0-201-71594-1 On Apr 13, 2009, at 11:24 AM, Erdem Bozbağ wrote: I need three examples for each one 1. Design Pattern Language 2. Design Standard 3.

[java ee programming] Re:

2009-04-20 Thread Bill Gordon
work through the excellent Sun tutorials. http://java.sun.com/docs/ books/tutorial/index.html On Apr 20, 2009, at 10:01 AM, Olosunde Olayemi wrote: please,i don't know anything on java for now.how do i start learning? please help me.

[java ee programming] Re: java heartbeat

2009-05-01 Thread Bill Gordon
you need to use an independent thread. On May 1, 2009, at 10:51 AM, Hardeesh Kapula wrote: Hi guys, I am working on this application where we need to detect if client is still working or not. If not then log him out before the timeout. I am thinking on the lines to send a heartbeat to

[java ee programming] Re: webuijsf:listbox multiple option not working

2009-06-01 Thread Bill Gordon
i have an app that uses multi-select dropdown lists in a VWP page, and for all of these dropdown lists scroll bars DO appear when the list size is the number of display rows specified. These dropdown lists are populated by data read from database tables. Here is the jsp for one example:

[java ee programming] Re: Hibernate case - insensitive

2009-07-10 Thread Bill Gordon
Andrea, Typically this is a database configuration setting. Java items like named queries and their parameters are case sensitive, but database operations like where clauses and comparisons are case sensitive or insensitive depending on database configuration. For example, SQL server is