Time |
S |
Nick |
Message |
00:00 |
|
whartung |
favorite sybase quote: "Black monday was our fault" |
00:01 |
|
acuzio |
sfisque: not in the FIN world - |
00:02 |
|
acuzio |
having said that - Finance IT is slower to react as well -; big lumbering enterprises - i started working arnd 2003 in finance and it was a big thing at that time - |
00:03 |
|
acuzio |
for the last 5 years , we havent really used DB;s directly - its read/write from cache or do map/reduce partial calcs on really large stores. - but thats FO |
00:06 |
|
whartung |
FO? |
00:06 |
|
pdurbin |
javaeebot: lucky FO |
00:06 |
|
javaeebot |
pdurbin: http://www.urbandictionary.com/define.php?term=fo |
00:09 |
|
acuzio |
Front office |
00:09 |
|
acuzio |
sorry ; |
00:11 |
|
pdurbin |
I'm interested in Riak but I'm not sure if I'd have to write the app in Erlang to use it |
00:11 |
|
|
SoniEx2 joined ##javaee |
00:11 |
|
acuzio |
anyways laters |
00:11 |
|
acuzio |
pdurbin: no |
00:11 |
|
whartung |
tt acuzio |
00:56 |
|
|
cem_ joined ##javaee |
01:06 |
|
cem_ |
kumbahan |
02:41 |
|
|
kotten joined ##javaee |
02:43 |
|
|
scripty joined ##javaee |
02:48 |
|
|
jenue joined ##javaee |
06:12 |
|
|
book` joined ##javaee |
06:45 |
|
|
dangertools joined ##javaee |
07:00 |
|
|
Quest joined ##javaee |
07:00 |
|
Quest |
any one used a library to make thumbnails of images and videos? |
07:40 |
|
|
AlexCzar joined ##javaee |
07:45 |
|
|
argy joined ##javaee |
07:57 |
|
|
tmichel joined ##javaee |
08:12 |
|
|
lorry joined ##javaee |
08:13 |
|
lorry |
need a good tutorial on learning swing any one got any links or books thanks |
08:18 |
|
|
lorry left ##javaee |
08:44 |
|
AlexCzar |
~tutorial |
08:45 |
|
AlexCzar |
hm... lorry, read the tutorials on oracle site |
08:52 |
|
Fubar^ |
http://docs.oracle.com/javase/tutorial/uiswing/index.html |
10:02 |
|
Quest |
any help for this http://stackoverflow.com/questions/19701047/creating-resized-thumbnail-of-image-and-video ? |
10:11 |
|
Fubar^ |
Quest: Maybe you could use imagemagick |
10:23 |
|
Quest |
thats not java i gues |
10:24 |
|
Quest |
wanted a java thing |
10:24 |
|
Quest |
Fubar^ is VSS same as github? |
10:24 |
|
Fubar^ |
what do you mean by VSS? |
10:25 |
|
Quest |
is VSS (microsoft visual sourcesafe) same as github? I mean the function/purpose of the both software . that is maintaining source code |
10:25 |
|
Fubar^ |
sourcesafe has nothing in common with github |
10:26 |
|
Fubar^ |
sourcesafe is a version control system, github is a site where people can host git repositories |
10:26 |
|
Quest |
Fubar^ github also gives version control. dont it? |
10:26 |
|
Fubar^ |
on your image question, a quick google found this http://code.google.com/p/java-image-scaling/ |
10:27 |
|
Fubar^ |
Quest: github is an interface for git, but git does all the version controlling |
10:27 |
|
Quest |
you know the thing also that highlights deleted code, edited code, by different members. etc? |
10:28 |
|
Fubar^ |
Your question doesn't really make sense, what is it you actually want to know? |
10:31 |
|
Quest |
am. ok first things first. do you know any thing that can make the code in the stack question give good quality? |
10:31 |
|
Fubar^ |
did you check out the library i linked? |
10:32 |
|
Quest |
wanted to do it without a lib |
10:32 |
|
Fubar^ |
do it by hand then, find a good algorithm and implement it |
10:34 |
|
Fubar^ |
It looks like you don't try to preserve the aspect ratio in your code, that might be a reason the quality is bad |
10:55 |
|
|
oO0Oo left ##javaee |
10:56 |
|
|
oO0Oo joined ##javaee |
10:56 |
|
Quest |
hm |
10:57 |
|
|
tangatools joined ##javaee |
10:57 |
|
|
tangatools joined ##javaee |
11:02 |
|
|
tmichel joined ##javaee |
11:04 |
|
|
cem_ joined ##javaee |
11:04 |
|
cem_ |
grt sfisque |
11:11 |
|
|
MegaMatt joined ##javaee |
11:13 |
|
cem_ |
sfisque: |
11:34 |
|
acuzio |
Fubar^: ImageMagick in Java is terrible - the bindings dont really work |
11:57 |
|
|
book` joined ##javaee |
11:59 |
|
Fubar^ |
acuzio: you could use it as an external program |
12:32 |
|
balo |
I'm using this binding http://im4java.sourceforge.net/ for IM. It works but the integration is not perfect. Ex. the error handling is not so good. |
12:34 |
|
balo |
i mean my app is not crash when IM reports error, but it's hard to detect the exact problem. so in general, you can't fix it smart. |
12:46 |
|
pdurbin |
Quest: so maybe try im4java like balo suggests |
12:50 |
|
|
tommmied joined ##javaee |
12:52 |
|
Quest |
hm |
13:10 |
|
acuzio |
Fubar^: I use python ImageMagick to solve the same problem - easy fast and works |
13:11 |
|
pdurbin |
right tool for the job |
13:12 |
|
acuzio |
ja |
13:12 |
|
acuzio |
Java image manipulation is just bad |
13:21 |
|
pdurbin |
helpful: http://xml.apache.org/xalan-j/faq.html#environmentcheck |
13:21 |
|
pdurbin |
tells you stuff about xerces too |
13:22 |
|
pdurbin |
"OpenSAML relies heavily on JAXP 1.3 for low-level XML parsing and creation. Some JREs, most notably Sun's, ship with horribly broken JAXP implementations. As such you may (in the Sun JRE case, you must) endorse a different JAXP provider. At the time of this writing, the only known JAXP provider to work is the Apache Xerces & Xalan projects." -- |
13:22 |
|
pdurbin |
https://wiki.shibboleth.net/confluence/display/OpenSAML/OSTwoUsrManJavaInstall |
13:24 |
|
pdurbin |
to set up the java.endorsed.dirs stuff they use maven-dependency-plugin to endorse xml-apis, xercesImpl, xalan, etc.: http://svn.shibboleth.net/view/java-parent-projects/java-parent-project-v3/trunk/pom.xml?view=markup |
13:30 |
|
pdurbin |
oh and I was able to reproduce the problem with my minimal https://github.com/pdurbin/oiosaml_on_glassfish ... I just updated the readme to include the stack trace |
13:31 |
|
|
Naros joined ##javaee |
13:33 |
|
Naros |
Entity A has List<B> that has C. If the query is suppose to return a list of Entity A where C.property is like something, what's the optimal way to join that in JPA2? |
13:34 |
|
Naros |
keep in mind the same query may need to inspect Entity A's List<D> that has a reference to C too and same restrictions apply |
13:41 |
|
Naros |
what I want to avoid here is the cartian product result of AxB and AxD |
13:47 |
|
acuzio |
cartesian |
13:48 |
|
Naros |
aye, my typical typos :P |
13:49 |
|
acuzio |
And i would simply use SQL for that - thats what its there for |
13:49 |
|
sess |
Naros: just use a simple join |
13:49 |
|
sess |
there is no magic trick |
13:49 |
|
sess |
if you need a reference to C via List<D> you need to join that aswell |
13:50 |
|
Naros |
I believe I tried that and got some weird results but I'll try that again. |
13:50 |
|
Naros |
acuzio: and native SQL isn't an option here. |
13:50 |
|
sess |
define weird |
13:50 |
|
sess |
and make sure to use jointype.left if needed |
13:52 |
|
acuzio |
Naros: not dissing but why not - why re-invent something bad , when it can be done in SQL trivially and thats what its there for |
13:53 |
|
Naros |
There is no reinventing. I am porting an existing Criteria API model to JPA's is all |
13:53 |
|
Naros |
Part of this is to get rid of all these strings and to be type-safe. |
13:54 |
|
Naros |
JPA2 will do what Im seeking, I just have a slight learning curve with the API mechanics is all |
13:54 |
|
Naros |
some of it isn't as intuitive as Hibernate's Criteria :P |
13:54 |
|
acuzio |
hibernate's criteria api sucked , JPA2 is not a lot better |
13:54 |
|
Naros |
That's quite subjective |
13:55 |
|
acuzio |
thats just like your opinion man |
13:56 |
|
Naros |
agreed. hibernate's criteria api is being deprecated and so before 5.0 comes out, I'm moving away from it. |
13:56 |
|
Naros |
and if i used native sql, what's the point of an ORM :P |
13:57 |
|
Naros |
part of its benefit is to be DB agnostic |
13:57 |
|
acuzio |
I hate the whole concept of ORM - ., its stupid ., like driving a Donkey Cart when you have a Ferrari sitting right next to you tuned and optimised for it |
13:58 |
|
acuzio |
DB Agnostic - in real life if you are changing DB;s mid-stream in a project ; the amount of time given for that should include migrating native queries - thats just common-sense |
14:07 |
|
* pdurbin |
sets up glassfish-restart.command and votes up http://stackoverflow.com/questions/2877741/how-to-run-a-shell-script-using-spotlight/2877844#2877844 |
14:11 |
|
Naros |
sess: ty that seemed to work at least for List<B>, now to add List<D> into the mix :P |
14:11 |
|
|
kobain joined ##javaee |
14:11 |
|
Naros |
the api is starting to make considerably more sense. |
14:18 |
|
sfisque |
quest, you can use the imageio and awt libs to do image manipulation |
14:20 |
|
sfisque |
render the image offscreen, setting the image bounds, and then capture the "rendered" pixels into a new byte stream |
14:20 |
|
sfisque |
bah, he's not here |
14:20 |
|
tjsnell |
humbug |
14:20 |
|
sfisque |
oh well, he can check the backlog when he shows up |
14:20 |
|
sfisque |
time to motor. be well and code strong! |
14:22 |
|
Naros |
see yah |
14:24 |
|
|
argy left ##javaee |
14:27 |
|
Naros |
sess: im still getting a cartesian product |
14:28 |
|
Naros |
nvm, applying distinct on the select fixed it |
14:54 |
|
sess |
yup you were not getting cartesian product, just duplicates of the same objects |
14:54 |
|
sess |
due to the join |
14:54 |
|
sess |
adding List<D> isnt harder than adding a second join |
14:55 |
|
Naros |
yah I got it sorted out except a join between root & an attribute of root which isn't making sense. |
14:55 |
|
Naros |
it wants to apply and conditions but i want ors :P |
14:55 |
|
Naros |
even tho the predicates are being added using cb.or() |
14:58 |
|
Naros |
bingo, innie vs outtie join :P |
15:06 |
|
pdurbin |
hmm, supports Gant: http://www.jetbrains.com/idea/features/?fromFree_JAVA |
15:08 |
|
|
sfisque joined ##javaee |
15:08 |
|
sess |
outtie join was the cutest name of a join ive head till today |
15:17 |
|
Naros |
lol |
15:18 |
|
Naros |
I've learned you have to have a bit of humor with your work or else you go crazy :3 |
15:19 |
|
|
kotten joined ##javaee |
15:22 |
|
balo |
:D |
16:10 |
|
|
AlexCzar joined ##javaee |
16:30 |
|
acuzio |
humbug to you too tjsnell |
16:30 |
|
acuzio |
are you creating trouble for everyone again ? |
16:35 |
|
|
tommmied joined ##javaee |
16:41 |
|
tjsnell |
one of the benefits of my freenode status |
16:41 |
|
* sfisque |
rises, stretches, and yawns |
16:42 |
|
|
r3m1 left ##javaee |
16:44 |
|
acuzio |
clearly - |
16:48 |
|
|
kobain_ joined ##javaee |
16:49 |
|
|
kobain_ joined ##javaee |
16:49 |
|
|
Guest76047 joined ##javaee |
16:51 |
|
|
kobain joined ##javaee |
16:52 |
|
|
kobain joined ##javaee |
16:52 |
|
|
kobain joined ##javaee |
16:53 |
|
|
kobain joined ##javaee |
16:53 |
|
|
kobain joined ##javaee |
16:54 |
|
|
kobain joined ##javaee |
16:54 |
|
|
kobain joined ##javaee |
17:31 |
|
sfisque |
pdurbin - what's the url to your chatlog of this channel. i want to reference my conversation with tjsnell in my GF->amq->Camel - sans camel writeup |
17:32 |
|
sfisque |
nm, i found it |
17:34 |
|
pdurbin |
ok. should be in the /topic |
17:35 |
|
sfisque |
is there a rest interface if i wanted to extract a subset of a day's chat? |
17:35 |
|
sfisque |
like from TS:x to TS:y |
17:35 |
|
sfisque |
timestamp |
17:35 |
|
pdurbin |
hmm. if I upgrade philbot, maybe |
17:36 |
|
sfisque |
i mean from outside of irc. i want to link to greptillian log but only want a subset of the day that i was chatting with tjsnell about activemq |
17:36 |
|
tjsnell |
it is in the topic |
17:36 |
|
tjsnell |
oh outside of that I don't know |
17:36 |
|
sfisque |
aye tjsnell, i found the link in adium's chat log |
17:37 |
|
sfisque |
but i want just a snippet, not the whole day if possible so people dont have to dig to find our conversation |
17:37 |
|
tjsnell |
eeewww I don't like adium for irc :) |
17:37 |
|
sfisque |
worse case i can extract it and put it on a child wiki page |
17:37 |
|
sfisque |
well, i have 4 different protocol sessions open, adium just treats it as another tab, which is nice |
17:38 |
|
sfisque |
i can have tabs for AIM, GAIM, jabber and irc and they all coexist nicely |
17:38 |
|
sfisque |
and adiums chat log client is very nice |
17:38 |
|
tjsnell |
linkinus is so much better for irc |
17:38 |
|
tjsnell |
I don't mind multiple programs |
17:38 |
|
sfisque |
aye but i like consolodation |
17:38 |
|
tjsnell |
I do when it doesn't compromise functionality |
17:39 |
|
* tjsnell |
is using: Finder, iTunes, Calendar, Skype, iPhoto, Linkinus, Adium, idea, Mail, VMware Fusion, System Preferences, MuleStudio, Terminal, Messages, Microsoft Word, App Store, JavaApplicationStub, Preview, NetNewsWire, Safari, Remote Desktop Connection, Remote Desktop Connection |
17:39 |
|
sfisque |
tabs are the future man…. THE FUTURE… (in that 50's narration voice) |
17:39 |
|
pdurbin |
javaeebot: lucky linkinus |
17:39 |
|
javaeebot |
pdurbin: http://linkinus.com/ |
17:41 |
|
|
tommmied1 joined ##javaee |
17:43 |
|
sfisque |
is tehre a description of the greptillian endpoint API. i see i can do out.pl?channel=xxx;date=yyy |
17:43 |
|
sfisque |
are there other parameters to limit down the returned log snippet? |
17:46 |
|
sfisque |
pdurbin did you write greptillian? |
17:46 |
|
pdurbin |
sfisque: these are good questions for #ilbot, where I asked about an api: http://irclog.perlgeek.de/ilbot/2013-10-31 |
17:47 |
|
sfisque |
gotcha. thx |
17:47 |
|
whartung |
patches welcome... |
17:47 |
|
pdurbin |
sfisque: this vagrant environment has all the config for my server: https://github.com/pdurbin/greptilian-vagrant |
17:48 |
|
sfisque |
puppet! their office in town here. i even had a recruiter pitch them to me sometime ago. |
17:48 |
|
pdurbin |
I'm being shamed for not using puppet right: http://irclog.perlgeek.de/crimsonfu/2013-10-31 |
17:49 |
|
sfisque |
their product seemed neat, but it wasnt interesting enough to get me to interview for a position with them |
17:53 |
|
sfisque |
sweet the timestamps are #links, so i can at least sublink into the page so people dont have to scroll through all the other convos |
17:53 |
|
sfisque |
http://irclog.greptilian.com/javaee/2013-10-16#i_31221 |
17:59 |
|
sfisque |
https://www.latticeware.com/wiki/Wiki.jsp?page=GlassfishAMQConfigCommunicate |
18:00 |
|
sfisque |
still polishing a few bits, but that's the meat of it |
18:01 |
|
whartung |
man where had I heard of Lattice Ware before…maybe I'm thinking of a C compiler…. |
18:01 |
|
sfisque |
there is a "lattice ware" product. i've had that domain since around 99. i used to have gridware.com, but sun bought it from me (when "grid computing" was all the buzz-rage) |
18:01 |
|
whartung |
http://en.wikipedia.org/wiki/Lattice_C |
18:02 |
|
whartung |
that must be it |
18:02 |
|
sfisque |
so i registered latticeware as a similar enough domainname |
18:02 |
|
sfisque |
javaeebot latticeware product |
18:02 |
|
javaeebot |
sfisque: Error: "latticeware" is not a valid command. |
18:02 |
|
sfisque |
javaeebot lucky latticeware product -latticeware.com |
18:02 |
|
javaeebot |
sfisque: http://www.centsys.co.za/upload/product_link_files/CS41_LatticeWare_Manual_V1.0.3_3.pdf |
18:02 |
|
sfisque |
there ye go |
18:03 |
|
sfisque |
i'm surprised to this day they havent come after me for the domain |
18:03 |
|
sfisque |
that product is about 10 years old |
18:03 |
|
sfisque |
well, it's been around for at least that long, not that it's stale |
18:04 |
|
sfisque |
it saddens me about gridware though. sun sat on the domain for about 13 years and recently it got snapped up by a clearinghouse. now i'd have to pay some shmoe just to get it back |
18:04 |
|
whartung |
yea, that's not what I was thinking of |
18:04 |
|
whartung |
a lot of tragedy orbits around Sun |
18:05 |
|
sfisque |
i wouldnt feel sad if they had actually used the domain. but they just sat on it, and then it got discarded |
18:05 |
|
whartung |
ah the good old days when C compilers were judged by how fast they could compile and run Sieve... |
18:05 |
|
sfisque |
like some used up tramp |
18:05 |
|
sfisque |
lolz |
18:06 |
|
|
cem_ joined ##javaee |
18:06 |
|
sfisque |
remember when you had to build gcc three times? once from bootstrap, once to rebuild the compiler with the bootstrap, and then a third time to run binary diffs and test harness comparisons |
18:06 |
|
cem_ |
hi |
18:06 |
|
whartung |
why yes, yes I do |
18:06 |
|
sfisque |
let's install gcc. good bye two days |
18:07 |
|
whartung |
I only did it once, on an HP 9000 |
18:07 |
|
sfisque |
i did it several times on sunos/solaris because let's just say, paying money for a C compiler is just stoopid |
18:07 |
|
whartung |
heh |
18:09 |
|
|
kem_ left ##javaee |
18:16 |
|
|
cem_ joined ##javaee |
18:16 |
|
cem_ |
hi |
18:16 |
|
cem_ |
where can i use bootloader ? |
18:17 |
|
whartung |
?? |
18:17 |
|
cem_ |
custom |
18:17 |
|
zoot |
context plz |
18:17 |
|
sfisque |
in? netbeans? ee container? standalone app? |
18:18 |
|
cem_ |
standalone |
18:18 |
|
whartung |
I have never had to toy with the boot loader |
18:18 |
|
cem_ |
java |
18:18 |
|
whartung |
If you need it, you'll know it, and you can look it up then. |
18:18 |
|
sfisque |
do you mean you want to override the default BL or do you want to pass in arguments to it? |
18:18 |
|
cem_ |
override sfisque |
18:19 |
|
sfisque |
oh. that's a flavor of voodoo i've not attempted yet :-) |
18:19 |
|
whartung |
what are you trying to do? |
18:25 |
|
pdurbin |
so `asadmin redeploy` reproduces the xerces error consistently with a minimal app: https://github.com/pdurbin/oiosaml_on_glassfish/blob/master/reproduce.md |
18:48 |
|
pdurbin |
sfisque: JSON export · Issue #27 · moritz/ilbot - https://github.com/moritz/ilbot/issues/27 |
18:50 |
|
sfisque |
yah i stumbled on the #timestamp linkage, that works for me for now. but it would be nice to set an "up to this point" so that they don't have to load the whole page. |
18:50 |
|
pdurbin |
yeah, for me too. good enough |
18:50 |
|
sfisque |
so my write up is done minus any errata reported |
18:51 |
|
sfisque |
all said and done, it was trivial, once the knowlege was in hand. just set the body and call setStringProperty iterating through the mapping that "would" have been sent to Camel in whole. and then sending the TextMessage to the amq endpoint. floated through, camel scarfed it up, done! |
18:51 |
|
sfisque |
and no more camel/spring in our build (for now) |
18:52 |
|
sfisque |
unnecessarily. the time will come where we will have to port our EJBs over to Spring beans and move to tomcat, but that can wait |
18:53 |
|
sfisque |
and the team now has working code that shows how to do messaging in the product, so we can go further with ESB integrations |
19:04 |
|
whartung |
cool sfisque |
19:07 |
|
sfisque |
aye. i like simplifying things. why bludgeon them with a toaster oven, when you can deftly apply a vulcan neck-pinch. :-) |
19:08 |
|
sfisque |
though, arguably, the toaster oven applied to the skull has a satisfying k'thunk to it |
19:08 |
|
whartung |
cast iron skillet is more … satisfying. |
19:08 |
|
sfisque |
>.< |
19:17 |
|
|
acuzio joined ##javaee |
19:42 |
|
* Naros |
agrees with whartung. |
19:42 |
|
Naros |
particularly when it leaves a facial impression after-the-fact. |
20:11 |
|
|
scripty joined ##javaee |
20:12 |
|
scripty |
Hey guys |
20:21 |
|
|
SLovenberg joined ##javaee |
20:30 |
|
|
SLovenberg joined ##javaee |
20:57 |
|
kotten |
hello |
20:58 |
|
|
scripty joined ##javaee |
21:00 |
|
kotten |
I have a question.. If I wanted to make a Java program that could open files on windows(yes i am sorry) lets say a torrent. and then i want to process that file. What happens when a file is opened by another program? I mean what args do i get? Do i get the Path, the File or the String of its path? Can a jar program open a file just like an exe file can? |
21:01 |
|
kotten |
by open i mean like a default viewer such as vlc open avi, window viewer open jpegs and so forth |
21:02 |
|
zoot |
yes |
21:02 |
|
zoot |
du kan göra minst lika mycket som ett .net program kan |
21:03 |
|
scripty |
wt? |
21:03 |
|
zoot |
kotten: dvs du kan inte skriva drivrutiner eller andra os saker |
21:03 |
|
whartung |
There's a mechanism is java to hand off files to the operating system shell and have it handle them, I don't recall the specifics tho |
21:03 |
|
kotten |
okej, gott! Vad är det för args man får när man öppnar en fil med java |
21:04 |
|
kotten |
whartung: yes that is what i want to do but the opposite, i want to get the files. So if i say to my windows(or OS) always open .jpeg with "MyProgram.jar" |
21:05 |
|
whartung |
that's a different problem, in that case you want to get your jar converted in to an EXE or bind the extension to execute a bat file (which calls your jar). I don' know how to do that either, but it's possible |
21:06 |
|
kotten |
I feared i needed to something like that... |
21:08 |
|
cem_ |
i didnt notice there is no memory protection in C thanks java |
21:09 |
|
whartung |
kids today |
21:17 |
|
cem_ |
that was quite a surprise for me . |
21:21 |
|
whartung |
well it just goes to the sophistication of modern tools that this is now a surprising aspect rather than the other way around. |
21:22 |
|
whartung |
sfisque: here's a riddle |
21:22 |
|
whartung |
using interceptors |
21:23 |
|
whartung |
are they invoked within or outside of the transaction boundary? |
21:31 |
|
acuzio |
heh - memory protection in C - i should tell that to the BBG guys |
21:31 |
|
acuzio |
cc a.c > a.out ; core dumped; |
21:32 |
|
acuzio |
now thats the sort of thing i am talking about - |
21:52 |
|
|
newguy1 joined ##javaee |
23:12 |
|
|
tommmied joined ##javaee |
23:13 |
|
|
scripty joined ##javaee |
23:14 |
|
|
scripty left ##javaee |
23:15 |
|
|
sfisque joined ##javaee |
23:15 |
|
|
sfisque1 joined ##javaee |
23:31 |
|
sfisque1 |
whartung, it depends on the interceptor, i would getss |
23:31 |
|
sfisque1 |
***guess |
23:31 |
|
whartung |
from what I can tell it's all within the transaction boundary |
23:32 |
|
sfisque |
i'm not sure about @postupdate/persist would occur outside, i would assume |
23:32 |
|
sfisque |
and i'm not sure about an InvokeAround |
23:32 |
|
sfisque |
that might be grey area |
23:33 |
|
whartung |
post update et al happen within it as well, but you're not supposed to do any transactiony stuff in those anyway |
23:35 |
|
sfisque |
you're not supposed to do anything jpa related in any of the jpa interceptors (many dislike that). i'm curious @postupdate/persist happen inside. if the xact hasnt committed, how would they qualify as postupdate/persist. that seems counter intuitive |
23:36 |
|
sfisque |
unless its just interecept the fact that and update/persist action has occurred but not yet been rolled back. seems wierd. |
23:36 |
|
sfisque |
that means you can actually have them called and then have the xact rolled back. that seems sketchy |
23:40 |
|
whartung |
well they're based on the entity, not the transaction, so it doesn't surprise me at all. You can have the post updates happening "in the middle" of a transaction as stuff is getting flushed out |
23:41 |
|
sfisque |
well, they're based on both the entity and transaction lifecycle |