2.0.10 - bug fixes

Completed

Iteration has -1 years, -8 months, -3 weeks, -3 days to go. It starts from Thu 15 Apr, 2010 to Mon 17 May, 2010.

Iteration Details

Stories: 0    Tasks: 0   Bugs: 3   Estimated Hours: 6

Type Id Description Hours Assigned To Completed  
Total Added Remaining
#46
Unit test with auto-generated interface generates illegal code

In my class diagram I create a persistent class named “Foo”. These files get generated:
interface Foo {...}
class FooImpl implements Foo {...}

Next I set up a persistent test for Foo. On the class diagram I see <<Persistent Test>> FooPersistentTest connected to Foo.

Then I design objects for the test. My FooPersistentTest object diagram has a single foo:Foo object. When I save everything, FooPersistentTest.java is created with this initObjects():

private void initObjects() {
org.hibernate.Session session = persistenceHelper.getSession();
org.hibernate.Transaction tx = session.beginTransaction();
foo = new com.xyz.myproject.model.Foo();
session.save(foo);
tx.commit();
persistenceHelper.closeSession();
}

This code generates an error since com.xyz.myproject.model.Foo is an interface and can’t be instantiated.

See forum

2 0 0

lars.hoidahl picture lars.hoidahl


100 %
#49
Javadoc above class definition is replaced

I have removed the @generated tag from the javadoc above my class' definition. I added a new method to that class in its class diagram and the javadoc I wrote was removed and replaced with just an @generated tag.

I thought the idea of removing the @generated tag was so that the javadoc couldn’t be changed by the code generator???

See forum

2 0 0

lars.hoidahl picture lars.hoidahl


100 %
#74
English grammar does not work on the Hibernate 3 platform

Platform = “Hibernate 3”.
A <<Persistent>> class with association * frogs gets generated code “addFrogs” instead of “addFrog”.

See forum

2 0 0

lars.hoidahl picture lars.hoidahl


100 %

Iteration history

1 year ago
lars.hoidahl picture
lars.hoidahl updated Iteration 2.0.10 - bug fixes
lars.hoidahl picture
lars.hoidahl updated Iteration 2.0.10 - bug fixes

End: Sat May 01 00:00:00 BST 2010Tue May 18 00:00:00 BST 2010

lars.hoidahl picture
lars.hoidahl updated Iteration 2.0.10 - bug fixes

Name: 2.0.9 - bug fixes2.0.10 - bug fixes

End: Sun Apr 25 00:00:00 BST 2010Sat May 01 00:00:00 BST 2010

lars.hoidahl picture
lars.hoidahl updated Iteration 2.0.10 - bug fixes

End: Fri Apr 30 00:00:00 BST 2010Sun Apr 25 00:00:00 BST 2010

lars.hoidahl picture
lars.hoidahl updated Iteration 2.0.10 - bug fixes

Name: 2.0.92.0.9 - bug fixes

lars.hoidahl picture
lars.hoidahl updated Iteration 2.0.10 - bug fixes

Bean Order: 43,46,49,50,69

lars.hoidahl picture
lars.hoidahl updated Iteration 2.0.10 - bug fixes

Start: Mon Feb 08 00:00:00 GMT 2010Fri Apr 16 00:00:00 BST 2010

End: Sun Feb 14 00:00:00 GMT 2010Fri Apr 30 00:00:00 BST 2010

2 years ago
lars.hoidahl picture
lars.hoidahl created Iteration 2.0.10 - bug fixes