SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
teaching:lectures:atsc:2011:assignment05tips [2011/11/18 07:36]
jan.nonnen
teaching:lectures:atsc:2011:assignment05tips [2018/05/09 01:59] (current)
Line 1: Line 1:
 +====== Tips on the programming task: Task 2, "​Session Beans" ​  ​======
 +
 +  * **Q:** I changed a non-test Java file. Should I commit it too?
 +  * **A:** Yes, please. ​
 +
 +  * **Q:** The first assertion in ''​ExtendedContextTest''​ fails! As this assertion is even before the instructions for Task 5 I don't know how to solve it.
 +  * **A:** You are running both tests together (which is perfectly fine), but we didn't provide code to clear the database in this test. You can do one of the following:
 +    * Run both tests separately.
 +    * Ad a ''​setUp()''​ method that drops the database like in ''​StatelessTest.setUp()''​.
 +
 +  * **Q:** You gave two links for the JPQL syntax. Can I click on them?
 +  * **A:** Yes, here:
 +    * http://​java.sun.com/​javaee/​5/​docs/​tutorial/​doc/​bnbtl.html#​bnbtm (Examples)
 +    * http://​java.sun.com/​javaee/​5/​docs/​tutorial/​doc/​bnbqw.html#​bnbrg (Creating Queries)
 +
 +  * **Q:** I don't want to read all this stuff! Can you point me to the most important examples?
 +  * **A:** Yes, here:
 +    * Using named parameters: http://​download.oracle.com/​javaee/​5/​tutorial/​doc/​bnbtl.html#​bnbtp
 +    * Navigating According to Related Fields: http://​download.oracle.com/​javaee/​5/​tutorial/​doc/​bnbtl.html#​bnbtv
 +    * Comparison Operators: http://​download.oracle.com/​javaee/​5/​tutorial/​doc/​bnbtl.html#​bnbub
  
teaching/lectures/atsc/2011/assignment05tips.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019