[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities should be more flexible
Put a request in jira. Note that Seam Generate Entities creates a Hibernate Code generation configuration which you can copy and adjust just as much as you want and there by have full control. But sure, having the option of saying I only want model makes sense (generate-ui is possibly by just using existing entities) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217045#4217045 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217045 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities should be more flexible
worst case scenario we delete the unrequired files i guess... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4217042#4217042 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4217042 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities crashes
I had the same issue, and i found the solution: I, simply, changed the classpath to my workspace form c:/Document and Settings/workspace to c:/workspace. In fact, I noticed this exception : Illegal character in path at index 18: file:/C:/Documents and Settings/Pat/My Documents/eclipse workspaces/MySeamProject2-ejb/build/classes And I remouved all the 'spaces' in my calsspath. And it work fine now View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194240#4194240 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194240 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities
JDK 1.6 causes this in eclipse. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183015#4183015 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183015 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities
It works perfectly. Thanks!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151418#4151418 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151418 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities
sorry, this line the update is done we you re-deploy the ear file View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151230#4151230 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151230 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities
Do you mean this line: ? Do you know when the DB update happens? Right after I save my change in the entity class, e.g. Person.java? Thanks Roger View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151210#4151210 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151210 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities
check this line in the persistence.xml by default is "create-drop" you should use update, validate or none View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151199#4151199 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151199 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities
I am newbie to jboss and I was struggle on the same issue yesterday. Somehow I found in the forum that to add hibernate.default_schema= line in the hibernate-console.properties will fix the problem. I tried and it worked. Now, I have another question. I try to use "New -> Seam Entity." The java code is generated with default attributes (id, version, and name) are created and the table is also created in DB beautifully. However, when I like to modify or add attributes (like change name to first name,) I stuck. I don't know how to make the code change to update the table in DB. Or, I just have manully alter the table accordingly? Thanks Roger View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151197#4151197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151197 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities crashes
Thanks Max. No, I have not tried the other one. I ran into too many problems trying to get it configured. Perhaps there aren't really that many bugs, but I seem to hit all of them. And I have run out of time now. I really don't have time to be trying this and that hoping it will work. I did that for 2 weeks. I was really hoping for it to work right out of the box. This may not be your issue entirely, but unfortunately it is my reality. As I said, I'll check back in about 6 months (maybe sooner if I have time). But right now, I need to get things done and I really can't mess with these tools anymore. Thanks for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144496#4144496 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144496 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities crashes
1) Yes, Hibernate JPA had an issue with spaces thus we recommend putting your workspace in a non-space path. Yes, I know it sucks and MyEclipse would have the same problem if they supported JPA queries - the bug is fixed in later versions of Hibernate JPA, we just need to get those fixes integrated. 2) Did you try out the AS adapter we actually told you would work or are you using the one we confirmed has a bug ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144375#4144375 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144375 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities
:) the world is a better place again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143883#4143883 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143883 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities
max, forget my last comment I just needed a little patience, IT WORKS !!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143877#4143877 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143877 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities
mkayreally weird then. I don't see any freezes herehow big is the schema ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143872#4143872 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143872 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities
thanks max for replay I commented out the catalog ( I was deploying with this config with no problem before) and I put the ra to uppercase same problem, eclipse is freezing again (right now) maybe I'm missing some config in somewhere regarding to hibernate or maybe JPA I saw a JPA definition in the hibernate config view when I right click in my project View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143868#4143868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143868 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities
2 problems there: 1) oracle does not have catalogs so don't set it. 2) oracle is casesensitive when it comes to querying for metadata hence default_schema should probably be RA and not ra View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143620#4143620 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143620 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities
I have the same problem with oracle9i , this is my persistence.xml generated file | | | http://java.sun.com/xml/ns/persistence"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"; | version="1.0"> | | | org.hibernate.ejb.HibernatePersistence | java:/Arami-SeamDatasource | | | | | | | | | | | | | and this is the hibernate-console.properties generated file | #File used by hibernate tools to override and other container specific settings in persistence.xml | hibernate.connection.password=ra | hibernate.connection.username=ra | hibernate.connection.driver_class=oracle.jdbc.OracleDriver | hibernate.dialect=org.hibernate.dialect.Oracle9iDialect | hibernate.connection.url=jdbc:oracle:thin:@develop:1521:sofia | | hibernate.connection.provider_class=org.hibernate.connection.DriverManagerConnectionProvider | hibernate.datasource= | hibernate.transaction.manager_lookup_class= | my eclipse is 3.3 with jboss 4.2 and jboss-tools 2.0.1GA the oracle version is 0.2.1.0 - 64bit production with partitioning, olap and data mining options jserver relaease 9.2.0.1.0 production with jdbc 10.1.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143561#4143561 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143561 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities
Hi guys, The trick with oracle is to remember to set hibernate.default_schema and maybe hibernate.default_catalog to limit which schemas we will read to the one you are interested in. We should have a better ui for selecting tables...right now we only have that if you use the Hibenrate tools code generation ui directly and create a reveng.xml file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133903#4133903 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133903 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities with PostgreSQL
setting default_schema must work. Where are you setting it ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133867#4133867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133867 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities
Hello, do i understand it correctly, 'Seam Generate Entities' does work for your databases, except for oracle? We have used it for generating entities out of our Oracle Express database. And we have it successfully used against Oracle 9. It was not an easy task for us to setup the database connection in a fully functinal way. But we succeded. In what i can remember, we have first tried to setup the oracle connection so that the 'hibernate' perspective does work in eclipse. In this perspective you get helpful information if something goes wrong. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132396#4132396 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132396 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities
Well, is this a common problem everybody knows how to fix it or am I the only one here? Is there any other forums or web sites I might get more response on this issue? Any words on this would be really appreciated. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132269#4132269 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132269 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user