[JBoss JIRA] Closed: (JBIDE-265) Need a recepie for creating a j2se entity manager project using reversed ejb3 entities
by Max Andersen (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-265?page=all ]
Max Andersen closed JBIDE-265.
------------------------------
Resolution: Out of Date
> Need a recepie for creating a j2se entity manager project using reversed ejb3 entities
> --------------------------------------------------------------------------------------
>
> Key: JBIDE-265
> URL: http://jira.jboss.com/jira/browse/JBIDE-265
> Project: JBoss Tools
> Issue Type: Feature Request
> Components: ejb3, Hibernate
> Affects Versions: 1.5 Final
> Reporter: Scott M Stark
> Assigned To: Max Andersen
>
> A test usage of the hibernate tools I'm having trouble putting together is to reverse a database schema into ejb3 style annotated pojos, and put together the resulting hibernate.cfg.xml + entities with a simple main that uses that j2se compatible EntityManager to work with the generated entities. The persistence.xml just references the hibernate.cfg.xml:
> <entity-manager>
> <name>manager1</name>
> <properties>
> <property name="hibernate.ejb.cfgfile" value="/cfg/hibernate.cfg.xml"/>
> </properties>
> </entity-manager>
> and the main driver is trying to create an entity using one of the generated MsUser ejbs:
> import javax.persistence.EntityManager;
> import javax.persistence.EntityManagerFactory;
> import javax.persistence.Persistence;
> public class PopulateTables
> {
> public static void main(String[] args)
> {
> // Use persistence.xml configuration
> EntityManagerFactory emf = Persistence.createEntityManagerFactory("manager1");
> EntityManager em = emf.createEntityManager();
> MsUser user = new MsUser();
> MsUserId id = new MsUserId("jduke", "jduke", "theduke");
> user.setId(id);
> em.persist(user);
> em.close();
> emf.close();
> }
> }
> Step 1 would just be a tutorial/recepie on how to setup such a project.
> Step 2 would be to directly support such a project skeleton such that I can just hit "reverse to jsr-220 j2se application" button in the tools dialog to pull these artifacts together.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 12 months
[JBoss JIRA] Closed: (JBIDE-367) Eclipse dependancy versions are too strict/narrow
by Max Andersen (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-367?page=all ]
Max Andersen closed JBIDE-367.
------------------------------
Resolution: Out of Date
I assume this is outofdate - if not please reopen or create new issue.
> Eclipse dependancy versions are too strict/narrow
> -------------------------------------------------
>
> Key: JBIDE-367
> URL: http://jira.jboss.com/jira/browse/JBIDE-367
> Project: JBoss Tools
> Issue Type: Bug
> Components: Build/Releng
> Affects Versions: 2.0.0.Beta1
> Reporter: Darryl Miles
> Assigned To: Marshall Culpepper
> Priority: Minor
>
> Release versioning is too strict and does not allow compatible newer versions of WTP/EMFXSD to be installed.
> Related URLs:
> http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87879&postdays=0...
> http://opensource.atlassian.com/projects/hibernate/browse/HBX-709
> This is the error list for after I upgraded WTP to the current I-build for this week. Note I have all of these features/plugins installed but slightly newer versions of them the problem is the features.xml for the JbossIDE product is too strict insisting in the exact version it was built with. When it should really make that the oldest version it will accept.
> Plug-in "org.eclipse.wst.xml.core" version "1.1.0.v200606142000" referenced by this feature is missing.
> Plug-in "org.eclipse.wst.xml.ui" version "1.0.100.v200606141450" referenced by this feature is missing.
> Plug-in "org.eclipse.wst.sse.core" version "1.1.0.v200606141450" referenced by this feature is missing.
> Plug-in "org.eclipse.wst.sse.ui" version "1.0.101.v200606191900" referenced by this feature is missing.
> Plug-in "org.eclipse.wst.common.uriresolver" version "1.1.0.v200606130645" referenced by this feature is missing.
> Plug-in "org.eclipse.wst.validation" version "1.1.0.v200606130645" referenced by this feature is missing.
> Plug-in "org.eclipse.wst.common.frameworks" version "1.1.0.v200606130645" referenced by this feature is missing.
> Plug-in "org.eclipse.wst.common.ui" version "1.1.0.v200606142122" referenced by this feature is missing.
> Plug-in "org.eclipse.emf.ecore" version "2.2.0.v200606271057" referenced by this feature is missing.
> Plug-in "org.eclipse.emf.ecore.xmi" version "2.2.0.v200606271057" referenced by this feature is missing.
> Plug-in "org.eclipse.jst.jsp.core" version "1.1.0.v200606191945" referenced by this feature is missing.
> Plug-in "org.eclipse.jst.jsp.ui" version "1.1.0.v200606191945" referenced by this feature is missing.
> Plug-in "org.eclipse.wst.html.core" version "1.1.0.v200606141450" referenced by this feature is missing.
> Plug-in "org.eclipse.wst.html.standard.dtds" version "1.0.0" referenced by this feature is missing.
> Plug-in "org.eclipse.wst.html.ui" version "1.0.100.v200606191945" referenced by this feature is missing.
> Plug-in "org.eclipse.wst.css.core" version "1.1.0.v200606141450" referenced by this feature is missing.
> Plug-in "org.eclipse.wst.css.ui" version "1.0.100.v200606141450" referenced by this feature is missing.
> Plug-in "org.eclipse.wst.javascript.core" version "1.0.0.v200606141450" referenced by this feature is missing.
> Plug-in "org.eclipse.wst.javascript.ui" version "1.0.0.v200606141450" referenced by this feature is missing.
> Plug-in "org.eclipse.wst.common.environment" version "1.0.100.v200606130645" referenced by this feature is missing.
> Plug-in "org.eclipse.emf.common" version "2.2.0.v200606271057" referenced by this feature is missing.
> Plug-in "org.eclipse.wst.common.emf" version "1.1.0.v200606130645" referenced by this feature is missing.
> Plug-in "org.eclipse.wst.common.emfworkbench.integration" version "1.1.0.v200606130645" referenced by this feature is missing.
> Plug-in "org.eclipse.emf.edit" version "2.2.0.v200606271057" referenced by this feature is missing.
> Plug-in "org.eclipse.xsd" version "2.2.0.v200606271057" referenced by this feature is missing.
> Plug-in "org.eclipse.wst.common.project.facet.core" version "1.1.0.v200606130645" referenced by this feature is missing.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 12 months