Sure it's easy. It's so easy that Hibernate doesn't even do it for you.
Code:
public class Issue ...
{
public Issue()
{
setCustomer(new Customer());
}
...
}
In your hibernate mapping for Customer, set the id generator to "foreign". In your hibernate mapping for Issue, set the cascade on the one-to-one to Customer to "all", or at least "save". Then when session.save(issue) is called, hibernate saves the issue, cascade-saves the customer, and gets the customer id from the property at the other end of the one-to-one (the id, of course).