{"action":"created","issue":{"url":"https://api.github.com/repos/ramsey/uuid-doctrine/issues/50","repository_url":"https://api.github.com/repos/ramsey/uuid-doctrine","labels_url":"https://api.github.com/repos/ramsey/uuid-doctrine/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/ramsey/uuid-doctrine/issues/50/comments","events_url":"https://api.github.com/repos/ramsey/uuid-doctrine/issues/50/events","html_url":"https://github.com/ramsey/uuid-doctrine/issues/50","id":277555405,"number":50,"title":"Can't manage to implement the package on my project?","user":{"login":"din-gi","id":29832557,"avatar_url":"https://avatars2.githubusercontent.com/u/29832557?v=4","gravatar_id":"","url":"https://api.github.com/users/din-gi","html_url":"https://github.com/din-gi","followers_url":"https://api.github.com/users/din-gi/followers","following_url":"https://api.github.com/users/din-gi/following{/other_user}","gists_url":"https://api.github.com/users/din-gi/gists{/gist_id}","starred_url":"https://api.github.com/users/din-gi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/din-gi/subscriptions","organizations_url":"https://api.github.com/users/din-gi/orgs","repos_url":"https://api.github.com/users/din-gi/repos","events_url":"https://api.github.com/users/din-gi/events{/privacy}","received_events_url":"https://api.github.com/users/din-gi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-11-28T22:07:29Z","updated_at":"2017-11-30T08:57:22Z","closed_at":"2017-11-30T08:41:05Z","author_association":"NONE","body":"I am trying to implement UUID on my Doctrine + Symfony project.. Here is a part of my code\r\n\r\n```\r\n<?php\r\n/**\r\n * @copyright   2016 Oversell. All rights reserved\r\n * @author      Oversell\r\n *\r\n * @link        http://oversell.tk\r\n */\r\n\r\nnamespace CoreMarketplaceBundle\\Entity;\r\n\r\nuse Doctrine\\ORM\\Mapping as ORM;\r\n\r\n/**\r\n * StoreMonitoredProducts\r\n *\r\n * @ORM\\Table(name=\"Ubersell.StoreMonitoredProducts\", indexes={@ORM\\Index(name=\"storeMonitoredProductId\", columns={\"storeMonitoredProductId\"})})\r\n * @ORM\\Entity\r\n */\r\nclass StoreMonitoredProducts\r\n{\r\n    /**\r\n\t * @var \\Ramsey\\Uuid\\Uuid\r\n\t *\r\n\t * @ORM\\Id\r\n\t * @ORM\\Column(type=\"uuid\", unique=true)\r\n\t * @ORM\\GeneratedValue(strategy=\"CUSTOM\")\r\n\t * @ORM\\CustomIdGenerator(class=\"Ramsey\\Uuid\\Doctrine\\UuidGenerator\")\r\n     */\r\n    private $storeMonitoredProductId;\r\n\r\n\t/**\r\n\t * @var integer\r\n\t *\r\n\t * @ORM\\Column(name=\"sourceMonitoredProductId\", type=\"integer\", nullable=false)\r\n\t * @ORM\\ManyToOne(targetEntity=\"SourceMonitoredProducts\")\r\n\t * @ORM\\JoinColumn(name=\"sourceMonitoredProductId\", referencedColumnName=\"sourceMonitoredProductId\")\r\n\t */\r\n\tprivate $sourceMonitoredProductId;\r\n\r\n\t/**\r\n\t * @var \\Ramsey\\Uuid\\Uuid\r\n\t *\r\n\t * @ORM\\Id\r\n\t * @ORM\\Column(type=\"uuid\", unique=true)\r\n\t * @ORM\\GeneratedValue(strategy=\"CUSTOM\")\r\n\t * @ORM\\CustomIdGenerator(class=\"Ramsey\\Uuid\\Doctrine\\UuidGenerator\")\r\n\t */\r\n\tprivate $apiAccessId;\r\n\r\n\t/**\r\n\t * @var integer\r\n\t *\r\n\t * @ORM\\Column(name=\"marketplaceId\", type=\"integer\", nullable=false)\r\n\t */\r\n\tprivate $dropMarketplaceId;\r\n\r\n\t/**\r\n\t * @var string\r\n\t *\r\n\t * @ORM\\Column(name=\"siteId\", type=\"string\", nullable=false)\r\n\t */\r\n\tprivate $dropSiteId;\r\n\r\n\t/**\r\n\t * @var string\r\n\t *\r\n\t * @ORM\\Column(name=\"itemName\", type=\"string\", nullable=false)\r\n\t */\r\n\tprivate $itemName;\r\n\r\n\t/**\r\n\t * @var integer\r\n\t *\r\n\t * @ORM\\Column(name=\"quantity\", type=\"integer\", nullable=false)\r\n\t */\r\n\tprivate $dropQuantity = 0;\r\n\r\n\t/**\r\n\t * @var double\r\n\t *\r\n\t * @ORM\\Column(name=\"price\", type=\"decimal\", precision=12, scale=2, nullable=false)\r\n\t */\r\n\tprivate $dropPrice = 0;\r\n\r\n\t/**\r\n\t * @var integer\r\n\t *\r\n\t * @ORM\\Column(name=\"category\", type=\"integer\", nullable=false)\r\n\t */\r\n\tprivate $dropCategory;\r\n\r\n\t/**\r\n\t * @var double\r\n\t *\r\n\t * @ORM\\Column(name=\"breakEven\", type=\"decimal\", precision=4, scale=2, nullable=false)\r\n\t */\r\n\tprivate $breakEven = 21;\r\n\r\n\t/**\r\n\t * @var double\r\n\t *\r\n\t * @ORM\\Column(name=\"desiredProfit\", type=\"decimal\", precision=4, scale=2, nullable=false)\r\n\t */\r\n\tprivate $desiredProfit = 10;\r\n\r\n\t/**\r\n\t * @var \\DateTime\r\n\t *\r\n\t * @ORM\\Column(name=\"lastUpdate\", type=\"datetime\", nullable=true)\r\n\t */\r\n\tprivate $lastUpdate;\r\n\r\n\t/**\r\n\t * @var \\Ramsey\\Uuid\\Uuid\r\n\t *\r\n\t * @ORM\\Id\r\n\t * @ORM\\Column(type=\"uuid\", unique=true)\r\n\t * @ORM\\GeneratedValue(strategy=\"CUSTOM\")\r\n\t * @ORM\\CustomIdGenerator(class=\"Ramsey\\Uuid\\Doctrine\\UuidGenerator\")\r\n\t */\r\n\tprivate $productDataId;\r\n\r\n\t/**\r\n\t * @var double\r\n\t *\r\n\t * @ORM\\Column(name=\"profit\", type=\"decimal\", precision=10, scale=2, nullable=false)\r\n\t */\r\n\tprivate $profit = 0;\r\n\r\n\t/**\r\n\t * @var integer\r\n\t *\r\n\t * @ORM\\Column(name=\"views\", type=\"integer\", nullable=false)\r\n\t */\r\n\tprivate $views = 0;\r\n\r\n\t/**\r\n\t * @var integer\r\n\t *\r\n\t * @ORM\\Column(name=\"watchers\", type=\"integer\", nullable=false)\r\n\t */\r\n\tprivate $watchers = 0;\r\n\r\n\t/**\r\n\t * @var integer\r\n\t *\r\n\t * @ORM\\Column(name=\"sold\", type=\"integer\", nullable=false)\r\n\t */\r\n\tprivate $sold = 0;\r\n\r\n\t/**\r\n\t * @var double\r\n\t *\r\n\t * @ORM\\Column(name=\"sellingRatio\", type=\"decimal\", precision=5, scale=2, nullable=false)\r\n\t */\r\n\tprivate $sellingRatio = 0;\r\n\r\n\t/**\r\n\t * @return \\Ramsey\\Uuid\\Uuid\r\n\t */\r\n\tpublic function getStoreMonitoredProductId()\r\n\t{\r\n\t\treturn $this->storeMonitoredProductId;\r\n\t}\r\n\r\n\t/**\r\n\t * @param \\Ramsey\\Uuid\\Uuid $storeMonitoredProductId\r\n\t *\r\n\t * @return StoreMonitoredProducts\r\n\t */\r\n\tpublic function setStoreMonitoredProductId(\\Ramsey\\Uuid\\Uuid $storeMonitoredProductId)\r\n\t{\r\n\t\t$this->storeMonitoredProductId = $storeMonitoredProductId;\r\n\r\n\t\treturn $this;\r\n\t}\r\n\r\n\t/**\r\n\t * @return int\r\n\t */\r\n\tpublic function getSourceMonitoredProductId()\r\n\t{\r\n\t\treturn $this->sourceMonitoredProductId;\r\n\t}\r\n\r\n\t/**\r\n\t * @param int $sourceMonitoredProductId\r\n\t *\r\n\t * @return StoreMonitoredProducts\r\n\t */\r\n\tpublic function setSourceMonitoredProductId($sourceMonitoredProductId)\r\n\t{\r\n\t\t$this->sourceMonitoredProductId = $sourceMonitoredProductId;\r\n\r\n\t\treturn $this;\r\n\t}\r\n\r\n\t/**\r\n\t * @return \\Ramsey\\Uuid\\Uuid\r\n\t */\r\n\tpublic function getApiAccessId()\r\n\t{\r\n\t\treturn $this->apiAccessId;\r\n\t}\r\n\r\n\t/**\r\n\t * @param \\Ramsey\\Uuid\\Uuid $apiAccessId\r\n\t *\r\n\t * @return StoreMonitoredProducts\r\n\t */\r\n\tpublic function setApiAccessId(\\Ramsey\\Uuid\\Uuid $apiAccessId)\r\n\t{\r\n\t\t$this->apiAccessId = $apiAccessId;\r\n\r\n\t\treturn $this;\r\n\t}\r\n\r\n\t/**\r\n\t * @return int\r\n\t */\r\n\tpublic function getDropMarketplaceId()\r\n\t{\r\n\t\treturn $this->dropMarketplaceId;\r\n\t}\r\n\r\n\t/**\r\n\t * @param int $dropMarketplaceId\r\n\t *\r\n\t * @return StoreMonitoredProducts\r\n\t */\r\n\tpublic function setDropMarketplaceId($dropMarketplaceId)\r\n\t{\r\n\t\t$this->dropMarketplaceId = $dropMarketplaceId;\r\n\r\n\t\treturn $this;\r\n\t}\r\n\r\n\t/**\r\n\t * @return string\r\n\t */\r\n\tpublic function getDropSiteId()\r\n\t{\r\n\t\treturn $this->dropSiteId;\r\n\t}\r\n\r\n\t/**\r\n\t * @param string $dropSiteId\r\n\t *\r\n\t * @return StoreMonitoredProducts\r\n\t */\r\n\tpublic function setDropSiteId($dropSiteId)\r\n\t{\r\n\t\t$this->dropSiteId = $dropSiteId;\r\n\r\n\t\treturn $this;\r\n\t}\r\n\r\n\t/**\r\n\t * @return string\r\n\t */\r\n\tpublic function getItemName()\r\n\t{\r\n\t\treturn $this->itemName;\r\n\t}\r\n\r\n\t/**\r\n\t * @param string $itemName\r\n\t *\r\n\t * @return StoreMonitoredProducts\r\n\t */\r\n\tpublic function setItemName($itemName)\r\n\t{\r\n\t\t$this->itemName = $itemName;\r\n\r\n\t\treturn $this;\r\n\t}\r\n\r\n\t/**\r\n\t * @return int\r\n\t */\r\n\tpublic function getDropQuantity()\r\n\t{\r\n\t\treturn $this->dropQuantity;\r\n\t}\r\n\r\n\t/**\r\n\t * @param int $dropQuantity\r\n\t *\r\n\t * @return StoreMonitoredProducts\r\n\t */\r\n\tpublic function setDropQuantity($dropQuantity)\r\n\t{\r\n\t\t$this->dropQuantity = $dropQuantity;\r\n\r\n\t\treturn $this;\r\n\t}\r\n\r\n\t/**\r\n\t * @return float\r\n\t */\r\n\tpublic function getDropPrice()\r\n\t{\r\n\t\treturn $this->dropPrice;\r\n\t}\r\n\r\n\t/**\r\n\t * @param float $dropPrice\r\n\t *\r\n\t * @return StoreMonitoredProducts\r\n\t */\r\n\tpublic function setDropPrice($dropPrice)\r\n\t{\r\n\t\t$this->dropPrice = $dropPrice;\r\n\r\n\t\treturn $this;\r\n\t}\r\n\r\n\t/**\r\n\t * @return int\r\n\t */\r\n\tpublic function getDropCategory()\r\n\t{\r\n\t\treturn $this->dropCategory;\r\n\t}\r\n\r\n\t/**\r\n\t * @param int $dropCategory\r\n\t *\r\n\t * @return StoreMonitoredProducts\r\n\t */\r\n\tpublic function setDropCategory($dropCategory)\r\n\t{\r\n\t\t$this->dropCategory = $dropCategory;\r\n\r\n\t\treturn $this;\r\n\t}\r\n\r\n\t/**\r\n\t * @return float\r\n\t */\r\n\tpublic function getBreakEven()\r\n\t{\r\n\t\treturn $this->breakEven;\r\n\t}\r\n\r\n\t/**\r\n\t * @param float $breakEven\r\n\t *\r\n\t * @return StoreMonitoredProducts\r\n\t */\r\n\tpublic function setBreakEven($breakEven)\r\n\t{\r\n\t\t$this->breakEven = $breakEven;\r\n\r\n\t\treturn $this;\r\n\t}\r\n\r\n\t/**\r\n\t * @return float\r\n\t */\r\n\tpublic function getDesiredProfit()\r\n\t{\r\n\t\treturn $this->desiredProfit;\r\n\t}\r\n\r\n\t/**\r\n\t * @param float $desiredProfit\r\n\t *\r\n\t * @return StoreMonitoredProducts\r\n\t */\r\n\tpublic function setDesiredProfit($desiredProfit)\r\n\t{\r\n\t\t$this->desiredProfit = $desiredProfit;\r\n\r\n\t\treturn $this;\r\n\t}\r\n\r\n\t/**\r\n\t * @return mixed\r\n\t */\r\n\tpublic function getLastUpdate()\r\n\t{\r\n\t\treturn $this->lastUpdate;\r\n\t}\r\n\r\n\t/**\r\n\t * @param mixed $lastUpdate\r\n\t *\r\n\t * @return StoreMonitoredProducts\r\n\t */\r\n\tpublic function setLastUpdate($lastUpdate)\r\n\t{\r\n\t\t$this->lastUpdate = $lastUpdate;\r\n\r\n\t\treturn $this;\r\n\t}\r\n\r\n\t/**\r\n\t * @return \\Ramsey\\Uuid\\Uuid\r\n\t */\r\n\tpublic function getProductDataId()\r\n\t{\r\n\t\treturn $this->productDataId;\r\n\t}\r\n\r\n\t/**\r\n\t * @param \\Ramsey\\Uuid\\Uuid $productDataId\r\n\t *\r\n\t * @return StoreMonitoredProducts\r\n\t */\r\n\tpublic function setProductDataId(\\Ramsey\\Uuid\\Uuid $productDataId)\r\n\t{\r\n\t\t$this->productDataId = $productDataId;\r\n\r\n\t\treturn $this;\r\n\t}\r\n\r\n\t/**\r\n\t * @return float\r\n\t */\r\n\tpublic function getProfit()\r\n\t{\r\n\t\treturn $this->profit;\r\n\t}\r\n\r\n\t/**\r\n\t * @param float $profit\r\n\t *\r\n\t * @return StoreMonitoredProducts\r\n\t */\r\n\tpublic function setProfit($profit)\r\n\t{\r\n\t\t$this->profit = $profit;\r\n\r\n\t\treturn $this;\r\n\t}\r\n\r\n\t/**\r\n\t * @return int\r\n\t */\r\n\tpublic function getViews()\r\n\t{\r\n\t\treturn $this->views;\r\n\t}\r\n\r\n\t/**\r\n\t * @param int $views\r\n\t *\r\n\t * @return StoreMonitoredProducts\r\n\t */\r\n\tpublic function setViews($views)\r\n\t{\r\n\t\t$this->views = $views;\r\n\r\n\t\treturn $this;\r\n\t}\r\n\r\n\t/**\r\n\t * @return int\r\n\t */\r\n\tpublic function getWatchers()\r\n\t{\r\n\t\treturn $this->watchers;\r\n\t}\r\n\r\n\t/**\r\n\t * @param int $watchers\r\n\t *\r\n\t * @return StoreMonitoredProducts\r\n\t */\r\n\tpublic function setWatchers($watchers)\r\n\t{\r\n\t\t$this->watchers = $watchers;\r\n\r\n\t\treturn $this;\r\n\t}\r\n\r\n\t/**\r\n\t * @return int\r\n\t */\r\n\tpublic function getSold()\r\n\t{\r\n\t\treturn $this->sold;\r\n\t}\r\n\r\n\t/**\r\n\t * @param int $sold\r\n\t *\r\n\t * @return StoreMonitoredProducts\r\n\t */\r\n\tpublic function setSold($sold)\r\n\t{\r\n\t\t$this->sold = $sold;\r\n\r\n\t\treturn $this;\r\n\t}\r\n\r\n\t/**\r\n\t * @return float\r\n\t */\r\n\tpublic function getSellingRatio()\r\n\t{\r\n\t\treturn $this->sellingRatio;\r\n\t}\r\n\r\n\t/**\r\n\t * @param float $sellingRatio\r\n\t *\r\n\t * @return StoreMonitoredProducts\r\n\t */\r\n\tpublic function setSellingRatio($sellingRatio)\r\n\t{\r\n\t\t$this->sellingRatio = $sellingRatio;\r\n\r\n\t\treturn $this;\r\n\t}\r\n}\r\n```\r\n\r\nfor some reason I get the following exception:\r\n```\r\nEntity 'CoreMarketplaceBundle\\\\Entity\\\\StoreMonitoredProducts' has a composite identifier but uses an ID generator other than manually assigning (Identity, Sequence). This is not supported.\r\n```\r\n\r\nWhen I removed the:\r\n```\r\n\t * @ORM\\GeneratedValue(strategy=\"CUSTOM\")\r\n\t * @ORM\\CustomIdGenerator(class=\"Ramsey\\Uuid\\Doctrine\\UuidGenerator\")\r\n```\r\nparts from my UUID fields it seem to work but I am not sure if that is the correct way.. given what the introduction page tells us to do, and I get the following output (this is a json object of the entity):\r\n```\r\n{\r\n    \"status\": \"success\",\r\n    \"data\": [\r\n        {\r\n            \"storeMonitoredProductId\": {\r\n                \"factory\": {\r\n                    \"codec\": {\r\n                        \"builder\": {\r\n                            \"converter\": {}\r\n                        }\r\n                    },\r\n                    \"nodeProvider\": {\r\n                        \"nodeProviders\": [\r\n                            {},\r\n                            {}\r\n                        ]\r\n                    },\r\n                    \"numberConverter\": {},\r\n                    \"randomGenerator\": {},\r\n                    \"timeGenerator\": {\r\n                        \"nodeProvider\": {\r\n                            \"nodeProviders\": [\r\n                                {},\r\n                                {}\r\n                            ]\r\n                        },\r\n                        \"timeConverter\": {},\r\n                        \"timeProvider\": {}\r\n                    },\r\n                    \"uuidBuilder\": {\r\n                        \"converter\": {}\r\n                    }\r\n                },\r\n                \"codec\": {\r\n                    \"builder\": {\r\n                        \"converter\": {}\r\n                    }\r\n                },\r\n                \"fields\": {\r\n                    \"time_low\": \"00532d60\",\r\n                    \"time_mid\": \"6a9c\",\r\n                    \"time_hi_and_version\": \"58b4\",\r\n                    \"clock_seq_hi_and_reserved\": \"c9\",\r\n                    \"clock_seq_low\": \"e7\",\r\n                    \"node\": \"c566472cfc4c\"\r\n                },\r\n                \"converter\": {}\r\n            },\r\n            \"sourceMonitoredProductId\": {\r\n                \"factory\": {\r\n                    \"codec\": {\r\n                        \"builder\": {\r\n                            \"converter\": {}\r\n                        }\r\n                    },\r\n                    \"nodeProvider\": {\r\n                        \"nodeProviders\": [\r\n                            {},\r\n                            {}\r\n                        ]\r\n                    },\r\n                    \"numberConverter\": {},\r\n                    \"randomGenerator\": {},\r\n                    \"timeGenerator\": {\r\n                        \"nodeProvider\": {\r\n                            \"nodeProviders\": [\r\n                                {},\r\n                                {}\r\n                            ]\r\n                        },\r\n                        \"timeConverter\": {},\r\n                        \"timeProvider\": {}\r\n                    },\r\n                    \"uuidBuilder\": {\r\n                        \"converter\": {}\r\n                    }\r\n                },\r\n                \"codec\": {\r\n                    \"builder\": {\r\n                        \"converter\": {}\r\n                    }\r\n                },\r\n                \"fields\": {\r\n                    \"time_low\": \"3fb56ce4\",\r\n                    \"time_mid\": \"116e\",\r\n                    \"time_hi_and_version\": \"4b74\",\r\n                    \"clock_seq_hi_and_reserved\": \"1d\",\r\n                    \"clock_seq_low\": \"c3\",\r\n                    \"node\": \"55cb537ff992\"\r\n                },\r\n                \"converter\": {}\r\n            },\r\n            \"apiAccessId\": {\r\n                \"factory\": {\r\n                    \"codec\": {\r\n                        \"builder\": {\r\n                            \"converter\": {}\r\n                        }\r\n                    },\r\n                    \"nodeProvider\": {\r\n                        \"nodeProviders\": [\r\n                            {},\r\n                            {}\r\n                        ]\r\n                    },\r\n                    \"numberConverter\": {},\r\n                    \"randomGenerator\": {},\r\n                    \"timeGenerator\": {\r\n                        \"nodeProvider\": {\r\n                            \"nodeProviders\": [\r\n                                {},\r\n                                {}\r\n                            ]\r\n                        },\r\n                        \"timeConverter\": {},\r\n                        \"timeProvider\": {}\r\n                    },\r\n                    \"uuidBuilder\": {\r\n                        \"converter\": {}\r\n                    }\r\n                },\r\n                \"codec\": {\r\n                    \"builder\": {\r\n                        \"converter\": {}\r\n                    }\r\n                },\r\n                \"fields\": {\r\n                    \"time_low\": \"00838830\",\r\n                    \"time_mid\": \"4405\",\r\n                    \"time_hi_and_version\": \"2de4\",\r\n                    \"clock_seq_hi_and_reserved\": \"8d\",\r\n                    \"clock_seq_low\": \"d3\",\r\n                    \"node\": \"a4809a2fe56d\"\r\n                },\r\n                \"converter\": {}\r\n            },\r\n            \"dropMarketplaceId\": 2,\r\n            \"dropMarketplaceName\": \"ebay\",\r\n            \"dropSiteId\": \"110185928902\",\r\n            \"itemName\": \"TP Link\",\r\n            \"dropQuantity\": 1,\r\n            \"dropPrice\": \"20.00\",\r\n            \"breakEven\": \"21\",\r\n            \"desiredProfit\": \"25\",\r\n            \"lastUpdate\": null,\r\n            \"sourceMarketplaceId\": 1,\r\n            \"sourceMarketplaceName\": \"amazon\",\r\n            \"sourceSiteId\": \"B01AK9TC0Y\",\r\n            \"sourceQuantity\": 1,\r\n            \"sourcePrice\": \"198.19\",\r\n            \"lastScan\": null,\r\n            \"profit\": \"0.00\",\r\n            \"views\": 0,\r\n            \"watchers\": 0,\r\n            \"sold\": 0,\r\n            \"sellingRatio\": \"0.00\"\r\n        },\r\n        {\r\n            \"storeMonitoredProductId\": {\r\n                \"factory\": {\r\n                    \"codec\": {\r\n                        \"builder\": {\r\n                            \"converter\": {}\r\n                        }\r\n                    },\r\n                    \"nodeProvider\": {\r\n                        \"nodeProviders\": [\r\n                            {},\r\n                            {}\r\n                        ]\r\n                    },\r\n                    \"numberConverter\": {},\r\n                    \"randomGenerator\": {},\r\n                    \"timeGenerator\": {\r\n                        \"nodeProvider\": {\r\n                            \"nodeProviders\": [\r\n                                {},\r\n                                {}\r\n                            ]\r\n                        },\r\n                        \"timeConverter\": {},\r\n                        \"timeProvider\": {}\r\n                    },\r\n                    \"uuidBuilder\": {\r\n                        \"converter\": {}\r\n                    }\r\n                },\r\n                \"codec\": {\r\n                    \"builder\": {\r\n                        \"converter\": {}\r\n                    }\r\n                },\r\n                \"fields\": {\r\n                    \"time_low\": \"00580116\",\r\n                    \"time_mid\": \"6965\",\r\n                    \"time_hi_and_version\": \"79d4\",\r\n                    \"clock_seq_hi_and_reserved\": \"41\",\r\n                    \"clock_seq_low\": \"8b\",\r\n                    \"node\": \"a9ef9e948524\"\r\n                },\r\n                \"converter\": {}\r\n            },\r\n            \"sourceMonitoredProductId\": {\r\n                \"factory\": {\r\n                    \"codec\": {\r\n                        \"builder\": {\r\n                            \"converter\": {}\r\n                        }\r\n                    },\r\n                    \"nodeProvider\": {\r\n                        \"nodeProviders\": [\r\n                            {},\r\n                            {}\r\n                        ]\r\n                    },\r\n                    \"numberConverter\": {},\r\n                    \"randomGenerator\": {},\r\n                    \"timeGenerator\": {\r\n                        \"nodeProvider\": {\r\n                            \"nodeProviders\": [\r\n                                {},\r\n                                {}\r\n                            ]\r\n                        },\r\n                        \"timeConverter\": {},\r\n                        \"timeProvider\": {}\r\n                    },\r\n                    \"uuidBuilder\": {\r\n                        \"converter\": {}\r\n                    }\r\n                },\r\n                \"codec\": {\r\n                    \"builder\": {\r\n                        \"converter\": {}\r\n                    }\r\n                },\r\n                \"fields\": {\r\n                    \"time_low\": \"7dc36e1a\",\r\n                    \"time_mid\": \"a6fc\",\r\n                    \"time_hi_and_version\": \"4144\",\r\n                    \"clock_seq_hi_and_reserved\": \"79\",\r\n                    \"clock_seq_low\": \"f6\",\r\n                    \"node\": \"022f6808de57\"\r\n                },\r\n                \"converter\": {}\r\n            },\r\n            \"apiAccessId\": {\r\n                \"factory\": {\r\n                    \"codec\": {\r\n                        \"builder\": {\r\n                            \"converter\": {}\r\n                        }\r\n                    },\r\n                    \"nodeProvider\": {\r\n                        \"nodeProviders\": [\r\n                            {},\r\n                            {}\r\n                        ]\r\n                    },\r\n                    \"numberConverter\": {},\r\n                    \"randomGenerator\": {},\r\n                    \"timeGenerator\": {\r\n                        \"nodeProvider\": {\r\n                            \"nodeProviders\": [\r\n                                {},\r\n                                {}\r\n                            ]\r\n                        },\r\n                        \"timeConverter\": {},\r\n                        \"timeProvider\": {}\r\n                    },\r\n                    \"uuidBuilder\": {\r\n                        \"converter\": {}\r\n                    }\r\n                },\r\n                \"codec\": {\r\n                    \"builder\": {\r\n                        \"converter\": {}\r\n                    }\r\n                },\r\n                \"fields\": {\r\n                    \"time_low\": \"00838830\",\r\n                    \"time_mid\": \"4405\",\r\n                    \"time_hi_and_version\": \"2de4\",\r\n                    \"clock_seq_hi_and_reserved\": \"8d\",\r\n                    \"clock_seq_low\": \"d3\",\r\n                    \"node\": \"a4809a2fe56d\"\r\n                },\r\n                \"converter\": {}\r\n            },\r\n            \"dropMarketplaceId\": 2,\r\n            \"dropMarketplaceName\": \"ebay\",\r\n            \"dropSiteId\": \"110186189158\",\r\n            \"itemName\": \"Sandisk\",\r\n            \"dropQuantity\": 1,\r\n            \"dropPrice\": \"20.00\",\r\n            \"breakEven\": \"21\",\r\n            \"desiredProfit\": \"16\",\r\n            \"lastUpdate\": null,\r\n            \"sourceMarketplaceId\": 1,\r\n            \"sourceMarketplaceName\": \"amazon\",\r\n            \"sourceSiteId\": \"B00VXMY262\",\r\n            \"sourceQuantity\": 1,\r\n            \"sourcePrice\": \"32.14\",\r\n            \"lastScan\": null,\r\n            \"profit\": \"0.00\",\r\n            \"views\": 0,\r\n            \"watchers\": 0,\r\n            \"sold\": 0,\r\n            \"sellingRatio\": \"0.00\"\r\n        }\r\n    ],\r\n    \"draw\": 3,\r\n    \"recordsTotal\": 2,\r\n    \"recordsFiltered\": 2\r\n}\r\n```\r\n\r\ncan't I have only the UUID string? how do I make it work just like the intro page explains?\r\n\r\nThanks for the package Ramsey"},"comment":{"url":"https://api.github.com/repos/ramsey/uuid-doctrine/issues/comments/348123520","html_url":"https://github.com/ramsey/uuid-doctrine/issues/50#issuecomment-348123520","issue_url":"https://api.github.com/repos/ramsey/uuid-doctrine/issues/50","id":348123520,"user":{"login":"goetas","id":776743,"avatar_url":"https://avatars0.githubusercontent.com/u/776743?v=4","gravatar_id":"","url":"https://api.github.com/users/goetas","html_url":"https://github.com/goetas","followers_url":"https://api.github.com/users/goetas/followers","following_url":"https://api.github.com/users/goetas/following{/other_user}","gists_url":"https://api.github.com/users/goetas/gists{/gist_id}","starred_url":"https://api.github.com/users/goetas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goetas/subscriptions","organizations_url":"https://api.github.com/users/goetas/orgs","repos_url":"https://api.github.com/users/goetas/repos","events_url":"https://api.github.com/users/goetas/events{/privacy}","received_events_url":"https://api.github.com/users/goetas/received_events","type":"User","site_admin":false},"created_at":"2017-11-30T08:57:22Z","updated_at":"2017-11-30T08:57:22Z","author_association":"NONE","body":"Solution here is simple:\r\n\r\n- if  you are using the entity only for serialization: \r\n```php\r\n    /**\r\n\t * @var \\Ramsey\\Uuid\\Uuid\r\n\t *\r\n\t * @ORM\\Id\r\n         * @Serializer\\Type(\"string\")\r\n\t * @ORM\\Column(type=\"uuid\", unique=true)\r\n\t * @ORM\\GeneratedValue(strategy=\"CUSTOM\")\r\n\t * @ORM\\CustomIdGenerator(class=\"Ramsey\\Uuid\\Doctrine\\UuidGenerator\")\r\n     */\r\n    private $storeMonitoredProductId;\r\n```\r\n"}}
{"actor":{"display_login":"goetas"}}