Advantages:
1. Crud: concise code
2. Do not configure Map
3. Convenient built-in transactions
4. built-in IOC
5. built-in Data Validity Verification
Disadvantages:
1. Auto-increment (Oracle keeps prompting that the serial number does not exist. Try again when you are free)
2. It is too hard to write multiple conditions directly in the class using hql, or write the condition in the Model Field definition.
3. Each crud error directly causes an exception, and each statement must try catch.
4. For more convenient crud, you need to use hql to delete and modify multiple crud files. problems include: 2,
5. The entity template generator castle.activerecord.generator.exe cannot find Oracle !!
6. Data Validity verification. The classes inherited by entities do not always need to inherit activerecordvalidationbase. Once inherited, activerecordbase cannot be inherited.
7. The second try catch + transaction will report an error.