hey,, i am mapped(onetomany relation) the java file ,,
i have done map a file and also generate the table in sql,, but i cant save a value in mapped file,,,,,, i doing map a file class and section.. if user select the class then display the section according to class ..
how to save the class and section in mapped file ..
please tell me a one example how to save a mapped file record and display a console..
ya tell me a method and action
how to save a value of a record or display the value in mapped sql table
6 Replies - 604 Views - Last Post: 03 March 2013 - 06:16 AM
Replies To: (OneToMany relation)how to save the date through Mapping in java
Re: (OneToMany relation)how to save the date through Mapping in java
Posted 02 March 2013 - 08:08 AM
darek probably means a ready made framework. If you do have one, you'll presumably know which one, so i'm assuming you're not using one.
persistant Frame Work
To model a 1..n relationship you can use a Map whose values are a List. Or google on 'commons multimap'
Page 1 of 1