Nick Lindberg:
Nick Lindberg:
David H Nebinger:
You should never update the database directly.
Try reindexing all search indices to see if that fixes your problem.
Is there a reason I should never update the database directly? I'm not sure how else to change the create date.
I'll try that and see if it works.
OK-- I reindexed the search indices and even cleared the database cache, all under the Server Administration tab of the control panel. No dice.
I guess I don't understand the relationship between the database and how Liferay stores objects in it. Once an object is created, does it rely on a local cache not within the database to get metadata?
And that's the whole reason not to modify the database directly.
The Liferay database is not published for a reason. The reason is the API does significantly more stuff than just simple SQL insert statements. There are internally managed foreign keys, there are things which are updated not just in the database but also in the indices, in jackrabbit, etc.
Since all of this is managed by the code and not by the database, any updates to the code will change how and when the database is updated. Even if it did work for you in a 6.1 GA1 version, GA2 is coming out in a couple of weeks and the database/code may change again.
Sticking with the API is the only way to insure the changes are done correctly.
Bitte melden Sie sich an, um diesen Inhalt als unangebracht zu kennzeichnen.