I finally did it there is no compile mistake anymore!!!, however now I found this when I give it ANT
Rocky:~/desktop/workbook/ex04_1 rodrigomartinezheredia$ ant
Buildfile: build.xml
prepare:
compile:
ejbjar:
[copy] Copying 1 file to /Applications/jboss/server/default/deploy
BUILD FAILED
/Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/build.xml:69: Failed to copy /Users/rodrigomartinezheredia/Desktop/workbook/ex04_1/build/titan.jar to /Applications/jboss/server/default/deploy/titan.jar due to /Applications/jboss/server/default/deploy/titan.jar (Permission denied)
Total time: 3 seconds
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965442#3965442
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965442
Thanks Weston.
Well, just to add to your example, i'm doing an explicit commit from my application.
///
Like
Connection c = getConnection.
c.doJDBC;
c.commit;
c.close;
////
and then d = getConnection;
d.doJDBC;
d.commit;
d.close;
Since the updated data is reflected in database, i assume commit is working fine. As per database transaction rules, if i commit in database, it should be available to anyone querying after this.
Please let me know if i'm grossly mis-understanding something.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965441#3965441
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965441