reset password
Author Message
henilpatel
Posts: 18
Posted 16:50 Apr 27, 2011 |

I am trying to use Enums for EventType , but to map an enum to hibernate I found that we still need to inclde hibernate-annotations jar even if we want to map enums in hbm files.

Is this ok ? can this jar be included in the classpath ?

henilpatel
Posts: 18
Posted 17:53 Apr 27, 2011 |

I solved this usingg

java.lang.Enum

cysun
Posts: 2935
Posted 20:04 Apr 27, 2011 |

I would simply use int instead, but if you prefer Enum, feel free to do so.

You can put any additional jar files under web/WEB-INF/lib. When you submit your work, please upload any additional jar files you used together with the csns.zip file.

behdinian
Posts: 9
Posted 21:19 Apr 27, 2011 |

I want to know does it matter to define access level in application part or database part?

cysun
Posts: 2935
Posted 23:41 Apr 27, 2011 |
behdinian wrote:

I want to know does it matter to define access level in application part or database part?

What access level?

behdinian
Posts: 9
Posted 07:23 Apr 28, 2011 |

 In event part we need to define access level for public, section, or private.

cysun
Posts: 2935
Posted 07:57 Apr 28, 2011 |

Access control will be implemented using Spring Security, a declarative security framework. For this assignment you don't need to worry about access control.