[ 
https://issues.apache.org/jira/browse/OFBIZ-925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492103
 ] 

Art Hughes commented on OFBIZ-925:
----------------------------------

Greetings,

I have the same problem, however, it appears only when I'm using Mysql 5.0 data 
base and not with Derby.
Could this be a  problem or bug in Mysql or jdbc driver?
Just a thought.

Art


> Duplicate entry for key 1) on login
> -----------------------------------
>
>                 Key: OFBIZ-925
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-925
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: all i think 
>            Reporter: Krzysztof Podejma
>            Priority: Trivial
>
> in framework/security/entitydef/entitymodel.xml/UserLoginHistory are pkfields 
> <prim-key field="userLoginId"/> and <prim-key field="fromDate"/> so if you'r 
> fast in logout/login action, you can get nasty error ;]
> the best workaround i found is to add  <prim-key field="visitId"/> because 
> visitId seems to be unique for this entity.
> Regards
> Krzysztof Podejma

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to