SJZDFL Sjzdfl1=(SJZDFL) sjzdflDao. FindByProperty (" SJZDFLMC ", the word "apple"). The get (0);
Run times wrong:
The Exception in the thread "main" Java. Lang. IndexOutOfBoundsException: Index: 0, Size: 0
The at Java. Util. ArrayList. RangeCheck (ArrayList. Java: 547)
The at Java. Util. ArrayList. Get (ArrayList. Java: 322)
At com. WNJ. Test. HibernateTest. Main (43) HibernateTest. Java:
If change the word "apple" to "222", there is no problem.
Everyone a great god, who can help to explain how to deal with?