mirror of
https://github.com/doctrine/KeyValueStore.git
synced 2026-03-24 08:42:12 +01:00
Entity storagename is in correct in storage class #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @aonamrata on GitHub (May 30, 2012).
I am using keyValue lib to connect to cassandra DB(created my custom storage class cassandraStorage) in zend framework. I have an Entity class "McMessage" but my DB table (CF) is "mc_message" .
So now when i try to $manager->find() .. in my cassandraStorage->find($storageName, $key) - i get $storageName as "McMessage", whereas it should be "mc_message".
I guess the prob is that the annotation class don't extend Doctrine\Common\Annotations\Annotation.
@stof commented on GitHub (May 30, 2012):
extending Doctrine\Common\Annotations\Annotation is not a requirement at all to be considered as an annotation (actually, even the ORM does not extend it anymore)