2.0.11 - hbm.cfg fixes
Iteration has -1 years, -5 months, -1 weeks, -4 days to go. It starts from Fri 14 May, 2010 to Mon 30 Aug, 2010.
Iteration Details
| Type | Id | Description | Hours | Assigned To | Completed | |||
|---|---|---|---|---|---|---|---|---|
| Total | Added | Remaining | ||||||
|
#4 |
Delete attribute with TagSymbolI had a class Value with an attribute value that had a comment Tag symbol in ClassDiagram 1. |
2 | 0 | 2 |
|
![]() 0 % |
|
|
#40 |
Generate not-null in hbm.xml for 1 multiplicityI tried declaring an attribute in a Persistent class as mandatory such as: +Integer[1] pageNumber In the hibernate mapping file I didn’t see any change. I was hoping the property for that attribute would use the not-null=“true” modifier such as: <property name=‘pageNumber’ type=‘integer’ column=‘page_number’ not-null=“true”> See forum |
3 | 0 | 3 |
|
![]() 0 % |
|
|
#41 |
Hibernate Time type not supported correctlyIn the Hibernate documentation it states that java.util.Date or java.sql.Time can be used for the TIME type but it seems the preferable class for me is not correctly supported by HiberObjects. When I define an attribute of type Time it is declaring the following in the mapping file: <many-to-one name=‘marketOpenTime’ class=‘Time’ foreign-key=‘fk_configuration_market_open_time_id’> when I expected: <property name=‘marketOpenTime’ type=‘time’ column=‘market_open_time’> https://www.hibernate.org/hib_docs/v3/api/org/hibernate/type/TimeType.html See forum Try to use the special HiberObjects type TIME. (See help pages: Date, Time and Timestamp) |
3 | 0 | 3 |
|
![]() 0 % |
|
|
#50 |
hbm missing not-null for many-to-one associationI have class Scan that has a 1-to-1 uni-directional association to ScanDefinition and the following is defined: <many-to-one name=‘scanDefinition’ class=‘com.pinkwater.trader.server.ScanDefinition’ not-null=‘true’ cascade=‘save-update’ foreign-key=‘fk_scan_scan_definition_id’ unique=‘true’> If the association was not mandatory then the above is correct but every Scan object MUST have a ScanDefinition object which is why I defined the inverse multiplicity as 1 rather than None. So I expected the following to be generated: <many-to-one name=‘scanDefinition’ class=‘com.pinkwater.trader.server.ScanDefinition’ not-null=‘true’ cascade=‘save-update’ foreign-key=‘fk_scan_scan_definition_id’ unique=‘true’> See forum |
2 | 0 | 2 |
|
![]() 0 % |
|
|
#69 |
Tags do not remember their position when savedI have a class diagram where I have various hibernate tags entered and I have moved those tags from their default position to a location that avoids overlapping with something else in the diagram. Unfortunately when I save the diagram, close Eclipse, re-open eclipse, then that diagram doesn’t remember the position of my saved tags and I again have the problem of tags overlapping each other or other elements in the diagram which makes my diagram hard to read. This is occurring for @hibernate tags on attributes. Doesn’t seem to be a problem for @hibernate tags on the class' name. See forum |
4 | 0 | 4 |
|
![]() 0 % |
|
|
#72 |
TIMESTAMP, TIME, and DATE special types break auto interfaceI have “Generate interfaces” turned on for persistent classes. When I add attributes with the special types TIMESTAMP, TIME, and DATE, the code generated for the class includes java.util.Date as expected. However, in the auto-generated interfaces the special types remain unchanged. For example, in a <<Persistent>> class I have: +TIMESTAMP executionTimestamp Here’s the generated code in the class: And here’s the generated code in the interface: TIMESTAMP getExecutionTimestamp(); See forum |
2 | 0 | 2 |
|
![]() 0 % |
|
Iteration history
End: Mon May 31 00:00:00 BST 2010 → Tue Aug 31 00:00:00 BST 2010
Name: 2.0.12 - hbm.cfg fixes → 2.0.11 - hbm.cfg fixes
Start: Mon Apr 26 00:00:00 BST 2010 → Sat May 15 00:00:00 BST 2010
Name: 2.0.10 - hbm.cfg fixes → 2.0.12 - hbm.cfg fixes
End: Fri Apr 30 00:00:00 BST 2010 → Mon May 31 00:00:00 BST 2010
Name: 2.0.10 hbm.cfg fixes → 2.0.10 - hbm.cfg fixes
Create a new Bug
Create a new Story
Burndown Chart


Bugs and Stories for iteration 2.0.11 - hbm.cfg fixes