greptilian logo

IRC log for #javaee, 2014-01-18

Please see http://irclog.greptilian.com/javaee for which days have been logged.

| Channels | #javaee index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
00:00 syncsys sfisque,  ok
00:01 syncsys sfisque,  you are correct but the answers to this looks a bit different though. why is that http://stackoverflow.com/questions/21196672/jpa-and-spring-handling-of-dao-with-exceptons-and-generics
00:04 syncsys you can leave message, I would check logs of this channel if i got disconnected
00:46 tommmied joined ##javaee
01:09 janpenuel joined ##javaee
01:27 sfisque well, you're mixing spring with jpa, which begs the question of why spring?  in the EE world, jpa IS the dao layer and you can just toss out the explicit dao's unless you're doing something special (coalescing tuple queries, XA, etc.)   also, in the EE world, you would still catch specific RTE's and rethrow them as ApplicationExceptions (annotated appropriately for TX semantics) and have the caller react appropriately.  RTE's ar
03:08 sajjadg joined ##javaee
03:15 tommmied joined ##javaee
03:52 firebird1 joined ##javaee
03:52 firebird1 hi
03:52 firebird1 okay i have a bean
03:53 firebird1 this bean consist of List and another bean
03:53 firebird1 now in my table i can get the list
03:53 firebird1 how to get other bean in table
03:54 firebird1 A has List C bean and B bean
03:55 firebird1 A has List C bean , B bean
04:09 sfisque assuming A has a getB() method, you can just do #{nameOfInstanceOfA.b}
04:23 firebird1 sfisque, i have a class called Hello , hello has A instance , again A has List of C and B bean
04:24 firebird1 now in my table
04:24 firebird1 wen i call hello.getDetails() : A
04:25 firebird1 i need to access hello.getDetails().getListOfC()
04:25 firebird1 here error occurs
05:11 sajjadg joined ##javaee
05:48 firebird1 joined ##javaee
05:50 kobain joined ##javaee
05:50 kobain joined ##javaee
05:56 firebird1 joined ##javaee
08:40 firebird1 when jsf cant support all browser its waste
08:40 firebird1 primeface ogod
08:46 firebird1 for previous u have to inject
08:47 firebird1 nd serialize
09:08 neuro_sys joined ##javaee
09:08 neuro_sys joined ##javaee
10:42 Bombe joined ##javaee
11:44 weyer joined ##javaee
11:54 weyer joined ##javaee
12:04 syncsys joined ##javaee
12:58 weyer joined ##javaee
14:24 firebird1 joined ##javaee
14:41 neuro_sys joined ##javaee
14:41 neuro_sys joined ##javaee
15:36 syncsys sfisque,  hello
15:37 syncsys is there anything wrong with this method? any comments? using spring and hibernate with JPA http://pastie.org/8645338
15:49 javaeebot joined ##javaee
15:52 weyer joined ##javaee
15:56 javaeebot joined ##javaee
16:01 weyer joined ##javaee
16:06 sfisque syncsys - drop the Exception.printStackTrace().  it's not guaranteed to work in a contained environment.  instead define a Logger and call Logger.log( … );      also, don't quietly squelch the exception.   either rethrow after logging or throw a new "application" exception that the caller can react to.
16:10 syncsys hm
16:10 syncsys ok
16:11 gabbaell joined ##javaee
16:55 weyer joined ##javaee
17:13 weyer joined ##javaee
17:15 firebird1 sfisque, Collections.sort() what sort mechanism it uses ?
17:20 weyer joined ##javaee
17:35 Naros joined ##javaee
17:35 Naros left ##javaee
17:47 sajjadg joined ##javaee
17:47 sfisque firebird1 i would assume it uses quicksort.  otherwise it's broken
18:24 weyer joined ##javaee
18:34 weyer joined ##javaee
18:51 firebird1 joined ##javaee
19:05 neuro_sys joined ##javaee
19:05 neuro_sys joined ##javaee
19:14 firebird1 joined ##javaee
19:14 firebird1 do u guys miss me  :?
19:24 sajjadg firebird1: I do :-)
19:24 sajjadg please just don't ask about how to add support for Japanese Lang :P
19:37 sajjadg firebird1: hey
20:00 mocrunsthecity joined ##javaee
20:51 pdurbin sajjadg: how's the talk coming along?
20:53 sajjadg pdurbin: :( I changed my talk to Linux!
20:54 sajjadg I was afraid of the previous topic. software development is a big topic and I didn't have the self confidence to do that!
20:55 sajjadg I'm not in good mood lately.
21:03 sajjadg I'm creating the slides right now...
21:06 kobain joined ##javaee
21:11 pdurbin sajjadg: well, break a leg
21:13 sajjadg thanks
21:18 book` joined ##javaee
21:18 pdurbin joined ##javaee
23:08 sess joined ##javaee
23:13 syncsys joined ##javaee

| Channels | #javaee index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

Please see http://irclog.greptilian.com/javaee for which days have been logged.